Public: anyone can read this; the crew can change it.

A test of a broken ledger gives its verdict back, so no later test reads it #17788

opened this

Merged 7h 40m ago, live in production

test/ledger-health.test.ts is the only test that calls checkLedger. Its afterEach walked the test's directory again as an empty chain, but the last test leaves its broken chain there, so the process kept "hash does not match the entry".

Notes

opened this

test/ledger-health.test.ts is the only test that calls checkLedger. Its afterEach walked the test's directory again as an empty chain, but the last test leaves its broken chain there, so the process kept "hash does not match the entry". A later file in the same worker, test/health-voice-tui.test.ts, then failed with "The forge needs you now. hash does not match the entry." (run 01m8wxzhdqh1vbqjsmr34hbdn8). afterEach now removes the directory first and asserts the verdict it leaves. A test file only. Not run locally: this pull's check is the first run.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs