{{ message }}
fix(ci): bump unit-tests bun-version to 1.3.14 to fix coverage WriteFailed - #2242
Merged
Conversation
…ailed Bun 1.3.13's lcov coverage writer intermittently throws `error: An internal error occurred (WriteFailed)` right after all tests finish (all tests pass beforehand). Reproduced repo-wide on main's own Test workflow runs, not tied to any single PR's diff. Co-Authored-By: duyetbot <bot@duyet.net>
duyet
enabled auto-merge (squash)
July 3, 2026 16:19
Contributor
duyet
added a commit
that referenced
this pull request
Jul 3, 2026
…iled #2242) Resolves conflicts in user-connections.ts / user-connections/$id.ts where this branch's outbound webhook bus (emitEvent) and main's audit log (logEvent/logSessionEvent) both hook the connection create/delete path — kept both, audit log first then webhook emit. Adds emitEvent mocks to user-connections.test.ts and user-connections/$id.test.ts (main's audit-log tests didn't know about the webhook bus, so the route now transitively pulled in @chm/platform's cloudflare:workers binding under bun test). Co-Authored-By: duyetbot <bot@duyet.net>
duyet
added a commit
that referenced
this pull request
Jul 3, 2026
…NT) (#2252) bun 1.3.3's `install --frozen-lockfile` regresses with "ENOENT: could not open the node_modules directory" on jobs without a pre-existing node_modules, breaking the Landing/Blog/Docs/a11y checks and the Cloudflare deploy's landing job on every main commit. #2242 already proved 1.3.14 fixes it for unit-tests; align the remaining 8 pins to match. Co-authored-by: duyetbot <bot@duyet.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Bun 1.3.13's lcov coverage writer intermittently throws
error: An internal error occurred (WriteFailed)right after all tests finish (all tests pass beforehand, crash is in the writer). Reproduced on main's own recent Test workflow runs (e.g. run 28663719011 on commit db35d2d), not tied to any single PR's diff — this was blockingunit-testsCI on multiple unrelated open PRs (#2232, #2235, #2240) independently of their actual code changes.Change
Bump the
unit-testsjob's pinnedbun-versionfrom1.3.13to1.3.14in.github/workflows/test.yml.Verification
bun run test:coveragepasses clean locally under 1.3.14 (thousands of tests, 0 fail).Co-Authored-By: duyetbot bot@duyet.net