Fix and validate C# package publishing - #145
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #142
- Remove conflicting DebugType=embedded setting that prevented symbol package creation - Symbol packages now generate successfully with snupkg format - Update release notes to reflect the fix 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
double check that all CI/CD warnings, errors, false positive and false negative are fully solved in this pull request, check how CI/CD operated on default branch and so on. |
|
🤖 AI Work Session Started Starting automated work session at 2026-09-16T17:16:27.447Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback. Runtime: solve |
- Fixed CS8600 null warnings in InterfacesTests.cs by making interface variables nullable - Fixed deprecated set-output command warning by using GITHUB_OUTPUT environment file - Fixed NU5048 PackageIconUrl deprecation warning by switching to modern PackageIcon with local icon file - Updated all actions/checkout from v1/v3 to v4 for consistency - Fixed typos in workflow job names (pusnToNuget -> pushToNuget, publiseRelease -> publishRelease) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Completed the requested end-to-end CI/CD audit. The last C# run on The updated branch now:
Latest head One GitHub behavior is worth calling out explicitly: the current auto-merge run still reports the old checkout and non-Dependabot warnings because The branch includes current |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (234.1K + 8.2M cached) input tokens, 47.7K output tokens, $9.860274 cost 🤖 Models used:
📎 Log file uploaded as Gist (3490KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
🎉 Auto-mergedThis pull request has been automatically merged by hive-mind.
Auto-merged by hive-mind with --auto-merge flag |
Summary
NU5017failures in both C# package publishing jobs while retaining embedded portable PDBs.0.5.2for the repaired release.Root cause and fix
The project requested a separate
.snupkgwithIncludeSymbolswhile also settingDebugTypetoembedded. Embedded symbols leave no standalone PDB content for the symbol package, so the SDK attempted to create an empty package and failed withNU5017.This keeps
DebugType=embedded(the behavior added for GitHub Package Registry debugging) and removes the incompatible separate-symbol-package request. A regression test reads the built PE debug directory and proves that its portable PDB is still embedded.CI/CD audit
The failing default-branch C# run showed:
NU5017;CS8600warnings, deprecatedPackageIconUrl, a missing package README advisory, and deprecatedset-outputusage;main.This PR addresses those paths by:
.nupkg, no.snupkg, and the expected DLL, README, and icon;main;tj-actions/changed-filesto its Node 24-based v47 release;Verification
.github/scripts/validate-csharp-package.sh,actionlint, README badge tests/check, shell syntax validation, andgit diff --checkall passed.The current auto-merge check still displays the two warnings emitted by the old workflow on
main. This is expected forpull_request_target, which loads its workflow definition from the base branch rather than from this PR. The changed workflow in this PR removes both causes; GitHub can first execute that version after merge.Resolves #142.
Also addresses the warning cleanup tracked in #143.