app: frontierLegRecords unit test red on main since 1980f6b — runRecordedLeg writes through twice, test asserts once #620
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#620
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?
Symptom
On
main(since1980f6b, the #574 TUI data-layer commit — drive heartbeat),app/tests/unit/frontierLegRecords.test.tsfails deterministically, 2 of 6:runRecordedLeg(app/tests/e2e/fixtures/legs.ts) now writes through twice per leg (the heartbeat writer added in1980f6bplus the original record write), while the unit test still asserts one write. Found during the #473 rebrand verification:legs.tsand the test are byte-identical betweenmainand the rebrand branch, so it is not the rename.pnpm -r testis therefore red on main today (seam-smoke.shstage "TypeScript: build, test, lint").What to decide
Either the double write is intended (heartbeat + record are distinct writes → update the test to assert both, naming each) or the heartbeat should not go through the same
writessink. Read1980f6b's intent first; don't just bump the number.Acceptance criteria
cd app && npx vitest run tests/unit/frontierLegRecords.test.tsgreen, with the test stating which writes it expects and why.pnpm -r testgreen at the workspace root.swarm-claim host=matou-dev-server-01 run=8125
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #620 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope