GeezerVison is showing github.com — feat(fleet-queue): audit manual parked claims by dezren39 · Pull Request #15645 · developing-today/code
Conversation
dezren39
commented
Nov 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- Add
--manual-override REASON for by-ID claims; validate the single task, non-empty reason, and incompatible transfer, handoff, or batch options before request handling.
- Allow only under-cap parked rows through a conditional update, keep attempt history, clear active wait fields, and preserve the prior park state in task and claim-event audit data.
- Document the behavior and add store-backed audit and no-override refusal tests. Add the existing locked
tiny_http crate as a dev dependency so the queue-broker test module compiles.
Evidence
- Before:
dezren39/fleet#45848726536 reached Rust compilation and exposed the existing missing tiny_http dev dependency, so it did not reach the assertion.
- After:
cd pkgs/fleet && cargo +1.99.1 test -p fleet-queue --features queue-broker manual_override passed on Fleet run 45852119135: 3 passed, 0 failed, including the audit and no-override refusal oracles.
git diff --check passes.
Merge Danger
Medium. The broker mutation is limited to a reason-bearing by-ID claim of a parked row below its attempt cap, with a compare-and-swap guard on the recorded park state. Tests use the seeded fake backend; no production queue task was mutated.
Refs #9178
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
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:
5618f2e8-3553-4abe-be4d-73ab4df0b959
- 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.
This was referenced Nov 26, 2026
…421)
Resolve conflicts in pkgs/fleet/Cargo.lock and pkgs/fleet/crates/fleet-queue/Cargo.toml by taking main's versions: main commit 163dae2 (#15677) already added the identical tiny_http dev-dependency entry this PR added, so the PR's entry is a duplicate. All other PR files are unchanged on main and are carried forward as-is.
…task 24421)
The Git-API merge commit 6eb14cc took the PR version of claim.rs outright; main had also changed claim.rs since the merge-base (8fd0812) with the #15070 route-declaration enqueue logic. This commit replaces claim.rs with a verified three-way merge (git merge-file, clean, no markers): main's #15070 additions and this PR's manual-override audit changes are both present.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1 — state: merged; lane FA (queue task 24421), 2026-11-26.
Shepherded to merge: merge commit 8f0a0920d5cadd5e01879bd58b08e56b100a89e7 (2026-11-26T22:31:36Z).
Premise/ownership check: no labels, no held/user gate, no competing claim; the only review comment was a CodeRabbit rate-limit notice — no review findings, no reviews, no review comments to answer.
Branch refresh (was 558 behind, mergeable_state dirty): conflicts were only where main had also changed files since the merge-base 8fd0812a:
Refresh landed via the Git API (merge commit 6eb14cc2 + correction commit 650a2600), no force push. After the refresh, the diff against main was exactly this PR's original patch in every file (claim.rs 70/13, lifecycle.rs 234/0, commands_lifecycle.rs 19/0, support.rs 4/3, queue-core.md 12/1, Cargo files zero diff) and mergeability re-checked clean immediately before merging.
Verification: author's focused run stands for the PR code — forks/fleet run 45852119135, cargo test -p fleet-queue --features queue-broker manual_override: 3 passed. Post-merge main CI: fleet-smoke run 45905351758 on the merge commit. (A fresh fleet Actions exec re-run was attempted and blocked from the sandbox by a TLS UnknownIssuer error on workflow dispatch; named here per the fallback rule — main-branch CI is the standing verification venue for this repo.)
Disposition of linked issue: PR body says Refs #9178 (not Closes); #9178 remains open for its other sections — its §2 under-cap parked-claim checkbox was already marked done citing this PR.
|
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
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|