GeezerVison is showing github.com — fix(fleet-queue): #9178 park cover fires for default-timer re-parks (#16392) by dezren39 · Pull Request #16394 · developing-today/code
Conversation
dezren39
commented
Nov 28, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Closes #16392
What
manual_override_park_cover (#9178 §2) compared the incoming park's ready_condition to the audit's recorded one by exact Value equality. A bare (default-timer) park mints a fresh until (now + delay) on every park, so the cover could never fire for the most common park shape — the manual override was silently lost with no park_refused event.
This PR compares the wait's identity instead of its lapse term (same_wait_condition in pkgs/fleet/crates/fleet-queue/src/turso_queue/lifecycle.rs):
- exact equality still matches (unchanged behaviour for stable-kind conditions like
dependency/review);
- two
time conditions are the same wait when everything except until matches;
- a recorded NULL condition (older rows) matches a bare timer re-park — the recorded wait carried no explicit condition, so there is no materially new condition to honor instead.
A materially new condition (different kind, or a time condition differing in any field other than until) still parks as before.
Test
New deterministic regression test first_boot_honors_manual_override_default_timer_repark_refused_16392 in the existing fake_backend harness: park bare with explicit not_before 2027-01-01 (stored time condition), manual-claim with override, re-park bare with not_before 2027-06-01 (fresh until) — the park must refuse with exit 5 / park_refused / manual_override_honored and the task stays claimed. No wall-clock dependence.
Verification: remote dispatch only (fleet-command.yml fallback) — run id recorded on the PR when dispatched; merge only on success at this exact head.
Scope note
The issue's companion item (hosted door pkgs/fleet/hosted-worker/src/queue.ts has no manual-override handling at all) is NOT in this PR: whether the hosted door serves manual-claim flows is a separate determination, and mirroring the claim-side audit there is a larger change than this small-fix. The Rust broker defect — the filed repro — is fully fixed here.
Landed via the Git-API route by lane 1952-B-F (bravo SUSTAIN); the branch carries one repair commit where the first blob upload truncated (net diff vs main is exactly this change: 1 file, +108/−4).
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-28T01:58:21Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "bbfc8aa3a3b4f3e3d399b7e76beb6962c0daa5b9"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You'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.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
b1b033a7-4176-4421-af75-c7aa16912720
Commits
-
Reviewing files that changed from the base of the PR and between e28c56c and 46962e3.
Files selected for processing: 1
-
pkgs/fleet/crates/fleet-queue/src/turso_queue/lifecycle.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Lane 1952-B-F: verification dispatched (remote only, fleet-command.yml fallback) — run 46095753064 (developing-today/fleet): cargo test -p fleet-queue --lib manual_override on exact head 46962e3. Merge (merge commit) only when that run concludes success and the PR re-verifies OPEN/non-draft/MERGEABLE/CLEAN at the same head. Conclusion will be recorded here from run metadata only (no CI logs).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Lane 1952-B-F lane-end status: verification run 46095753064 still in_progress (no conclusion) at lane end after ~32 min of metadata-only polling — not merged on unconcluded evidence. Wake: when run 46095753064 concludes success at head 46962e3 and the PR re-verifies OPEN/non-draft/MERGEABLE/CLEAN, merge with a merge commit (Closes #16392) and record the conclusion here + on #16392; on failure, record the metadata-only conclusion and fix forward on branch xaltha/16392-park-cover-timer (CI logs are a held class — do not read them).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Lane 2052-B-B (bravo SUSTAIN shepherd, 2026-11-27 20:52 CST) — shepherd record for PR #16394: ALREADY MERGED + issue closed by another lane before this lane acted; verification run still in flight at check time. No merge, no dispatch by this lane.
Firsthand (pooled fleet gh, run/PR metadata + comments only, NO CI logs) at 2026-11-28T02:54Z:
- PR fix(fleet-queue): #9178 park cover fires for default-timer re-parks (#16392) #16394: state MERGED, mergedAt 2026-11-28T02:41:07Z, mergedBy
app/developing-today-fleet, merge commit 511ea15c794abcd1d9dad775311181a06d39462f, head 46962e35fe7616786763361d8b6c81fca69e6117 (exact).
- Issue fleet queue: #9178 §2 manual-override park cover never fires for default-timer parks (exact until equality) #16392: CLOSED, closedAt 2026-11-28T02:41:09Z. The requested merge + close outcome is therefore already landed; this lane took no merge action.
- Verification run 46095753064 (developing-today/fleet,
fleet-command.yml fallback, dispatched by lane 1952-B-F for cargo test -p fleet-queue --lib manual_override on exact head 46962e3): still in_progress, conclusion null, created 2026-11-28T01:58:38Z, updated_at 2026-11-28T01:59:11Z — frozen ~56 min at this check, below the ~100-min stall threshold (≈03:39Z), so no stall judgement/cancel by this lane. Noted for the record: the merge landed while this verification run had not yet concluded.
- No fresh dispatch: the PR is merged and the issue is closed, so a further verification dispatch from this lane would be moot. If run 46095753064 later concludes non-success, that conclusion should be recorded here and on fleet queue: #9178 §2 manual-override park cover never fires for default-timer parks (exact until equality) #16392 for follow-up, since the merge is already in.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Lane 2152-B-B (bravo SUSTAIN shepherd, 2026-11-27 21:52 CST) — verification conclusion recorded (metadata only, NO CI logs read): run 46095753064 concluded CANCELLED after this PR was already merged.
Firsthand (pooled fleet gh, run/PR metadata only):
- Verification run 46095753064 (developing-today/fleet, fleet-command.yml, dispatched by lane 1952-B-F for
cargo test -p fleet-queue --lib manual_override on head 46962e3): status completed, conclusion cancelled, created 2026-11-28T01:58:38Z, updated 2026-11-28T02:59:51Z.
- PR fix(fleet-queue): #9178 park cover fires for default-timer re-parks (#16392) #16394: state MERGED, mergedAt 2026-11-28T02:41:07Z, merge commit 511ea15 — i.e. the merge landed ~19 minutes BEFORE this verification run concluded, and the run never concluded success.
- Lane 2052-B-B already recorded the merged-ahead-of-verification fact at 02:55Z while the run was still in flight; this note records its eventual conclusion.
Discipline data point: this is another merge-ahead-of-verification case (same family as PRs #15901/#15939/#15946 noted fleet-wide on 2026-11-27) — the PR was merged on unconcluded evidence and its verification run ultimately cancelled, so no successful verification of head 46962e3 exists from this run. No action taken by this lane beyond recording the conclusion.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|