CI: keep full symbols in release builds #713

Manually merged
github merged 1 commit from gh-pr/713/head into gh-pr/713/base 2026-11-26 04:30:18 +00:00
Owner

@⁠bmjask on GitHub · 2026-11-24 03:59 UTC · original
bmjask:build/full-release-symbols → main · +5 −0 · 1 files · 1 commits · merged 2026-11-24 04:16 UTC

Alpha builds need full optimized-build symbols so release-only crashes can be inspected with locals and type information, without rebuilding a different diagnostic executable. This intentionally requests full debuginfo rather than the line-tables-only scope of #600.

What is in it

  • Cargo.toml: keep release optimization and set profile.release.debug = 2 so Cargo emits full debug information into xcl.pdb.

Tested

  • Commit 4e0acbd.
  • Windows 11 build 26200; Intel Core i9-12900K; NVIDIA GeForce RTX 4090, driver 610.88; Rust 1.100.0 MSVC; DXC 1.9.2602.17.
  • cargo build --release -p xcl: passed; xcl.exe 6,791,680 bytes and xcl.pdb 74,788,864 bytes.
  • .\scripts\test.ps1: 701 passed, 0 failed, 41 ignored; 2 GPU tests explicitly skipped because this adapter has no native wave64.

Not tested

  • AMD and Intel GPUs.
  • Build time, linker memory, artifact-download size, and runtime performance comparisons against release debug = 0 or line tables only.
  • Retail regression smoke; this changes only Cargo's release debug-information profile, not crates/xcl/src.

AI use

  • OpenAI Codex with GPT-5 implemented and reviewed the one-file change, ran the Windows release build and full workspace suite, and drafted this description. The human requested the full-symbol policy and authorized this PR.
**@⁠bmjask** on GitHub · 2026-11-24 03:59 UTC · [original](https://github.com/xcl-dev/xcl/pull/713) `bmjask:build/full-release-symbols` → `main` · +5 −0 · 1 files · 1 commits · merged 2026-11-24 04:16 UTC Alpha builds need full optimized-build symbols so release-only crashes can be inspected with locals and type information, without rebuilding a different diagnostic executable. This intentionally requests full debuginfo rather than the line-tables-only scope of #600. **What is in it** - `Cargo.toml`: keep release optimization and set `profile.release.debug = 2` so Cargo emits full debug information into `xcl.pdb`. **Tested** - Commit `4e0acbd`. - Windows 11 build 26200; Intel Core i9-12900K; NVIDIA GeForce RTX 4090, driver 610.88; Rust 1.100.0 MSVC; DXC 1.9.2602.17. - `cargo build --release -p xcl`: passed; `xcl.exe` 6,791,680 bytes and `xcl.pdb` 74,788,864 bytes. - `.\scripts\test.ps1`: 701 passed, 0 failed, 41 ignored; 2 GPU tests explicitly skipped because this adapter has no native wave64. **Not tested** - AMD and Intel GPUs. - Build time, linker memory, artifact-download size, and runtime performance comparisons against release `debug = 0` or line tables only. - Retail regression smoke; this changes only Cargo's release debug-information profile, not `crates/xcl/src`. **AI use** - OpenAI Codex with GPT-5 implemented and reviewed the one-file change, ran the Windows release build and full workspace suite, and drafted this description. The human requested the full-symbol policy and authorized this PR.
Alpha release-only crashes need locals, types, functions, files, and line information without requiring a separate diagnostic binary. Keep release optimization while asking Cargo to emit full debuginfo into the PDB.

Measured on Windows: the optimized xcl.pdb is 74,788,864 bytes, and the full workspace suite passes.

Assisted-by: OpenAI Codex (GPT-5)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:30:16 +00:00
github manually merged commit 4e0acbd4c6 into gh-pr/713/base 2026-11-26 04:30:18 +00:00
Author
Owner

@⁠nicolasabosch on GitHub · 2026-11-24 04:48 UTC · original

GPT-5??

**@⁠nicolasabosch** on GitHub · 2026-11-24 04:48 UTC · [original](https://github.com/xcl-dev/xcl/pull/713#issuecomment-7122359879) GPT-5??
This discussion has been locked. Commenting is limited to contributors.
No description provided.