Skip to content

Regenerate CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump [patch] - #156

Merged
matt-edmondson merged 1 commit into
mainfrom
claude/issue-153-regenerate-compat-suppressions
Nov 4, 2026
Merged

matt-edmondson merged 1 commit into
mainfrom
claude/issue-153-regenerate-compat-suppressions

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Fixes #153

What changed

Regenerated CodeBlocker/CompatibilitySuppressions.xml with dotnet pack -c Release -p:ApiCompatGenerateSuppressionFile=true, as done for the same failure in Invoker, Schema and others.

  • Added 10 CP0014 and 1 CP0015 entries. All are on Polyfill's embedded ExperimentalAttribute and DefaultInterpolatedStringHandler shims (net8.0→net9.0 and net9.0→net10.0), none on CodeBlocker's own API.
  • Removed all 5 old entries (4 CP0016 net7.0→net8.0, 1 CP0008 netstandard2.0→2.1), which ApiCompat reported as "Unnecessary suppressions found".

These match the CI log on main, which prints each error three times: 30 CP0014, 3 CP0015, 12 CP0016 and 3 CP0008.

Verification (SDK 10.0.403, Linux)

  • Before: dotnet pack CodeBlocker/CodeBlocker.csproj -c Release fails with the same CP0014/CP0015 errors and unnecessary-suppression errors as CI.
  • After: the same command, with validation on and no suppression generation, builds ktsu.CodeBlocker.2.3.6.nupkg with no errors.
  • dotnet test passes: 249 of 249.

Not verified: the Windows release runner. The diagnostics are the same set CI reports, so I expect the result to carry over, but the next main run will confirm it.


Generated by Claude Code

…mp [patch]

Polyfill 11.4.5 changed which shim members are emitted per target
framework. Package validation now reports 10 CP0014 and 1 CP0015 on the
embedded ExperimentalAttribute and DefaultInterpolatedStringHandler shims
(net8.0 to net9.0 and net9.0 to net10.0), and all 5 existing suppressions
(4 CP0016 between net7.0 and net8.0, 1 CP0008 between netstandard2.0 and
2.1) no longer match anything. Release has failed at pack on every main
run since Oct 14. The CI log lists each of these three times.

Regenerated with -p:ApiCompatGenerateSuppressionFile=true. The diagnostics
are all on Polyfill shim types, none on CodeBlocker's own API.

Fixes #153

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW2yWAiM4Xm9iHUvALj
@sonarqubecloud

sonarqubecloud Bot commented Nov 1, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants