v0.6.2: portable DebugType so .snupkg actually ships symbols#2
Merged
StuartMeeks merged 1 commit intomainfrom May 3, 2026
Merged
v0.6.2: portable DebugType so .snupkg actually ships symbols#2StuartMeeks merged 1 commit intomainfrom
StuartMeeks merged 1 commit intomainfrom
Conversation
- DebugType=embedded produced an empty .snupkg (no .pdb files; debug info was inside the .dll). nuget.org rejects empty symbol packages with HTTP 400. The CI artifact filter (`*.nupkg`) silently dropped the broken symbol package on its way to the publish job, so the failure stayed invisible, but no symbols ever reached nuget.org. Switching to DebugType=portable produces a real .pdb alongside the .dll; the .snupkg now contains it. - ci.yml: upload-artifact path is now `*nupkg` (matches both .nupkg and .snupkg) so the publish job pushes both. The .nupkg is also slightly smaller as a side effect (debug info no longer embedded). No API or behaviour changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Same fix as the rest of the NextIteration.SpectreConsole.* family.
The previous combo —
IncludeSymbols=true+SymbolPackageFormat=snupkg+DebugType=embedded— produces an empty.snupkg(no.pdbfiles; debug info is embedded inside the.dll). nuget.org rejects empty symbol packages with HTTP 400. Until now the workflow'supload-artifactfilter (*.nupkg) silently dropped the symbol package on its way to the publish job, so the failure stayed invisible — but no symbols ever reached nuget.org.<DebugType>portable</DebugType>produces a real.pdbalongside the.dll. The.snupkgnow contains it; nuget.org accepts the symbol upload; consumers debugging into the library get sources via the symbol server.upload-artifactpath also changed from*.nupkgto*nupkgso both files survive the artifact handoff.Test plan
v0.6.2, verify nuget.org indexes both.nupkgand.snupkg🤖 Generated with Claude Code