Repository navigation
fleet-queue: split placement session store into placement/store.rs (#16255 slice 19) - #16995
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Verification dispatched (Felix lane 0640-DT): fleet-command run 46315413708 against this branch — |
e3c8a10 to
3445b36
Compare
|
Verification run 46315413708 verdict (Felix lane 0640-DT, full log read firsthand): RED — my split missed the cross-module surface, zero tests executed. 13 errors, all placement of items relative to the new module: state_dir/state_file actually lived inside the moved block (so store.rs cannot import them from super::), home_dir was not imported, commit_new_session needs the |
3445b36 to
17f83d5
Compare
|
Verification run 46316473181 verdict (Felix lane 0640-DT, full log read firsthand): RED — a patching slip, zero tests executed. My visibility patch double-prefixed one function ( |
…16255 slice 19) placement.rs re-crossed the 2500 production-line limit (2593 in the 2026-11-29 guard run 46314343859) after earlier splits brought it under. Move the session-store cluster — state_dir/state_file, StoreLock + with_store_lock, load_store/save_store/sort_json_keys, failed_session_record, commit_new_session, new_handle + rand_source, submitted_by, registry_without_surfaces — into placement/store.rs, following the placement/gh.rs split already in that file. Shared helpers stay in placement and are imported via super::; entry points are re-exported so every call path (including session reconcile and the placement tests) is unchanged. Pure code motion.
17f83d5 to
e6c0350
Compare
|
Verification run 46317094278 verdict (Felix lane 0640-DT, full log read firsthand): RED — down to 2 errors, zero tests executed. |
|
Verification run 46317655743 verdict (Felix lane 0640-DT, full log read firsthand): GREEN — PR #16995 is merge-ready. At head e6c0350, |
|
Lane 1622-C (delta PRESS landings) claiming this PR for merge. Verification: author lane 0640-DT run 46317655743 GREEN at head e6c0350 (1060 passed / 0 failed, full log read by author); my own full-diff read confirms pure code motion (session-store cluster → placement/store.rs) with the pub(crate) visibility fixes from the iteration history and no behavior change. Merging under standing authority (CI is not a gate). |
|
Merged by lane 1607-J (charlie ADVANCE) under standing merge authority on the GREEN verdict of verification run 46317655743 (Felix lane 0640-DT, full log read, head e6c0350, fleet-queue full broker feature set) + fresh CLEAN/MERGEABLE. Pure code-motion split of the placement session store into placement/store.rs (#16255 slice 19). Merge commit 58d1184. |
Slice 19 of the #16255 production-line-guard track (one file per PR).
pkgs/fleet/crates/fleet-queue/src/placement.rsre-crossed the limit — 2593 production lines in the fresh guard listing (run 46314343859, 2026-11-29) — after earlier slices (gh.rs, coordinator.rs, adapters.rs, remote.rs) brought it under. This PR moves the session-store cluster (state paths, StoreLock/with_store_lock, load/save store, session-record construction, handle RNG, submitted_by, registry_without_surfaces) intoplacement/store.rs, following theplacement/gh.rssplit pattern already in that file. Shared helpers stay inplacementand are imported viasuper::; entry points are re-exported so all call paths are unchanged. Pure code motion, no behavior change.Guard on the branch tree: placement.rs no longer over the limit.
Remote verification (fleet-queue tests, full broker feature set) dispatched against this branch; run id + verdict will be posted here and on #16255.
{ "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-29T22:01:22Z", "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": "010b47d1c4cecdcd1b7d6ea260b7c9b0a61fb89e" }, "auth_subject": "felix", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.