Repository navigation
feat(fleet): engine scale verdicts, operator scale inventory, terminal scale WorkItems - #1011
Merged
Merged
Conversation
…entory, scale items end terminal Scaling is a decision, so the engine owns it. The always-allow AdmittedScalePolicy is removed and the host binds EngineScalePolicy, which sends one scale_intent Decide through send_decide behind pin-lag (a pinned release without the question refuses UNAVAILABLE before any send; the kind is filed as an engine ask). fleet.scale.inventory.set is one governed write (admin scope, plan confirmation, replay owner the engine node write) that sets the Scale* graph nodes at the next revision, refusing a stale base or an invalid inventory. The observation write now carries the lease and commits the WorkItem succeeded or failed under the claim, and the last attempt keeps its claim so that commit can happen. fleet.reconcile.run is tested through the served invoke path. Spec: ARBORA-FLEET-R024.14, ARBORA-FLEET-R024.15, ARBORA-FLEET-R024.16, ARBORA-FLEET-R024.17, ARBORA-FLEET-R024.18 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the always-allow AdmittedScalePolicy: the host now binds EngineScalePolicy, one scale_intent Decide through send_decide behind pin-lag (refuses UNAVAILABLE on a pinned release without the kind; the kind is filed as an engine ask).
Adds fleet.scale.inventory.set, one governed write (admin scope, plan confirmation, replay owner the engine node write) that sets the Scale* graph nodes at the next revision and refuses a stale base or an invalid inventory.
The observation write now carries the lease and commits each scale WorkItem succeeded or failed under the claim; the last attempt keeps its claim so the commit can happen.
fleet.reconcile.run and the inventory write are tested through the served invoke path.
Spec: ARBORA-FLEET-R024.14, R024.15, R024.16, R024.17, R024.18
🤖 Generated with Claude Code