Skip to content

[codex] Publish release symbol artifacts#25649

Merged
nornagon-openai merged 6 commits into
mainfrom
nornagon/codex/release-symbol-artifacts
Jun 1, 2026
Merged

[codex] Publish release symbol artifacts#25649
nornagon-openai merged 6 commits into
mainfrom
nornagon/codex/release-symbol-artifacts

Conversation

@nornagon-openai
Copy link
Copy Markdown
Collaborator

@nornagon-openai nornagon-openai commented Jun 1, 2026

Why

Production Codex binaries are stripped for distribution, which leaves crashes and samples from released builds without the symbols needed for useful stack traces. Publish symbols as separate release assets so production artifacts stay small while released builds remain symbolicateable.

What changed

  • Add .github/scripts/archive-release-symbols-and-strip-binaries.sh to package platform-native symbols into codex-symbols-<artifact>.tar.gz assets while stripping the corresponding Unix binaries before signing.
  • Build release binaries with full debug information before producing distribution artifacts.
  • Publish macOS .dSYM bundles, Linux .debug files with .gnu_debuglink, and Windows .pdb files.
  • Strip Linux bwrap before computing its packaged-resource digest, but intentionally omit bwrap from symbol archives.
  • Preserve symbols artifacts in the unsigned macOS promotion flow.

Verification

  • Ran shellcheck and bash -n on .github/scripts/archive-release-symbols-and-strip-binaries.sh.
  • Parsed the modified workflow YAML files and ran git diff --check.
  • Built a macOS release smoke binary and verified that the archived .dSYM contains DWARF application source information and has the same UUID as the stripped production binary.
  • Built Linux smoke binaries and verified that the symbol archive contains codex.debug, excludes bwrap.debug, leaves the expected .gnu_debuglink in codex, and does not mutate the separately stripped bwrap digest.
  • Staged a Windows smoke archive and verified that it contains the expected .pdb file.

@nornagon-openai nornagon-openai requested a review from bolinfest June 1, 2026 17:06
@bolinfest bolinfest requested a review from anp-oai June 1, 2026 17:07
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ef21fca892

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/scripts/archive-release-symbols-and-strip-binaries.sh
@nornagon-openai nornagon-openai changed the title Add release symbol artifacts [codex] Publish release symbol artifacts Jun 1, 2026
@nornagon-openai
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Delightful!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Collaborator

@anp-oai anp-oai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable at a high level, few questions on the details

Comment thread .github/workflows/rust-release-windows.yml
Comment thread .github/workflows/rust-release.yml
Comment thread .github/workflows/rust-release.yml
@nornagon-openai nornagon-openai merged commit 75a08de into main Jun 1, 2026
31 checks passed
@nornagon-openai nornagon-openai deleted the nornagon/codex/release-symbol-artifacts branch June 1, 2026 22:49
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants