Repository navigation
refactor(fleet-queue): split lifecycle.rs park/wait cluster into lifecycle_park.rs (#16255 slice 9) - #16544
Merged
developing-today-fleet[bot] merged 1 commit intoNov 28, 2026
Conversation
…cycle_park.rs (#16255 slice 9) Move the wait-condition cluster (wait_kind, wait_floor_seconds, apply_wait_floor, apply_time_condition_floor, park_required_budget, manual_override_park_cover, same_wait_condition, verb_park) from turso_queue/lifecycle.rs (2858 production lines) into the new sibling turso_queue/lifecycle_park.rs (418 production lines), byte-identical apart from the module header. lifecycle.rs drops to 2453 production lines, under the 2500 production-line guard limit. Parent turso_queue.rs declares + re-exports the new module and adds it to the test_source() oracle list, so all crate paths are unchanged.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
3 tasks
developing-today-fleet
Bot
deleted the
lane/0437f-16255-lifecycle-park
branch
November 28, 2026 11:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Slice 9 for #16255 (production-line-guard): split the park/wait cluster out of
turso_queue/lifecycle.rs.What moved: the wait-condition cluster —
wait_kind,wait_floor_seconds,apply_wait_floor,apply_time_condition_floor,park_required_budget,manual_override_park_cover,same_wait_condition(private, only used byverb_park), andverb_park— 408 lines frompkgs/fleet/crates/fleet-queue/src/turso_queue/lifecycle.rsinto the new siblingturso_queue/lifecycle_park.rs, byte-identical apart from the module header, mirroring thelifecycle_limits.rssplit (slice 3, PR #16294). Parentturso_queue.rsdeclares + re-exports the new module and adds it to thetest_source()oracle list afterlifecycle_limits.rs, so every crate path is unchanged and the source-content oracles keep the moved text.Guard counts (repo's own
.github/scripts/check-production-line-limit.sh, run on the exact file contents):lifecycle.rs: 2858 → 2453 production lines (under the 2500 limit — off the over-limit list)lifecycle_park.rs: 418 production linesGuard progress: 10 → 9 over-limit files remain after this slice (fleet-cert cli.rs/engine.rs, turso_queue/core.rs, id-cli serve.rs, id-core world_presentation.rs, id-worlds world_session/mod.rs + world_ssh.rs, id foreign_libsql.rs, pm-stack edge.ts) — each needs its own slice before the main guard run goes green; #16255 stays open.
Authored via the Git-API contents route (no clone), lane 0437-F, queue task 26269. Verification: fleet Actions run for the exact head follows in the PR comments.
{ "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-28T10:48:46Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": null, "model": null, "lane_start_issues": [], "workspace_ref": null, "auth_subject": "archer", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.