[codex] Restore release symbol artifacts with line tables#26202
Merged
Conversation
nornagon-openai
commented
Jun 3, 2026
nornagon-openai
commented
Jun 3, 2026
shijie-oai
reviewed
Jun 4, 2026
…e-symbol-line-tables # Conflicts: # .github/workflows/rust-release.yml
shijie-oai
approved these changes
Jun 4, 2026
…e-symbol-line-tables # Conflicts: # .github/workflows/rust-release-windows.yml # .github/workflows/rust-release.yml
anp-oai
approved these changes
Jun 5, 2026
…e-symbol-line-tables # Conflicts: # .github/workflows/rust-release.yml
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
line-tables-onlydebuginfo instead of full debuginfo.bwrapbinary before hashing it so the embedded digest matches the distributed bytes.Root cause
The first symbol-artifact implementation enabled
CARGO_PROFILE_RELEASE_DEBUG=full. In the June 2 release runs, macOS ARM primary builds reached the 90-minute timeout while still insideCargo build. After the symbol changes were reverted, the same primary build completed in about 22 minutes. The archive step itself completed in tens of seconds when reached.Rust's
line-tables-onlydebuginfo level preserves function names and source locations for symbolication without emitting the heavier variable and type information from full debuginfo.Validation
just fmtfromcodex-rs.just test-github-scriptsfrom the repository root: 23 tests passed.bash -nandshellcheckon.github/scripts/archive-release-symbols-and-strip-binaries.sh.git diff --check.line-tables-only, archived its dSYM through the restored script, stripped the production binary, and verified thatatosresolvessymbol_smoke_functiontomain.rs:2.objcopyandstripcommands.Follow-up
The release workflow only runs for tags or manual dispatches, so CI cannot dry-run the full release matrix on this PR. The next release run will verify runner time and memory behavior under
line-tables-only.