app build (vue-tsc) is RED on main — foundingRentedToolchainGate.test.ts omits the required AddressChoice.summary (TS2741) #1698
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#1698
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?
mainis RED. Everyci.ymlrun since368260e0fails at the seam'spnpm -r run buildstage, so no push to main is gated any more until this is fixed.The fault
Run https://git.matou.nz/Matou/idss/actions/runs/29427 (run 29427,
ci.yml, head368260e0), stageTypeScript: build (tsc), test (vitest), lint (eslint), exit 2:Root cause
app/src/lib/founding.ts:201declaressummary: stringas a required member ofAddressChoice. The test helper added by368260e0(#1696) builds aDraftwhoseaddressliteral omits it:Every sibling test writes the field — e.g.
app/tests/unit/foundingPage.test.ts:46,foundingBuildFleet.test.ts:39,foundingAccessI18n.test.ts:135all use{ kind: 'subdomain', host: 'example.idss.nz', summary: 'example.idss.nz' }. This one file is the outlier.vitestdoes not type-check, so the new test passes at runtime; onlyvue-tsc(the appbuildscript) sees it. 368260e0's commit message asserts "vue-tsc clean" — that was not the case for the committed tree.Fix
Add the missing
summaryto theaddressliteral inreviewDraft(), matching the sibling tests:Then confirm with
pnpm --filter @idss/app run build(vue-tsc) before pushing — not justpnpm test.Scope
Product code only (
app/tests/). Do not loosenAddressChoice.summaryto optional to make the error go away — the field is required by design across the Address step; fix the test.Related harness note (not part of this ticket)
The host pre-push Gate 2 (
.sandcastle/git-hooks/pre-push, #1252) runs eslint on TypeScript pushes but no type-check, so avue-tscbreak reaches main through the reconcile push exactly as it did here. Whether to add a type-check sub-gate (and pay vue-tsc on every TS push) is a human call — raised in the heal report, not decided here.Filed by the swarm healer. Incident signature
57fe069c9b26, heal runheal-Matou-idss-1790015247-2548126.swarm-claim host=matou-dev-server-01 run=29390
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1698 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope