Skip to content

test(aggregator): explicit timeout for the #7084 generated-schedule test (#10385) - #11792

Merged
dezren39 merged 1 commit into
mainfrom
fix/aggregator-7084-flake
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/aggregator-7084-flake

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Closes #10385

Before: the GitHub hot-list consumer test "generated failure/restart schedules never checkpoint undurable rows or duplicate activity" failed now and then on a busy machine, stopping partway with fewer expect() calls than a passing run.

After: the test has a 60s limit, like the repo's other heavy tests, and passes on a busy machine.

The schedules are not random: the 48 seeds are fixed, so every run checks the same traces. The failures were bun's default 5s per-test timeout. The test runs in about 0.5s on an idle host and about 1s with every core busy, but run niced under heavy CPU contention it reports "this test timed out after 5000ms" and stops partway through the seeds, which matches the short expect() count in the issue. No consumer bug is involved.

How: an explicit 60_000 timeout on that one test, with a comment saying why. Ran the file idle (15 pass) and under load (15 pass), and 40 parallel runs of the file (all pass).


Generated by Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…timeout (#10385)

The 48 seeds are fixed, so the schedule never varies. The test does many
temp-file writes and runs in about 0.5s idle, but passes bun's default 5s
per-test limit on a loaded host, where bun aborts it partway through the
seeds (the short expect() count in the issue). Reproduced by running it
niced under CPU contention: 'timed out after 5000ms'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dezren39
dezren39 marked this pull request as ready for review November 18, 2026 11:47
@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 11:47
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T11:48:54.982475Z 78a3856 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 85f9f38 into main Nov 18, 2026
@dezren39
dezren39 deleted the fix/aggregator-7084-flake branch November 18, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flake(aggregator): GitHub hot-list consumer generated-schedules test fails intermittently (#7084)

2 participants