Repository navigation
fix(dashboard): link apply health cards to source runs - #481
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 10, 2026, 11:32 AM ET / 15:32 UTC. Summary Reproducibility: yes. at the source and captured-state level. Current main clearly permits retained health data to coexist with a later root run URL, and the production screenshot corroborates the affected dashboard surface. Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge the snapshot-scoped provenance fix after required checks complete, retaining the nested URL, legacy fallback, focused regression coverage, and supplied browser proof. Do we have a high-confidence way to reproduce the issue? Yes at the source and captured-state level. Current main clearly permits retained health data to coexist with a later root run URL, and the production screenshot corroborates the affected dashboard surface. Is this the best way to solve the issue? Yes. Binding provenance to the snapshot that owns the warning, while retaining the root URL only as a legacy fallback, is the narrowest backward-compatible correction. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 7ee8bb2b00c0. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (2 earlier review cycles) |
* fix(dashboard): retain apply health source run * docs: add dashboard apply health proof * fix: preserve apply health source run * test: isolate sweep status coverage
Summary
Problem
The dashboard retained an apply-health warning while later review/status writes replaced the top-level
run_url. The "Pruning sweep blocked" card therefore opened a later, unrelated review run. In the captured production case it linked to run 29091926566, a successful hot-review run whose apply job was skipped.After-fix behavior proof
The redacted local dashboard below is generated by
dashboard/worker.tsfrom the captured production status shape: the apply warning originated in run 29091427650, while a later status write pointed at run 29091585991. No live state, workflow, or deployment was changed to create this proof.Browser verification from that generated card:
This demonstrates both the rendered link target and successful navigation to the originating apply run, rather than the later status run.
Implementation
run_urlinto a fresh apply-health snapshot.Validation
pnpm run build:allnode --test test/sweep-status.test.ts test/dashboard-worker.test.ts(64 passing)pnpm run lint:srcpnpm run lint:dashboardpnpm exec oxfmt --check src/clawsweeper.ts test/clawsweeper.test.ts test/sweep-status.test.ts dashboard/worker.ts test/dashboard-worker.test.tsgit diff --checkReview closeout
codex review --uncommitted: clean; no actionable findings.codex review --base origin/main: clean; no actionable findings.The branch review also attempted the broad unit suite. Its workflow-helper cases are blocked on this Windows host because
bashresolves through WSL, whose defaultdocker-desktopdistribution has no/bin/bash; the focused changed-surface proof above passed.Risks and rollout
New snapshots gain a nested source URL. Existing snapshots continue using the top-level URL fallback, so the change is backward compatible. It affects dashboard observability only; sweep, comment, label, and close behavior are unchanged.
Links