BrainBar Swift CI: wall-clock-budget tests flake on the shared macOS runner
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- swift
- Domain
- ci-cd, performance, testing-qa
Research direction
Start with SocketIntegrationTests.testPendingDrainDoesNotBlockStoreOrInitializeDuringBackup and BrainBarReliabilityTests.testBrainStoreQueuesWithinBudgetWhenDatabaseWriteLockIsHeld, then review the related timing work in #678 and #970. Reproduce the failures on the #977 heads, including under load, and consider the stated injected-clock and SIGPIPE directions; done means at least 100 repetitions without the abort or wall-clock-budget flake.
Written by the indexing model from the issue text.
Description
Two unrelated failures on #977 heads (agent-count/Runtime diff only):
SocketIntegrationTests.testPendingDrainDoesNotBlockStoreOrInitializeDuringBackup— XCTest process aborted mid-test (no assertion, exit 1), likely SIGPIPE on a closed socket; passed on re-run of the same SHA.BrainBarReliabilityTests.testBrainStoreQueuesWithinBudgetWhenDatabaseWriteLockIsHeld— 0.2606 s vs its 0.25 s wall-clock budget (last touched in #678).
Earlier the same class:DashboardTests.testWatchdogTerminatesOnlyOriginallyStaleProcessBeforeRelaunch(fixed in #970),MCPRouterTestsdeferred-drain timing. Fix direction: injected clocks instead of wall-clock budgets; SIGPIPE ignored/handled in socket test clients (SO_NOSIGPIPE); prove ≥100 repetitions under load.
Filed by brainlayerClaude-90982d09 (Claude Opus 5.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 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
spec-kitty/spec-kitty#5319 ·
Maintainers usually reply within 1 day
-
backend::vllm diffusion multimodal
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
openai/openai-agents-python#5229 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day