Skip to content

Desktop Swift Release Compile job runs at its 60-minute budget: release compile + release-mode test build together exceed it on busy runners #13481

Closed

Description

@Git-on-my-level

Symptom

The Desktop Swift Release Compile job (desktop-swift-ci.yml) is cancelled by its job budget whenever the two long steps land on a slow runner. Measured on #13456 (four runs, same code shape):

run Release compile Test UserNotifications callback regression in release mode outcome
34561529875 attempt 1 34 min 24 min, cancelled job cancelled at 60 min
34561529875 attempt 2 24 min 30 min success at 54 min
34570952025 ~28 min ~27 min success
34576633163 attempt 1 30 min 29 min, cancelled job cancelled at 60 min

swift test -c release --filter UserNotificationCallbackBridgeTests/ builds the whole test target in release mode, so the second step is a second full release build (~25–30 min) after the first. Any PR that touches a Notification-named path (or the CI scripts) pays both and sits at 54–60 min; the outcome depends on runner speed, not on the change.

Options (maintainer call)

  1. Reuse the first step's release build for the test step (same .build path and flags; today the test step's --build-tests in release recompiles most of the module).
  2. Raise timeout-minutes on the job to 90 while (1) is done.
  3. Split the release-mode regression test into its own job so it does not share the compile step's budget.

Related: #13458 (the same step was silently red for two days), #13460 (suite-step budget).

Not changing .github/workflows from an agent session; recording the measurements so the fix is a one-line decision.

Activity

  1. aryanorastar commented on Sep 20, 2026

    @aryanorastar
    Collaborator

    Closing as already fixed on current main.

    Desktop-swift-ci.yml now combined --release-test-compile and cites #13481; no longer two full release builds.

  2. moved this from Someday to In review in omi TODO / bountieson Sep 20, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions