Skip to content

Timing-based tests fail CI runs on main #215

Closed

Description

@Seb-GRAF

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:

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

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Oct 22, 2026
  2. stablebar-releases commented on Oct 23, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.6.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions