Skip to content

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

Merged
matt-edmondson merged 1 commit into
mainfrom
fix/126-regenerate-compat-suppressions
Nov 4, 2026
Merged

matt-edmondson merged 1 commit into
mainfrom
fix/126-regenerate-compat-suppressions

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Fixes #126

What changed

RunCommand/CompatibilitySuppressions.xml was regenerated with -p:ApiCompatGenerateSuppressionFile=true against the pinned ktsu.Sdk 2.31.2.

  • Before: 21 suppressions. Ten of them no longer match anything, because Polyfill 11.4.5 changed which shim members it emits per target framework. They cover NullabilityInfo.*, ExperimentalAttribute.UrlFormat and DefaultInterpolatedStringHandler across the net5.0/net6.0/net7.0 pairs. Package validation reports them as "Unnecessary suppressions found" and pack fails.
  • After: 11 suppressions. The diff only deletes lines (−60), so the 11 that remain are unchanged.

This is the same regeneration as SvnToGit#153, Containers#124 and CaseConverter#151. There is no code change.

Verification

Run locally on SDK 10.0.403:

dotnet pack RunCommand/RunCommand.csproj -c Release -p:SolutionDir=<root>/ -p:SolutionName=RunCommand
  • 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.RunCommand.1.9.6.nupkg and .snupkg.
  • dotnet test --project RunCommand.Test: 64 passed, 2 skipped, 0 failed.

Once this merges, the Release job should publish the #95 fix.


Generated by Claude Code

…mp [patch]

Polyfill 11.4.5 changed which shim members are emitted per target framework,
so 10 of the 21 suppressions (NullabilityInfo.*, ExperimentalAttribute.UrlFormat
and DefaultInterpolatedStringHandler between net5.0/net6.0/net7.0) no longer
match anything and package validation failed the Release step with
"Unnecessary suppressions found". Regenerated with
-p:ApiCompatGenerateSuppressionFile=true; the 11 that remain are still needed.

Fixes #126

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

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

Development

Successfully merging this pull request may close these issues.

No release since Oct 10: pack fails on stale CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump, so the #95 fix isn't on NuGet

1 participant