Repository navigation
test(apple): keep the same-named slice dyld fixture openable on x64 hosts - #2755
Merged
Merged
Conversation
…osts The test added in #2733 wrote a universal executable with only arm64e and arm64e.x1 slices. Target resolution requires a host-compatible slice, so on Linux x64 CI the CLI refused the bundle ("FAT binary has no host-compatible x64 architecture") and the test failed on main and every PR merge build. Add a plain x86_64 slice without LC_DYLD_ENVIRONMENT. The two arm64e slices still carry the settings under test, and the assertion counts the arm64e roots instead of all roots. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
This was referenced Oct 13, 2026
12 tasks done
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.
Problem
The CLI boundary test I added in #2733,
dylibResolutionCli.test.ts > reports each same-named slice's own embedded dyld environment, fails on Linux x64. That covers Test shard (1/6) and Portable tests on main and on every PR merge build:The fixture is a universal executable with only
arm64eandarm64e.x1slices. Target resolution (parseBinaryTarget) requires a slice the host can run, so an x64 host refuses the bundle before tracing starts. I wrote and verified the test only on Apple Silicon, wherearm64eis host-compatible.Fix
Only test data changes. A plain
x86_64slice with noLC_DYLD_ENVIRONMENTis added, so every CI host can open the bundle. The twoarm64eslices still carry the settings under test. The roots assertion now counts thearm64eroots (2) rather than all roots. The findings assertion is unchanged: onedyld-environment-presentfinding perarm64eslice, each with its own setting.Validation
npm run test:focused -- tests/boundary/cli/dylibResolutionCli.test.tsgives 11 passed.NODE_OPTIONS=--importwith a preload settingprocess.arch = "x64". This was a temporary local edit to the test environment, not committed.FAT binary has no host-compatible x64 architecture).format:checkpasses.The other current shard failure,
releaseCheckpoint.test.ts, is unrelated and is addressed by #2741.🤖 Generated with Claude Code