Skip to content

Two tests hit the 15 s per-test timeout under CPU contention (blocked 22.0.15 publish) #289

Open

Description

@drewstone

Two tests timed out in the 22.0.15 publish run 40045241694, job verify / verify, step Test. publish-npm was skipped, so 22.0.15 is not on npm.

Test Per-test elapsed Limit
tests/event-store.test.ts › splits only overflowing hash buckets and preserves replacement and tail queries (:172) 15026 ms 15000 ms
tests/kb-improvement/candidate.test.ts › improveKnowledgeBase › rejects a candidate when answer quality fails (:491) 15006 ms 15000 ms

The rest of the run: 742 of 746 tests passed and 2 were skipped. Runner: deploy-beelink1-public-apps-01.

Same code, other runs

  • release: 22.0.15 raises the agent-eval peer floor to 0.221.1 #288's Beelink gate beelink1-fec49499 on 7a3498fd failed the same way. It timed out event-store "splits only overflowing…" at 15084 ms and state-scope "isolates siblings…" at 15210 ms. The suite took 212.74 s.
  • fix(deps): pin zod 4.6.6 and vite 8.3.4 (22.0.14) #287's gate on 203d3587 passed. The same two tests took 4305 ms and 3171 ms, and the suite took 56 s. Runtime code, tests and the lockfile are byte-identical between 203d3587 and 7a3498fd.
  • The 22.0.14 publish run 40043756428 ran on the same runner and passed Test in 51.6 s. As files, event-store took 15.5 s and candidate 17.4 s.

What is known and what is not

Every failing run happened while beelink1 was heavily loaded: CPU PSI avg60 was about 38–49 and load was 43 on 16 cores at 00:33Z. That is a correlation, not a proven exclusive cause. The worker count also differed between the gates (4 vs 2).

The diagnosis belongs to this repo's owner. Things worth checking:

  • why these tests do roughly 3–5 s of CPU-bound work each, so that contention pushes them past 15 s;
  • whether they have a contention-sensitive wait.

Nobody raised the timeout or deleted these tests.

Release: one re-run of the failed job is armed, and it fires only once beelink1's CPU PSI avg60 is below 15 (owner: lane op-company:cve-deps).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions