Skip to content

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 into
mainfrom
lane/0437f-16255-lifecycle-park
Nov 28, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
lane/0437f-16255-lifecycle-park

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

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 by verb_park), and verb_park — 408 lines from pkgs/fleet/crates/fleet-queue/src/turso_queue/lifecycle.rs into the new sibling turso_queue/lifecycle_park.rs, byte-identical apart from the module header, mirroring the lifecycle_limits.rs split (slice 3, PR #16294). Parent turso_queue.rs declares + re-exports the new module and adds it to the test_source() oracle list after lifecycle_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 lines

Guard 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-bot with what you need.

…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.
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

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: 89149711-13d2-4d81-96d1-fbb65a1578e8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

@developing-today-fleet
developing-today-fleet Bot merged commit 86353c7 into main Nov 28, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the lane/0437f-16255-lifecycle-park branch November 28, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants