Repository navigation
Description
What happens
All five of the latest failed CI runs on main failed in tests that wait against wall-clock limits or short polls, not on a bug. A failed push to main publishes no beta, and a stable release needs a beta of the newest commit, so each of these failures blocks stable until another push.
Steps to reproduce
Not reproduced locally. The failures come from CI runs on main:
| Run | Commit | Failure |
|---|---|---|
| 39769756760 | 607958a |
cancellingOrTimingOutStopsShellChildren and stoppedCommandDoesNotWaitForPipesHeldByAnEscapedChild: the marker file didn't exist when read (NSCocoaErrorDomain 260) |
| 39734018500 | 4d42155 |
revokingAccessDuringMenuRecoveryClearsTheMenus: source.reads was [100, 100, 100], expected [100, 100] |
| 39611976819 | 542c8dc |
cancellingAWidgetStopsItsRunningCommand: 2.32 s against a 2 s limit |
| 39610268605 | 77f143b |
cancellingAWidgetStopsItsRunningCommand: 2.39 s |
| 39588152829 | 2bd710a |
cancellingAWidgetStopsItsRunningCommand (2.15 s) and commandTimeoutClosesPipesHeldByChildrenAfterTheShellExits (2.01 s, since raised to 5 s by #142) |
Expected
Tests on a busy runner wait for the condition they check, with a generous ceiling, and fail only when the behavior is wrong.
Environment
GitHub Actions macos-26, Swift Testing running suites in parallel.
Evidence
Confirmed with gh run list --branch main --status failure and gh run view --log-failed on the five runs above. Of the last 30 push runs on main, 2 failed, 5 were cancelled and 23 passed; the older three failures above are from 2026-10-21.
Diagnosis
On main at 4160f7f:
Tests/StableBarTests/CommandTests.swift:55-59polls 200 × 5 ms (1 s) for the marker file, then reads it with#require. When the shell starts later than that, the read throws.CommandTests.swift:129has the same 1 s poll.Tests/StableBarTests/WidgetTests.swift:144-151expects cancellation within 2 s. test: give the command cleanup tests room on a busy CI runner #142 raised the same kind of limit inCommandTeststo 5 s; this one was left at 2 s.Tests/StableBarTests/NativePresentationTests.swift:154-168expects exactly two reads. Suspected: the retry ran once more beforesource.trusted = falsetook effect. This one could also be a race inAppMenu's retry; it needs a look before it is treated as test timing only.
Proposal: wait on the condition (marker file present, task finished) with a long ceiling instead of short polls and tight wall-clock limits, as #109 and #191 did for other tests.
Related
- test: keep timing tests reliable while other tests hold the main actor #109, test: give the command cleanup tests room on a busy CI runner #142, test: let the app menu tests decide when a retry runs #179 and test: give slow edit-mode and AeroSpace mode waits room to finish #191 fixed earlier timing failures in other tests; these are the ones still failing.
- A stable release that fails after tagging can't be finished by running it again #208: a failed stable release can't be run again, which makes a missing beta more costly.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
Activity
stablebar-releases commentedon Oct 23, 2026
🎉 This issue has been resolved in version 0.6.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀