This is the record of an abcd-managed repository

abcdBetav0.16.2 · 2026-11-06

Development record

TestSecondDispositionForOneItemRequiresSupersedes (internal/core/capture/ingest_reading_test.go) mints two dispositions into one ledger through the production minter (real clock, crypto/rand suffix), so when both land in the same UTC second and draw the same four-digit suffix the second write is refused by refuseExistingRecord as a duplicate id and the test fails. It failed this way in the race lane of make preflight on fix/scanner-selector-closing-call at 6aeaea01b (dsp-2610020953467982 minted twice); the refusal is the ledger's designed behaviour, so the defect is the test's unpinned mint.

issueresolvedminoriss-2610020958574817

TestSecondDispositionForOneItemRequiresSupersedes (internal/core/capture/ingest_reading_test.go) mints two dispositions into one ledger through the production minter (real clock, crypto/rand suffix), so when both land in the same UTC second and draw the same four-digit suffix the second write is refused by refuseExistingRecord as a duplicate id and the test fails. It failed this way in the race lane of make preflight on fix/scanner-selector-closing-call at 6aeaea01b (dsp-2610020953467982 minted twice); the refusal is the ledger's designed behaviour, so the defect is the test's unpinned mint.

Grounds

  • pursued: TestSecondDispositionForOneItemRequiresSupersedes passes 20 runs in a row and the race lane, and with the clock and suffix pinned to collide it fails with the observed duplicate-id refusal; shown wrong if it fails again on an id collision

Frontmatter

idiss-2610020958574817
typeissue
lifecycleresolved
severityminor