You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release: ship debug-symbol sidecars per REL-009 #296
[profile.release]: debug = "line-tables-only", no build-time stripping of debug info. Linux split-debuginfo = "off", macOS packed.
Post-link split on Linux (objcopy --only-keep-debug → strip --strip-debug → objcopy --add-gnu-debuglink), macOS .dSYM, Windows .pdb. Logic goes in ci/*.py with tests, copied from forge-ci/soldr .github/scripts/stage_release_binaries.py.
Publish <name>-v<version>-<triple>-symbols.tar.zst per binary and target, listed in SHA256SUMS. A missing sidecar fails the release.
Verify with a dry-run release: the shipped binary is stripped, the sidecar matches (debuglink/UUID), and a deliberate panic backtrace symbolizes. Record before/after sizes in the PR.
Owner rule (2026-11-28): symbol sidecars go on the GitHub release ONLY. No .debug/.dSYM/.pdb/.dwp/-symbols.tar.zst file may be in any PyPI upload (wheel or sdist), and the wheel binary must be the stripped one. Add a check that fails the release if a wheel contains debug symbols or sidecar files.
Blocker: the wheel lint rejects .debug_gdb_scripts
ci/release_artifact_lint.py (_elf_debug_sections, line 48) treats every section named .debug_* as debug info:
ValueError: symbols in wheel fastled-2.0.23-py3-none-manylinux_2_28_aarch64.whl: ["fastled/bin/fastled: unstripped debug sections ['.debug_gdb_scripts']"]
.debug_gdb_scripts is not DWARF. rustc emits it as a small loaded (SHF_ALLOC) section that tells gdb which pretty-printers to load, and strip --strip-debug is meant to keep it. The binary itself is correctly stripped. Fix: exclude .debug_gdb_scripts in the lint (or match only non-ALLOC sections), then re-run the dry-run. This is a false positive in the lint, not a missing strip.
Sidecars (all 6 targets present; stage_symbols.py check passed in the preflight)
SHA256SUMS: not verified. In a dry-run create-release is skipped, so stage_symbols.py sums never runs. From the workflow logic, create-release copies every *-symbols.tar.zst into release/ before sums --dir release hashes every file there, so each sidecar would be listed. That only gets observed on a real release.
A missing sidecar fails the release:stage_symbols.py check raises SidecarError("missing debug-symbol sidecars for: ...") when any of the 6 TARGETS is absent, and raises again for an empty one. It runs in artifact-preflight, which create-tag needs, and again inside create-release before upload. There is no skip path.
Wheel contents (linux x86_64 wheel, build run 46277958234)
No .debug/.dSYM/.pdb/.dwp/-symbols member in the wheel.
fastled/bin/fastled is byte-identical to the release binary (cmp), and readelf -S shows no .debug_info/.debug_line/etc. The only sections left are .debug_gdb_scripts (see above) and .gnu_debuglink -> fastled.debug.
file still says "not stripped": strip --strip-debug keeps .symtab, so function names stay in the binary but file/line data does not.
Symbolization (Linux x86_64 binary + its sidecar)
Binary alone: addr2line -f -e fastled 0x636fe0 -> fastled::main / ??:? (no line info).
With fastled.debug next to it (found through the debuglink): fastled::main / ./crates/fastled-cli/src/main.rs:105.
gdb backtrace through the debuglink. This was a breakpoint on write during fastled --version, not a real panic:
#1 std::sys::fd::unix::FileDesc::write () at library/std/src/sys/fd/unix.rs:346
#6 std::fs::write::inner () at library/std/src/fs.rs:422
#8 touch_last_used () at crates/fastled-cli/src/runtime.rs:573
#9 ensure_runtime_copy () at crates/fastled-cli/src/runtime.rs:328
#10 maybe_reexec_from_managed_runtime () at crates/fastled-cli/src/runtime.rs:141
#11 main () at crates/fastled-cli/src/main.rs:107
Activity
zackees commentedon Nov 28, 2026
Owner rule (2026-11-28): symbol sidecars go on the GitHub release ONLY. No
.debug/.dSYM/.pdb/.dwp/-symbols.tar.zstfile may be in any PyPI upload (wheel or sdist), and the wheel binary must be the stripped one. Add a check that fails the release if a wheel contains debug symbols or sidecar files.fix(release): ship the staged stripped binary in the wheel; stub zstd…
feat/296 symbol sidecars (#297)
zackees commentedon Nov 29, 2026
REL-009 dry-run verification at e053b91 (merge of #297)
Dry-run: https://github.com/FastLED/cli/actions/runs/46280533130 (
dry_run=true). It failed atartifact-preflight, and nothing was tagged or published. Full coverage at the SHA passed first: https://github.com/FastLED/cli/actions/runs/46269481571 (all 29 platform workflows dispatched at the SHA).Blocker: the wheel lint rejects
.debug_gdb_scriptsci/release_artifact_lint.py(_elf_debug_sections, line 48) treats every section named.debug_*as debug info:.debug_gdb_scriptsis not DWARF. rustc emits it as a small loaded (SHF_ALLOC) section that tells gdb which pretty-printers to load, andstrip --strip-debugis meant to keep it. The binary itself is correctly stripped. Fix: exclude.debug_gdb_scriptsin the lint (or match only non-ALLOC sections), then re-run the dry-run. This is a false positive in the lint, not a missing strip.Sidecars (all 6 targets present;
stage_symbols.py checkpassed in the preflight)SHA256SUMS: not verified. In a dry-run
create-releaseis skipped, sostage_symbols.py sumsnever runs. From the workflow logic,create-releasecopies every*-symbols.tar.zstintorelease/beforesums --dir releasehashes every file there, so each sidecar would be listed. That only gets observed on a real release.A missing sidecar fails the release:
stage_symbols.py checkraisesSidecarError("missing debug-symbol sidecars for: ...")when any of the 6 TARGETS is absent, and raises again for an empty one. It runs inartifact-preflight, whichcreate-tagneeds, and again insidecreate-releasebefore upload. There is no skip path.Wheel contents (linux x86_64 wheel, build run 46277958234)
.debug/.dSYM/.pdb/.dwp/-symbolsmember in the wheel.fastled/bin/fastledis byte-identical to the release binary (cmp), andreadelf -Sshows no.debug_info/.debug_line/etc. The only sections left are.debug_gdb_scripts(see above) and.gnu_debuglink->fastled.debug.filestill says "not stripped":strip --strip-debugkeeps.symtab, so function names stay in the binary but file/line data does not.Symbolization (Linux x86_64 binary + its sidecar)
addr2line -f -e fastled 0x636fe0->fastled::main/??:?(no line info).fastled.debugnext to it (found through the debuglink):fastled::main/./crates/fastled-cli/src/main.rs:105.writeduringfastled --version, not a real panic:Sizes vs v2.0.22 (linux x86_64)
fastledbinaryrelease_artifact_lint: allow .debug_gdb_scripts (not DWARF, kept by s…
zackees commentedon Nov 29, 2026
Dry-run release is green on main ac9a8e8 after #298 (allowlists
.debug_gdb_scripts; real DWARF sections still fail; ref forge-ci/ci.yml#574).