Skip to content

Fix preflight build with go-buildkite v5.13 - #974

Merged
ashmckenzie merged 2 commits into
mainfrom
fix/go-buildkite-5-13-preflight
Sep 2, 2026
Merged

Fix preflight build with go-buildkite v5.13#974
ashmckenzie merged 2 commits into
mainfrom
fix/go-buildkite-5-13-preflight

Conversation

@ashmckenzie

@ashmckenzie ashmckenzie commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Description

The go-buildkite v5.13 upgrade removes the BuildTest execution-detail types, causing the preflight package to stop compiling. The only remaining users belonged to the in-progress test-failure event path, which has not been emitted since preflight switched to its final test summary.

Changes

Remove the unreachable test-failure event rendering path, its obsolete API mocks, and its tests. The active final preflight test summary remains unchanged.

Testing

  • Tests have run locally (with go test ./...)
  • Code is formatted (with mise run format)
  • mise run lint
  • mise run vulncheck

Disclosures / Credits

Amp diagnosed and implemented the fix, ran the verification checks, and used Amp's Oracle to review the complete change set.

Related: #973

@ashmckenzie
ashmckenzie requested review from a team as code owners September 2, 2026 01:52
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub.com/​buildkite/​go-buildkite/​v5@​v5.12.0 ⏵ v5.13.071100100100100
Updatedgithub.com/​jpillora/​chisel@​v1.11.8 ⏵ v1.12.075 -12100100100100

View full report

@ashmckenzie ashmckenzie mentioned this pull request Sep 2, 2026
1 task
@ashmckenzie

Copy link
Copy Markdown
Contributor Author

Thanks @nprizal for the review 🙇

@ashmckenzie
ashmckenzie merged commit befac2c into main Sep 2, 2026
4 checks passed
@ashmckenzie
ashmckenzie deleted the fix/go-buildkite-5-13-preflight branch September 2, 2026 04:55
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.

2 participants