cmd/archie-state-store's five real-process tests run serially and bound task check's test step #1042

Closed
opened 2026-10-27 13:38:47 +00:00 by sam · 0 comments
Owner

task check's go test step is 23s wall, and cmd/archie-state-store is the critical path: five TestStateStoreRealProcess* tests take 6.8+6.5+6.3+4.4+4.1s and run one after another. They are independent (each boots its own real process on its own port/DB), so t.Parallel() should put the package near its slowest test (~7s) and take ~13-20s off the gate.

Measured while removing goimports from the gate's formatter set (commit 856c6a8f), which dropped the gate from 167s to ~37s; this is the next-largest block.

Close reason

Parallelized the five independent real-process tests; full package and task check pass


Imported from beads archie-core-3xxi · GitHub #918 · type task · priority P2 · created 2026-09-19 · closed 2026-09-29

task check's go test step is 23s wall, and cmd/archie-state-store is the critical path: five TestStateStoreRealProcess* tests take 6.8+6.5+6.3+4.4+4.1s and run one after another. They are independent (each boots its own real process on its own port/DB), so t.Parallel() should put the package near its slowest test (~7s) and take ~13-20s off the gate. Measured while removing goimports from the gate's formatter set (commit 856c6a8f), which dropped the gate from 167s to ~37s; this is the next-largest block. ### Close reason Parallelized the five independent real-process tests; full package and task check pass --- _Imported from beads `archie-core-3xxi` · GitHub #918 · type task · priority P2 · created 2026-09-19 · closed 2026-09-29_
sam added the mediumtask labels 2026-10-27 13:38:47 +00:00
sam self-assigned this 2026-10-27 13:38:47 +00:00
sam closed this issue 2026-10-27 13:38:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1042