You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add durable job-capacity admission before scale-set polling #961
Extend #955 with durable job-capacity ownership before scale-set session creation or positive polling. Depends on #960 and #959. Implementation: #962. Contribution owner: @promptinprod.
Proposed behavior
Explicit experimental opt-in; preserve default and VM-only protocol behavior.
Reserve a persistent capacity credit before advertising new capacity.
Record request identities and acquisition intent before external effects.
Keep ambiguous outcomes charged; do not blindly retry uncertain acquisition.
Process known lifecycle events while new admission is closed.
Bind the existing credit to VM creation, and require terminal evidence plus confirmed cleanup before reuse.
The first implementation supports one permanently owned slot per set and requires explicit fresh-set approval. It does not automatically transfer or retire credits. A lost positive poll can park further admission across restart pending authoritative reconciliation; zero capacity is not a proven immediate revocation barrier.
Synthetic broker/provider fixtures and isolated database tests cover concurrency, replay, stale health, drain, budget reduction and migration. Real-service assignment/recovery behavior remains a separate validation requirement.
Activity