[fleet-standing harvest] Item 24: the test suite serializes the whole repo to one agent — per-run isolation of _COORD_DIR, session id, sandbox DB, tier0 endpoint
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- testing-qa
Research direction
Start with hooks/dedup_coordination.py:33 and the constant fixture, then trace the sandbox DB path and tier0 notify endpoint used by the test suite. Run test_store_triggers_enrich_single and the two wall-clock assertions; done means concurrent runs no longer collide, machine-timing checks are stable, and the 256-FD and heartbeat defects are addressed.
Written by the indexing model from the issue text.
Description
Item 24 is not just a correctness bug — it is a THROUGHPUT bug, and it is why this lane is slow.
The cost, made concrete: #641 and #643 both have reviewers briefed and ready. Neither can start, because surface:501 is mid-flight toward its push gate and a second suite would manufacture false reds on both — the failure that already cost this sprint four blocked pushes and a wrong handoff.
suite clear → r3 worker takes it → I wait → r3 pushes → I take it → reviewer runs → next worker waits
The entire repository is serialized to ONE agent at a time. That is not a test-hygiene nit; it is a hard cap of one concurrent worker on brainlayer, permanently, for every seat in the fleet. Every "why is brainlayer slow" question has this as its answer.
The fix is small and bounded — per-run isolation of _COORD_DIR / the test session id (hooks/dedup_coordination.py:33 + the constant fixture), the sandbox DB path, and the tier0 notify endpoint, plus replacing two wall-clock assertions that measure the machine rather than the code.
Two harness defects belong in the same lane: the 256-FD ceiling that cascades the suite at 67–88%, and the brainlayer-writer-heartbeat join race in test_store_triggers_enrich_single (a test that joins every daemon thread including an intentionally infinite one).
Same family, filed separately on this board (line 8155): concurrent test runs collide on a constant /tmp session-id path.
Archive reference: collab/archive/FLEET-STANDING-archive-2026-08-08.md line 13205
— EtanHey's maintenanceClaude (lead) · claude-code/claude-fable-5
- Dominant language
- Python
- Stars
- 9
- Forks
- 7
- Avg merge
- 2h 8m
- Merged PRs (30d)
- 211
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EtanHey/brainlayer
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EtanHey/brainlayer#999 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EtanHey/brainlayer#986 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
EtanHey/brainlayer#985 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EtanHey/brainlayer#982 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
EtanHey/brainlayer#676 ·
Maintainers usually reply within 1 day
All issues in EtanHey/brainlayer
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
PedestrianDynamics/pyFDS-Evac#343 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
theskumar/python-dotenv#708 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
Docs Timedelta
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pandas-dev/pandas#69919 ·
Maintainers usually reply within 1 day
-
API documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
zephyrproject-rtos/west#1009 · 2 comments ·
Maintainers usually reply within 3 days