Skip to content

pm-aggregator deployment is 4,687 commits behind main (2026-11-15 build) — PM apps must follow main #14059

In progress

Description

@developing-today-fleet

Finding (PM pages review, 2026-11-23): the deployed pm-aggregator is built from commit 7d3dcebe dated 2026-11-15 — main is 4,687 commits ahead of it. The dashboard Drew uses every day is nine days of work behind the code, and nothing on any page says so.

Evidence (live, 2026-11-24T03:32Z, from the aggregator's own /api/health version field + git log on that commit + compare API):

Ask: make every PM app's deployment follow main automatically (build+flip on merge, or a scheduled rebuild with a drift alarm), and surface the deployed commit + its age on /health permanently (the data already exists in /api/health — render it). A dashboard whose first job is freshness should never silently be the stalest thing it reports.

Review record: doc/2026-11-24T03-51-11Z_review_pm-stack-pages (screenshots/health.png, screenshots/pages.png). Sibling: #13833. Epic context: #1184 (PM stack coherence — fresh data).

{
  "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-24T03:51:53Z",
    "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)"
  }
}

Acceptance criteria

  • pm-aggregator deployment runs a current main build (not the 2026-11-15 build, 4,687 commits behind at filing).
  • A mechanism keeps PM apps following main (deploy on merge or a scheduled rebuild), so the gap cannot silently regrow.
  • The deployed version is visible from the app surface (health or version endpoint) as it was when this issue's evidence was gathered.

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 24, 2026

    @dezren39
    Member

    Triage (oc-code-01, 2026-11-24): confirmed as stated in the issue. The deployed pm-aggregator is 7d3dceb (2026-11-15), and main is 4,687 commits ahead. The fix is a redeploy from main through the existing deploy path (pkgs/deploy/services.nix), which is a deploy action with its own gate. This lane does not deploy to production. Left open for the deploy owner; the redeploy itself is the next step.

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    Member

    Triage re-verify (oc-code-08, lane task 23429, 2026-11-24T18:32Z):

    • STILL BEHIND. Live aggregator /api/health reports version 7d3dceb, identical to the filing. Fresh count: that commit is now 5447 commits behind origin/main tip a082246d6a6f (drift grew from 4687 at filing ~15h ago). Not resolved in substance.
    • Second half of the ask confirmed open: /api/health carries version, but the rendered /health page never surfaces view.version / bootAt / build age. Grep of pm-stack/aggregator/src/render.ts renderHealth shows no version/commit rendering (only generatedAt, bootAt in an unrendered-page fallback string).
    • Sizing: (a) render deployed commit + age on /health: small bounded code fix in pm-stack/aggregator (health.ts view already has version; render.ts needs a header line + test). (b) auto-follow-main / drift alarm: larger deploy-automation work; machinery is registered under deploy: register the PM-stack services (aggregator, projector, tunnel, ready-for-agent) as deploy targets #12768 (pm-aggregator/projector/tunnel registered as deploy targets in 2bbc3c5fba7) and that issue is still OPEN (updated today) — no duplicate packet filed for (b); it stays owned there. The redeploy itself is a deploy action with its own gate, out of scope for code lanes.
    • Routing: filing one small_fix follow-on for (a). Leaving this issue OPEN for the deploy owner on (b).
  4. dezren39 commented on Nov 24, 2026

    @dezren39
    Member

    Render half done (oc-code-04, task 23621): PR #14549 adds the deployed commit + age header to /health, sourced from the same HealthView.version / bootAt that /api/health serves (short SHA, full SHA in title + adjacent code, uptime age, explicit unknown fallback). No other /health changes. Note: open refactor PR #13089 also touches render.ts (file split) — this small block may need a rebase after that lands. Deploy-automation half stays with #12768 / deploy owner.

  5. added a commit that references this issue on Nov 24, 2026
  6. dezren39 commented on Nov 24, 2026

    @dezren39
    Member

    Render half (b) landed (lane any-n, task 23621): PR #14549 merged 2026-11-24T21:08Z (merge 6570613) — /health now renders the deployed commit (short SHA visible, full SHA in title + adjacent code) plus boot/age from the same HealthView.version/bootAt that /api/health serves, with an explicit unknown fallback naming PM_AGG_BUILD_VERSION; two regression tests (present + unknown, page/API parity). Duplicate PR #14578 closed as superseded. Local full-file suite could not run here (port 4871 held by the production aggregator — identical failure on unmodified main, pre-existing environmental); author's failing-first + 28-pass + tsc-clean evidence stands in the #14549 description. Deploy-automation half stays with #12768; this issue stays open.

  7. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    ContributorAuthor

    Triage verdict — queue task 24885 (oc-code-03, 2026-11-26)

    Verdict: partially implemented; remaining work already routed.

    Fresh readback: #14059 OPEN (status/in-review). Render half landed: PR #14549 merged 2026-11-24 (deployed commit + age on /health). Remaining halves: (a) the redeploy itself — a deploy action under its own gate, out of code-lane scope; (b) auto-follow-main / drift alarm — owned by #12768 (OPEN), which has queued triage task 25076 in repo-health-code-pilot. No new packet from this triage.

    🤖 Agent note · triage

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

    @developing-today-fleet
    ContributorAuthor

    Triage re-verify — lane 1837-M, queue task 25394 (2026-11-26)

    Verdict: partially implemented; remaining work already routed — no new code fix available to this lane.

    Fresh verification (1837-M):

    Disposition for task 25394: triage complete, follow-up is #12768. This issue stays OPEN for the deploy owner / #12768.

    🤖 Agent note · triage · lane 1837-M · task 25394 · outcome: follow_up_already_routed (#12768; render half merged #14549)

  9. added
    priority/high
    on Nov 29, 2026
  10. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Census 2026-11-29 (lane CEN-C14)

    Verified firsthand (body + all comments). State: the staleness is now visible — PR #14549 landed the /health deployed-commit + age rendering and the schedule-registry correction (verified at exact head). Two halves remain: (1) the redeploy itself, through the deploy gate in pkgs/deploy/services.nix; (2) auto-follow-main so the deployment cannot drift again — owned by #12768, which is open and claimed (its PRs #14643/#14720 are closed; the live remainder is #12768's own).

    Blocker (named): the redeploy execution + #12768's follow-main remainder. This issue also gates the live confirmations on #14048 and #14060.

    Census action: added priority/high (deployment drift gates the PM stack's live proofs). Verdict: blocked (redeploy + #12768).

  11. added
    kind/infrastructure
    on Nov 29, 2026
  12. 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 evidence is live and self-proving (the aggregator's own /api/health version field + the compare API: deployed 7d3dceb from 2026-11-15, 4,687 commits behind main), and the consequences are tied to symptoms Drew actually saw (/chat 404, /sessions cold-hang, 22 vs 23 pages). The render half landed fast (PR #14549: deployed commit + age on /health).

    GAPS: No priority/* and no kind/* label — remarkable for the issue that named the fleet's stale-tier problem. The remainder (the standing convergence so this cannot recur silently) is routed: #14134 (auto-update system) and CF-9 #14949 (follow-main timer + drift alarm, machinery in PR #15564, activation rides the next laptop rebuild).

    FIXES I APPLIED: Added priority/high (the daily dashboard running nine days stale, root of live symptoms) and kind/infrastructure.

    REMAINS: Nothing new for Drewry — the rebuild that activates CF-9's timer is the same standing event.

  13. added
    effort/s
    app/pm-stack
    on Nov 29, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Issue census — 2026-11-29

    Census audit of #14059 (pm-aggregator deployment is 4,687 commits behind main — PM apps must follow main).

    Note: a parallel census comment by Felix is already on this issue today; this pass re-verified everything live.

    Strengths: the evidence is live and self-proving (the aggregator's own health surface showed the stale build); the requirement is stated as a standing rule (PM apps must follow main), not a one-off bump; kind/infrastructure, priority/high and status/in-review set live.

    Gaps found: no effort/* or app/* labels; no acceptance-criteria section.

    Blocker: none unrecorded.

    Actions taken: added labels effort/s, app/pm-stack; appended an Acceptance criteria section to the body (original text untouched).

  15. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · lane 0307-AG — premise re-check with fresh laptop evidence; remainder confirmed routed/gated, no new code slice.

    Premise-checked live (issue + all 10 comments, REST, 2026-11-30) and on the laptop (amd, SSH, ~04:00 CST):

    Priority validation 2026-11-30: priority/high stands (daily dashboard freshness; gates live confirmations on #14048/#14060).

    Wake: next laptop rebuild activates CF-9's timer → re-read /api/health version; if it then tracks main, criterion 1 closes and this issue reduces to #12768's follow-main remainder.

    • Key: 0307-AG
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

    app/pm-stackeffort/skind/infrastructurepriority/highstatus/in-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions