Skip to content

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

Open
matt-edmondson wants to merge 1 commit into
mainfrom
fix/regenerate-compat-suppressions
Open

matt-edmondson wants to merge 1 commit into
mainfrom
fix/regenerate-compat-suppressions

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Fixes #86

What changed

Invoker/CompatibilitySuppressions.xml was regenerated with -p:ApiCompatGenerateSuppressionFile=true against the pinned ktsu.Sdk. There is no code change.

  • Before: 281 suppressions. 270 of them no longer match anything, because Polyfill 11.4.5 changed which shim members it emits per target framework. 133 are CP0016 nullable-metadata entries between net7.0 and net8.0. The rest are CP0001, CP0002, CP0008, CP0014 and CP0015 entries across the other TFM pairs.
  • After: 11 suppressions. The diff only deletes lines (−1640 / +20 from re-wrapping), and the 11 that remain are unchanged.

The ~800 errors in the scheduled CI log (444 × CP0016, 216 × CP0001 and so on) are the "Unnecessary suppressions found" list, printed three times. The log has no error CPxxxx: Cannot … lines, so there are no new API diffs. The triage note asked whether the TFM set had changed. It hasn't: the stale entries cover the same net5.0–net10.0 and netstandard pairs the SDK still builds.

Verification

Run locally on SDK 10.0.403:

dotnet pack Invoker/Invoker.csproj -c Release -p:SolutionDir=<root>/ -p:SolutionName=Invoker
  • On main: fails with "Unnecessary suppressions found", the same failure as the Release job.
  • On this branch, from a clean bin/obj: exit 0. It produces ktsu.Invoker.1.4.5-pre.1.nupkg and .snupkg.
  • dotnet test --project Invoker.Test: 40 passed, 0 failed.

Once this merges, the open Invoker PRs (#87, #88) can ship when they land.


Generated by Claude Code

…mp [patch]

Polyfill 11.4.5 changed which shim members are emitted per target framework,
so 270 of the 281 suppressions no longer match anything (133 of them CP0016
nullable-metadata entries between net7.0 and net8.0, the rest CP0001/CP0002/
CP0008/CP0014/CP0015 entries across the other TFM pairs). Package validation
reported them as "Unnecessary suppressions found" and failed the Release step;
the ~800 errors in the CI log are that list printed three times, not new API
diffs. Regenerated with -p:ApiCompatGenerateSuppressionFile=true; the change
only deletes entries, and the 11 that remain are unchanged.

Fixes #86

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW5SEp6KyM6e9r7Pa7H
@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