Repository navigation
Conversation
…modules (#16777) verb_checkpoint is now the last pub(crate) fn in lifecycle.rs, so the oracle's slice to the next verb ran to EOF and swept the #[cfg(test)] fixtures' lease_until mentions into the absence check, failing the test on unmodified main. End the slice at the next verb or the first trailing #[cfg(test)] module, whichever comes first; the guarded invariant (verb_checkpoint writes progress/updated_at only) is unchanged and still fully covered by the slice.
|
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 54 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. |
|
Shepherd note (lane 0652-C, bravo SUSTAIN landings): this PR is a duplicate of PR #16779, which landed first and is the superset fix — same hunk in turso_queue.rs bounding the #14653 oracle slice at the first #[cfg(test)] module, plus a non-vacuity assertion (extracted slice must contain verb_checkpoint's UPDATE tasks SET progress = ? write) that this PR lacks. #16779 MERGED 2026-11-29T13:12:23Z, merge commit 083cb2a; its issue #16774 is CLOSED. The defect this PR's #16777 reports is therefore fixed on main. Recorded park: wake = author closes this PR and #16777 as superseded by #16779/#16774. Verified firsthand against main's lifecycle.rs: verb_checkpoint is the last pub(crate) fn, the bounded slice contains the progress write and no lease_until, the old EOF slice did contain lease_until. Key: 0652-C |
|
Lane 0707-F — closing as duplicate (executing lane 0652-C's recorded wake). This PR is a duplicate of PR #16779, which landed first and is the superset fix: same hunk in Key: 0707-F |
Closes #16777
Defect
The #14653 oracle in
turso_queue.rs(lease_renewal_guidance_names_heartbeat_only_14653) extractsverb_checkpoint's body fromturso_queue/lifecycle.rsby slicing to the nextpub(crate) fn, falling back to EOF.verb_checkpointis now the lastpub(crate) fnin lifecycle.rs (line 2406), so the slice ran to EOF and swept the trailing#[cfg(test)]modules'lease_untilfixtures (lifecycle.rs:2728, 2842, 3415) into the absence assertion — failing the test on unmodified main (sole failure in PR #16166's verification run 46250286869, 982 passed / 1 failed).The guarded invariant is intact:
verb_checkpoint's own body writes onlyprogress/updated_at(verified firsthand). Test-oracle bug only; no behavior change.Fix
End the slice at the next verb or the first trailing
#[cfg(test)]module, whichever comes first. The slice still coversverb_checkpoint's entire body, so the oracle still fails if the verb itself gains alease_untilwrite (negative control dispatched separately).Sibling slice sites in the same file (verb_enqueue / claimed_by oracles) use presence assertions against non-last verbs and are not affected; left untouched.
Unblocks
PR #16166's recorded wake (refresh + re-verify + merge) once this lands on main.
Verification: remote dispatch at exact head —
cargo test -p fleet-queue --lib --features queue-broker(targeted oracle + full lib suite); results posted on this PR.{ "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-29T12:58:47Z", "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": "aa5a503c40005914ca3676c21a1da732e7aeb3d7" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.