Skip to content

Publish debug symbols on release - #666

Merged
notheotherben merged 1 commit into
mainfrom
feat/publish-symbols
Aug 26, 2026
Merged

Publish debug symbols on release#666
notheotherben merged 1 commit into
mainfrom
feat/publish-symbols

Conversation

@notheotherben

Copy link
Copy Markdown
Member

Publishes debug symbols to symbols.sierrasoftworks.com on every release via SierraSoftworks/symbols@v1, following the pattern established in grey (SierraSoftworks/grey#1151, #1152). Uploads authenticate with the workflow's OIDC id-token (no secrets); the server derives the build ID from the file itself and auto-creates the project from the token's repository claim. On Linux/macOS the action re-strips the binary after splitting, so release assets keep their usual size.

Release builds now keep line tables through the link (CARGO_PROFILE_RELEASE_DEBUG=1 + STRIP=none, overriding the profile's debug=false/strip=debuginfo); PR/push builds keep the profile defaults.

🤖 Generated with Claude Code

…lease

Release builds now keep line tables through the link (CARGO_PROFILE_RELEASE_DEBUG=1 + STRIP=none, overriding the profile's debug=false/strip=debuginfo); PR/push builds keep the profile defaults.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 26, 2026 17:50
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.83%. Comparing base (9e93fd9) to head (1fb65a9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #666   +/-   ##
=======================================
  Coverage   76.83%   76.83%           
=======================================
  Files          31       31           
  Lines        2612     2612           
=======================================
  Hits         2007     2007           
  Misses        605      605           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the Rust release workflow to publish debug symbols to symbols.sierrasoftworks.com on GitHub Releases using OIDC authentication, while ensuring release builds retain line tables for symbolization.

Changes:

  • Adds an explicit job permissions block to enable OIDC id-token usage and allow release asset uploads.
  • Overrides Cargo release-profile settings during release events to keep line tables and avoid stripping at link time.
  • Adds a SierraSoftworks/symbols@v1 step to upload symbols on release builds.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +98 to +104
# id-token lets the symbols action authenticate to the symbol server with
# this workflow's OIDC identity; contents stays writable for the release
# asset upload (an explicit permissions block replaces the defaults).
permissions:
contents: write
id-token: write

@notheotherben
notheotherben merged commit 3cbb879 into main Aug 26, 2026
11 checks passed
@notheotherben
notheotherben deleted the feat/publish-symbols branch August 26, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants