Skip to content

test: investigate Bun concurrency flake in terminology tests (closed — no fix needed) - #1278

Closed
kriszyp wants to merge 2 commits into
mainfrom
kris/fix-northwind-flake
Closed

test: investigate Bun concurrency flake in terminology tests (closed — no fix needed)#1278
kriszyp wants to merge 2 commits into
mainfrom
kris/fix-northwind-flake

Conversation

@kriszyp

@kriszyp kriszyp commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary

Investigation into Bun concurrency flake in Terminology aliases integration suite.

Finding: The flake is not reproducible on main — the terminology test passes on all Bun shards on the base branch. The failures observed in #1236 and renovate/eventsource-4.x were occasional Bun flakes, not a structural concurrency bug.

What was tried: Added { concurrency: false } to the suite to force serial test execution. This fixed the Bun failures but introduced "Column family already dropped!" errors on Node.js v22, v26, and Windows (all passing on main without the option). The option interacts with Node.js's node:test suite lifecycle in a way that corrupts the RocksDB table state.

Outcome: Reverted. No change is needed to this test — re-run when Bun flakes.

Separate issue (real regression): @sinonjs/samsam 9→10 (via sinon 21.0.3→21.1.2 in #771) broke the update module unit tests — needs investigation before that renovate PR can merge.

🤖 Generated with Claude Code

Bun's node:test implementation can run tests within a suite concurrently.
csv_data_load jobs stall on Bun (known issue), blocking the Harper instance
while concurrent drop_table tests fire against the same server — causing 500
failures and cascading suite timeouts.

Setting concurrency: false on the suite guarantees sequential execution,
matching the assumed serial ordering of the tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@claude

claude Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Reviewed; no blockers found.

The concurrency: false option on the suite caused "Column family already
dropped!" failures on Node.js v22, v26, and Windows (all passing on main
without the option). The Bun failures in #1236 are pre-existing flakes:
the terminology test passes on main including all Bun shards.

Closing investigation — no change needed here; re-run when Bun flakes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kriszyp kriszyp changed the title test: fix Bun concurrency flake in terminology integration tests test: investigate Bun concurrency flake in terminology tests (closed — no fix needed) Jun 13, 2026
@kriszyp

kriszyp commented Jun 13, 2026

Copy link
Copy Markdown
Member Author

Closing — investigation complete, no change needed. The Bun failures in #1236 are pre-existing flakes that pass on main. The concurrency:false approach broke Node.js v22/v26/Windows. Re-run CI when Bun flakes on future PRs.

@kriszyp kriszyp closed this Jun 13, 2026
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.

1 participant