Skip to content

Bump metadata version#1668

Merged
jevansaks merged 1 commit intomicrosoft:mainfrom
DoctorKrolic:dev/bump-metadat-version
Apr 3, 2026
Merged

Bump metadata version#1668
jevansaks merged 1 commit intomicrosoft:mainfrom
DoctorKrolic:dev/bump-metadat-version

Conversation

@DoctorKrolic
Copy link
Copy Markdown
Contributor

Bumps metadata version. It took ober an hour on my machine, but I swear I ran all the tests including the "full generation" ones, added a little test fix and all tests where green


// Filter out SYSLIB1092 diagnostics (related to DisableRuntimeMarshalling) as they are expected
var filteredGeneratorDiagnostics = generatorDiagnostics.Where(d =>
!(d.Descriptor.Id == "SYSLIB1092" && d.Descriptor.Title.ToString().Contains("The return value in the managed definition will be converted to an additional 'out' parameter at the end of the parameter list when calling the unmanaged COM method.", StringComparison.OrdinalIgnoreCase)));
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

English is not my main language, so due to the message check I first got a bunch of red tests because of to this diagnostic. The message check isn't necessary here since diagnostic ID on its own is its unique identifier, but I figured even a better fix: this diagnostic is reported in our generated files, which have suppressions for it on the top. So it is better to filter out suppressed diagnostics in general since it is more representative of a real-world usage

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I like that idea! Thanks, I just did not know about that flag.

@DoctorKrolic
Copy link
Copy Markdown
Contributor Author

@jevansaks PTAL

@jevansaks jevansaks enabled auto-merge (squash) April 3, 2026 02:02
@DoctorKrolic
Copy link
Copy Markdown
Contributor Author

CI seems to be stuck, can you restart it please?

@jevansaks
Copy link
Copy Markdown
Member

/azp run

@jevansaks jevansaks merged commit 520eb26 into microsoft:main Apr 3, 2026
3 checks passed
@DoctorKrolic DoctorKrolic deleted the dev/bump-metadat-version branch April 3, 2026 19:04
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.

2 participants