Skip to content

v0.6.2: portable DebugType so .snupkg actually ships symbols#2

Merged
StuartMeeks merged 1 commit intomainfrom
portable-debugtype-and-bump
May 3, 2026
Merged

v0.6.2: portable DebugType so .snupkg actually ships symbols#2
StuartMeeks merged 1 commit intomainfrom
portable-debugtype-and-bump

Conversation

@StuartMeeks
Copy link
Copy Markdown
Owner

@StuartMeeks StuartMeeks commented May 3, 2026

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 .pdb files; debug info is embedded inside the .dll). nuget.org rejects empty symbol packages with HTTP 400. Until now the workflow's upload-artifact filter (*.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 .pdb alongside the .dll. The .snupkg now contains it; nuget.org accepts the symbol upload; consumers debugging into the library get sources via the symbol server.

upload-artifact path also changed from *.nupkg to *nupkg so both files survive the artifact handoff.

Test plan

  • CI green (including the macOS Keychain test job)
  • After merge: tag v0.6.2, verify nuget.org indexes both .nupkg and .snupkg

🤖 Generated with Claude Code

- 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>
@StuartMeeks StuartMeeks merged commit b23cbc5 into main May 3, 2026
3 checks passed
@StuartMeeks StuartMeeks deleted the portable-debugtype-and-bump branch May 3, 2026 11:16
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.

1 participant