[ci-doctor] CI Test Failure — Run #29057896142 (bun-version: latest regression)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
Research direction
Start with .github/workflows/ci.yml and compare the failing run 29057896142 with the previous successful run 29052744071, focusing on the Bun version used by the Test step. Pin the configured Bun version as described, then rerun the workflow and confirm that bun test --coverage ./tests/ completes successfully.
Written by the indexing model from the issue text.
Description
Summary
The Test & Lint job failed at the Test step (bun test --coverage ./tests/) on commit 7c5ea995, which merged PR #410 ("Improve Evergreen CI diagnostics"). Only workflow files were changed — no source or test code was modified.
Failure Details
- Run: 29057896142
- Commit:
7c5ea995df0694314856f08440316b53004183d9 - Trigger: push (merge of PR #410)
- Failed Step:
bun test --coverage ./tests/(ran for ~4 seconds) - Previous successful run: 29052744071 on commit
a7269d37
Root Cause Analysis
No source code or test files were changed between the successful and failing runs — only workflow files (.github/workflows/evergreen.lock.yml, .github/workflows/evergreen.md, .github/workflows/shared/evergreen/repo-policy.md).
The most likely cause is that bun-version: latest in ci.yml pulled a new bun version between the two runs, which introduced a regression in the test runner or coverage reporting.
This is a recurring pattern — an identical failure occurred previously (see #307).
Failed Jobs and Errors
| Job | Step | Result |
|---|---|---|
| Test & Lint | Test | ❌ failure |
| Test & Lint | Type check | ✅ success |
| Test & Lint | Lint | ✅ success |
CI logs are not publicly accessible (require admin), so the exact test failure message is unavailable.
Investigation Findings
- Only
.github/workflows/files changed — code is unchanged - The
Teststep ran for ~4 seconds (23:38:38–23:38:42), which is abnormally short for a full test suite Buildand cross-validation steps were skipped (they depend ontestpassing)- This is at least the third occurrence of this pattern (see also #307)
Recommended Actions
- Pin bun version in
.github/workflows/ci.yml: changebun-version: latest→bun-version: "1.2.x"(or the last known-good version) - Retry the failed run — a re-run may succeed if the issue is a transient bun release
- Check bun release notes for any test runner or coverage changes between the last successful and current bun version
Prevention Strategies
- Pin bun to a specific version in all CI workflows; update deliberately after reviewing release notes
- Consider adding a
continue-on-error: falsewith explicit bun version check - Add a note to AGENTS.md reminding agents that
bun-version: latestis not allowed in CI
AI Team Self-Improvement
## CI Stability: Bun Version Pinning (CRITICAL)
- NEVER use `bun-version: latest` in CI workflow files (.github/workflows/*.yml).
Always pin to a specific version, e.g. `bun-version: "1.2.15"`.
- When modifying any CI workflow, verify that `bun-version` is pinned and not set to `latest`.
- Recurring test failures where only workflow files changed are almost always caused by
bun-version: latest pulling a new release with a regression. Recommend pinning immediately.
Historical Context
- Issue #307 (May 2026): Same pattern —
bun testCI failure after autoloop merge, only workflow or unrelated files changed, tests pass locally. Root cause identified asbun-version: latest. - This is the third known occurrence of this pattern in this repository.
Generated by CI Failure Doctor · 326.4 AIC · ⌖ 11 AIC · ⊞ 28.1K · ◷
Add this agentic workflows to your repo
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/ci-doctor.md@c7d030cd6d4607b90d9ac3ffc8b24aff4f251632
- Dominant language
- TypeScript
- Stars
- 9
- Forks
- 4
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 15
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from githubnext/tsb
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
githubnext/tsb#208 ·
-
[aw] Autoloop failed Openagentic-workflows
Difficulty 4/5 3-5 days Newbie friendliness 25/100
githubnext/tsb#516 ·
-
[aw] Autoloop failed Openagentic-workflows
Difficulty 4/5 3-5 days Newbie friendliness 35/100
githubnext/tsb#515 · 3 comments ·
-
agentic-workflows
Difficulty 4/5 3-5 days Newbie friendliness 35/100
githubnext/tsb#514 ·
-
agentic-workflows
Difficulty 5/5 Over a week Newbie friendliness 15/100
githubnext/tsb#508 ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·