Skip to content

Migration M4: pm-stack off the checkout #15827

Backlog

Description

@developing-today-fleet

Related program: #5765 (deployment-architecture epic).

Migration M4 of the deployment-architecture epic (design: PR #5764). The M1–M3 landing gate is satisfied (#5768, #5769, #5770 all CLOSED), so this migration is now filed and tracked here.

Move pm-stack services off the live checkout: today services ride the system switch, run out of a live checkout, or live as hand-placed files that switches/recycles/redeploys strand (epic problem statement).

Work:

  • Define pm-stack services as deploy targets in the registry (following the deploy tool v1 + M1–M3 pattern).
  • Migrate the running units onto generated targets; no migration requires a system switch to land; the only system-flake change is additive (the deploy package + deployTargets output); secrets consumed by name from the brokers, never embedded.
  • Each migration independently reversible.

Scope notes: #5767 (Cloudflare target class, OPEN/blocked) and #5772 (VMs declarative guests, OPEN/parked) are siblings, not blockers. Coordinate with #6251-follow-up concerns only if the Home Manager unit-ownership handoff resurfaces for these units.

Acceptance: pm-stack services run from deploy generations, not the live checkout; a recycle/redeploy leaves them intact with zero hand steps; the migration is reversible per-unit.

Acceptance criteria

  • pm-stack runs off the checkout as specified in the issue body, with its operational behaviour verified end to end.
  • Any checkout-dependent paths, schedules, or docs that referenced the old location are updated in the same change.
  • A rollback / recovery note is recorded on this issue if the migration is interrupted mid-way.

Activity

  1. added
    epic/fleet-orchestration
    on Nov 27, 2026
  2. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Related program: #5765 (deployment-architecture epic). This M4 issue was filed from that epic's triage (task 25344) when the M1–M3 landing gate was verified satisfied; the epic checklist now points here.

  3. added
    task/triage
    kind/infrastructure
    priority/normal
    effort/l
    status/needs-triage
    meta/enriched
    on Nov 27, 2026
  4. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Intake review

    🤖 Agent note · state: filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-26 19:14 CST
    • Found via: monitor reconciliation — intake enrichment (protocol §5)
    • Task: Intake pass: verified still open/live at pass time, normalized labels, appended acceptance criteria where missing.
    • Expectation: Routed for triage/queue work per its labels.
    • Links: Migration M4 for pm-stack. Body is brief — the implementing worker should confirm the exact off-checkout target state against the current pm-stack deployment before starting, and record that confirmation here.

    Notes / risks / suggested approach: Migration M4 for pm-stack. Body is brief — the implementing worker should confirm the exact off-checkout target state against the current pm-stack deployment before starting, and record that confirmation here.
    No merged PR explicitly resolving this issue was identified in the bounded intake check; treat any candidate fix as unconfirmed until a worker verifies it.

  5. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Triage verdict: M4 is a valid, broad migration and ready for implementation slices. Fresh verification: issue #15827 is OPEN with no hold labels; M1 (#5768), M2 (#5769), and M3 (#5770) are CLOSED, satisfying the M4 trigger. Design source is merged PR #5764 §7; cutover acceptance must include the Home Manager ownership handoff and post-activation survival check.\n\nThe first bounded implementation slice is to make fleet-feed-collector checkout-root configurable and add regression coverage, without cutting over the unit. Source evidence: nixos/services/pm-stack/default.nix lines 509–556 documents the collector is the remaining checkout-coupled unit.\n\nFollow-up feature_slice task 26016 is validated and queued in repo-health-code-pilot. No implementation/cutover was attempted in this triage. #5765 remains the tracking epic.

  6. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Triage verdict — real M4 migration, routed to implementation

  7. developing-today commented on Nov 27, 2026

    @developing-today
    Contributor

    Triage recheck (queue task 26041, lane oc-code-07, 2026-11-27): confirms the prior verdict on this issue. M4 is a valid implementation effort; the closed M1–M3 prerequisites are satisfied. Follow-up feature slice #26016 is currently CLAIMED by lane code-j, covering checkout-root configuration and tests only; no deployment cutover is in its scope. No duplicate task or implementation work is created here. Keep #15827 open for the M4 migration.

  8. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    M4 slice 1 implemented on the working tree (lane code-j, queue task 26016): FLEET_FEED_CHECKOUT_ROOT now selects the checkout used for .opencode/opencode.jsonc lookup and checkout-drift inspection; unset/blank preserves the script-location default. Added fixture-checkout drift regression plus root-resolution coverage. No systemd cutover or Home Manager ownership change. Verification: focused root tests 3 pass; publication tests 7 pass; git diff --check clean. The task packet full args integration tests time out here because the collector calls live fleet gh api graphql; the existing args tests also time out on baseline source in this environment.

  9. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · slice landed (PR open)

  10. added a commit that references this issue on Nov 27, 2026
  11. added
    status/triaged
    and removed
    status/needs-triage
    on Nov 29, 2026
  12. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    Census recheck — CEN-C16 (2026-11-29)

    Full body + all comments re-read firsthand for Drew's issue census.

    Verdict: ready — slice 1 in review, remainder specified.

  13. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).

    STRENGTHS: The migration is framed against its epic (#5765) with the landing gate verified (M1–M3 #5768/#5769/#5770 all CLOSED), the work items concrete (registry deploy targets, generated units, additive-only flake change, secrets by name), siblings explicitly declared NOT blockers, and acceptance that includes per-unit reversibility. kind/infrastructure + priority/normal already set.

    GAPS: None material. Execution has begun in slices (slice 1, checkout-root configurability via FLEET_FEED_CHECKOUT_ROOT, is up as PR #16269). The remaining slices (defining each pm-stack service as a registry deploy target and migrating the units) are the bulk of the work and are unclaimed as a set — a pickup should cut them one service at a time, as slice 1 did.

    FIXES I APPLIED: None — labels and priority verified correct.

    REMAINS: Nothing for Drewry. Ready for pickup, slice by slice.

  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Issue census — 2026-11-29

    Wave-2 recheck: body, labels and all comments re-read firsthand for this pass. Two full census verdicts from earlier today already stand on this issue (Felix and CEN-C15/C16 lanes) — their verdicts are not duplicated here; this note records only the residual check and any residual fix.

    Residual check (kind/infrastructure; priority/normal; status: status/triaged; acceptance criteria present): no residual gaps found — verified complete, no changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lepic/fleet-orchestrationkind/infrastructuremeta/enrichedpriority/normalstatus/triagedtask/triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions