Bump bun to 1.3.13 for macOS 26 AMFI compatibility#74
Merged
travis-hoover-glean merged 1 commit intomainfrom Apr 29, 2026
Merged
Bump bun to 1.3.13 for macOS 26 AMFI compatibility#74travis-hoover-glean merged 1 commit intomainfrom
travis-hoover-glean merged 1 commit intomainfrom
Conversation
Bun 1.3.12's `--compile` output is completely unsigned, which macOS 26
rejects via AMFI ("Attempt to execute completely unsigned code (must be
at least ad-hoc signed)"), killing the resulting `glean-mdm` binaries
with SIGKILL on launch. Bun 1.3.13 ad-hoc signs compiled binaries
(`flags=adhoc,linker-signed`), which satisfies AMFI and lets the
binaries run locally on Apple Silicon again.
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
--compileoutput is unsigned, and macOS 26 AMFI kills unsigned executables on launch (exit 137), soglean-mdmbinaries built frombuild.shwon't run locally on Apple Silicon.Signature=adhoc,flags=0x20002(adhoc,linker-signed)), which satisfies AMFI.Test plan
./build.shcodesign -dv dist/glean-mdm-darwin-arm64./dist/glean-mdm-darwin-arm64 --version→v1.0.0