Repository navigation
fix(fleet-queue): bound the #14653 oracle's verb_checkpoint slice at the next top-level item - #16779
Conversation
…the next top-level item (#16774) verb_checkpoint is now the last pub(crate) fn in lifecycle.rs; the oracle sliced to the next verb, found none, and ran to EOF, sweeping the #[cfg(test)] modules' lease_until fixtures into the judged body. The test failed on unmodified main while the guarded invariant (verb_checkpoint writes progress/updated_at only) is intact. Bound the extraction at the earliest of the next verb or the first #[cfg(test)] module, and assert the progress write is present so the slice can never pass vacuously.
|
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 56 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. |
|
Verification dispatched (lane 0647-L09), same command both runs —
Merge on branch PASS + CLEAN/MERGEABLE at this head. |
|
Verification round 1 (runs 46264887230 / 46264892088) failed in the harness, not the code: the executor runs the command under |
Closes #16774. Refs #14653, PR #16166.
Problem
lease_renewal_guidance_names_heartbeat_only_14653extractsverb_checkpoint's body fromturso_queue/lifecycle.rsby slicing to the nextpub(crate) fn. Since the file reorganisation,verb_checkpointis the last verb in the file — the slice ran to EOF and swept the#[cfg(test)]modules'lease_untilSQL fixtures into the judged body, so the oracle fails on unmodified main (sole failure in run 46250286869's musl static leg, 982 passed / 1 failed, attributed by lane 0305-W-A). The guarded invariant is intact: the verb's own body writesprogress/updated_atonly.Change (test-only, one file)
pub(crate) fnor the first#[cfg(test)]module, so the oracle judges the production body only.UPDATE tasks SET progress = ?write, so it can never pass vacuously on an empty extraction.Verification
Remote dispatch at exact head + an unmodified-main control with the same command (results posted on the PR). This fires the wake recorded on PR #16166: with the oracle repaired on main, that branch refreshes and re-dispatches.
{ "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:56:44Z", "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.