Repository navigation
Use canary Bun in test CI - #313
Closed
dylan-conway wants to merge 1 commit into
Closed
dylan-conway wants to merge 1 commit into
dylan-conway wants to merge 1 commit into
Conversation
Track Bun's canary build in the integration-tests workflow instead of a pinned release, so regressions in upcoming Bun versions surface in CI before they ship. Switches both the setup-bun action and the docker leg's install script to canary. The release/publish workflow stays pinned for reproducible builds.
Collaborator
Author
|
Closing — the CI flakiness fix this was meant to pull in (oven-sh/bun#30301, the Linux pidfd missed-'exit' bug) already shipped in bun 1.3.14, which is the version CI is already pinned to. No canary needed. |
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.
What this does
Switches the integration-tests workflow to install Bun's canary build instead of pinned 1.3.14.
Why
We need a Bun
fetchfix that has landed in Bun but hasn't shipped in a stable release yet:a3464c6)Bun's
build_proxy_authorization()was encoding theProxy-Authorization: Basic <...>header with the base64url alphabet (-/_, no padding) instead of the standard alphabet (+//, with=) that RFC 7617 requires. Plainuser:passcredentials encode identically in both, so it worked by accident — but credentials containing special characters do not.This directly affects us: srt's loopback proxy now authenticates requests and parse-compares the
Proxy-Authorizationheader (#310). A credential bun encodes with base64url won't match what srt decodes with the standard alphabet, so the request is rejected. The fix is canary-only and not in 1.3.14.What changed
setup-bunaction:bun-version: 1.3.14→canarybun.sh/install | bash→bash -s "canary"The
release.ymlpublish pipeline is intentionally left pinned, so production builds stay reproducible.After merge
This is a stopgap. Once the fix ships in a stable Bun release, re-pin both legs to that version and drop canary.