Repository navigation
Conversation
A marker naming an ended session blocks every domain invocation from that worktree, and bare bind cannot self-heal: resolution fails before anything is persisted. --force removes the marker without validating it, then resolves normally, so the worktree unblocks in one command. Part of #14454
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This branch has not been deployed
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.
Part of #14454.
A
.fleet-session-idmarker naming an ended session blocks every Fleet domain invocation from that worktree (main.rsdispatcher fails closed before the domain runs), and barefleet session bindcannot self-heal — resolution fails before anything is persisted.This slice adds
--forcetofleet session bind: it removes the worktree marker without validating it, then resolves normally (rebinds a supplied/env identity, else unattributed). Explicit flag rather than auto-clear on bare bind, because a liveness check answers false for unverifiable sessions too (unreachable server; connect builds without the probe) — only the operator asserts the binding is dead.Evidence
force_clears_before_resolving_and_rebinds_the_supplied_identity,stale_marker_still_fails_closed_without_force_and_clear_is_not_run,force_clear_failure_blocks_session_initialization,clear_marker_at_removes_the_marker_and_ignores_a_missing_one, plus strict parser cases.cargo test -p fleet --bin fleet: 142 passed, 0 failed.fleet queue listdied with the exact issue error (stale .fleet-session-id refers to ended or unverifiable session ...); afterfleet session bind --force(exit 0, marker gone) the same call reached the broker and listed tasks.--force --session-id <live>rewrote the marker in place.USAGE,pkgs/fleet/book/reference/builtins.md,pkgs/fleet/README.mdimpl(fleet): session state — session id in env + worktree pwd-file #9075 section. TS hosted transcription untouched (resolver semantics unchanged;--forceis CLI-layer, no hosted bind CLI exists).Worker does not merge. The hatch-side marker still needs
fleet session bind --force(orrm .fleet-session-id) run on that machine after this lands.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.