Skip to content

A running-slot reservation can leak when the warm pool claims a device between a failed boot and its destroy #401

Description

@V3RON

Found in the review of PR #394 by reading the code; not reproduced. main has the same code.

src/core/lease-acquisition-coordinator.ts:844-858: a failed boot-for-lease releases its boot claim (src/core/managed-device-lifecycle.ts:251) before destroy claims the device again in a later decision. If the warm pool's boot (src/core/warm-pool/converger.ts:189) claims the shut-down device in between, destroy returns undefined, no fence is taken, and the waiter's running-slot reservation is not released until the daemon restarts.

Written by an agent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:readyAn agent may fix it.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions