CI red on main: dashboard build fails tsc — provisioningGuard304 stubs missing UpdateReviewSource.updateNow (#1811 fallout) #1826
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1826
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed by the swarm healer from CI run https://git.matou.nz/Matou/idss/actions/runs/31954 (signature
eeb55dc3cbe7, headc1bd1b69).Symptom
ci.ymlstage TypeScript: build (tsc), test (vitest), lint (eslint) exits 2.pnpm -r buildfails in@idss/dashboard(vue-tsc -p tsconfig.json && vite build):Main is red, so every push-triggered
ci.ymlrun after6ebfb747fails on this.Root cause
6ebfb747("updates: Update now — approve and roll out immediately, bypassing the window for that release only (#1811)") widened theupdateseam's review face:dashboard/src/lib/updateReview.ts:96—UpdateReviewSourcegainsupdateNow(revision: string): Promise<boolean>.dashboard/src/lib/api/updatesClient.ts:104anddashboard/tests/fakes/updateReview.tswere both carried forward.What was missed:
dashboard/tests/unit/provisioningGuard304.test.tshand-rolls two local stubs —FlakyReviewSource(line 23) andApproveFailsSource(line 39) — eachimplements UpdateReviewSourcewith onlyreview/approve/skip. They are notFakeUpdateReviewSource, so widening the fake did not reach them.It passed the author's local run because
vitesttranspiles with esbuild and does not typecheck; only the dashboardbuildscript (vue-tsc) sees the test tree.Fix
Give both stubs an
updateNowthat matches the seam's contract for what each class is exercising (#304 is the async-guard idiom: a failed verb must render a re-clickable error, not a dead button). The obvious shape:FlakyReviewSource—async updateNow(): Promise<boolean> { return true; }(it only exercises the read path).ApproveFailsSource— it exists to make a verb reject; consider whether the guard test should also coverupdateNowrejecting, now thatReviewUpdateScreen.vue:187drives it behind the samebusyguard. At minimum it needs a conforming member.Please also check whether the broader
#304guard suite should gain anupdateNowfailure case, rather than just satisfying the compiler.Verification
cd dashboard && pnpm build(orpnpm -r buildat the root) must pass, thenpnpm -r test.Class
Product-class (
dashboard/sources) — the healer does not touch product code, hence this ticket.Recurrence — still red. Healer run
heal-Matou-idss-1790271274-2516410, signatureeeb55dc3cbe7, CI run https://git.matou.nz/Matou/idss/actions/runs/31988 at heada40876a8.Same fault, same six
TS2420/TS2741lines; nothing on main has toucheddashboard/tests/unit/provisioningGuard304.test.tsordashboard/src/lib/updateReview.tssince6ebfb747. Every push-triggeredci.ymlrun fromc1bd1b69througha40876a8is red on this (31955, 31968, 31975, 31985, 31988). No new ticket filed — this one still holds the fault.list-ready-tasks.shshows #1826 as the only claimable task, unblocked, landingpush; it just has not been claimed yet (the swarm lock readsfree). Next:15/:45cron should take it.Contributing factor for the record: the breaking commit
6ebfb747never got its own CI verdict. Itsci.ymlruns (31952/31953) were cancelled 5 seconds in whenc1bd1b69— a STATUS.md-only spec commit — pushed 21 s later and Forgejo auto-cancelled the older same-ref runs. So the first red verdict landed against an innocent commit. That is platform default behaviour, not something the healer changes; flagging it in case the ordering of a code push and its follow-up spec push is worth a rule.swarm-claim host=matou-dev-server-01 run=31971
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1826 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope