Skip to content

[Bug]: four tests exceed their timeouts in the unsharded macOS control lane, first observed once the lane was able to finish #4997

Description

@lidge-jun

Client or integration

CI only; not a client-facing path.

Area

CI and release

Summary

Four tests exceed their own timeouts when the full suite runs unsharded in the macos control lane. They are not new failures. They have never been reachable, because that lane has a 30-minute job budget and the suite needs about fifty minutes, so every run has been cancelled slightly past the halfway point for months and these four sit beyond it.

An authorized one-off measurement raised only the control job budget to 60 minutes on a throwaway branch and let the lane finish for the first time. Test step 23:13:17Z to 00:03:56Z, 50m39s wall, Bun reporting 3034.18s. Result: 26475 pass, 46 skip, 5 fail across 26526 tests in 1343 files. The suite exited 1 on its own rather than being killed, so this is a complete run.

One of the five failures is the measurement itself and is expected: tests/ci-workflows/ci-workflows.test.ts:121 pins the control budget at 30 and the branch set it to 60. That guard is working. The other four are the subject of this issue:

Test Observed Bound
web-search heartbeat retry 6233.05ms 5000ms
image non-droppable 60323.51ms 60000ms
imageTierBias 91516.75ms 60000ms
provider-option ownership spine 31801.03ms 30000ms

Three are marginal and one overshoots by half again, which is usually the spread that separates a budget sized on a quiet machine from a genuine stall. They need individual dispositions and none should be resolved by raising a bound before someone has explained where the time goes. tests/helpers/test-budget.ts states the two conditions a budget increase has to meet, and they apply here.

Worth noting why this lane is worth keeping rather than sharding away: it is the only place the suite runs in one process, so it is the only oracle for shared-process and cross-file ordering pressure. These four results are the first thing it has ever told us.

The 30-minute budget itself is #4905. This issue is the four tests, not the budget.

Reproduction

Not reproducible locally and no local verification was attempted. It requires the unsharded control lane to run to completion, which currently requires a job budget larger than the one in ci.yml.

Version

2.59.0 (dev), measured against base 61ee64747bedc5fafbeb5fc811898ea4db4ec738.

Operating system

macOS, GitHub-hosted runner.

Provider and model

Not provider-specific.

Logs or error output

26475 pass
46 skip
5 fail
383039 expect() calls
Ran 26526 tests across 1343 files. [3034.18s]

Screenshots and supporting files

Not applicable.

Redacted configuration

Not applicable.

Activity

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

    bugSomething isn't workingplatformOS/service/tray/ACL (Windows-heavy, not Windows-only)toolstool_calls, MCP, web-search / sidecar tools

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions