Repository navigation
fix(dotnet): report observed method metadata changes - #688
Closed
rudycelekli wants to merge 3 commits into
Closed
rudycelekli wants to merge 3 commits into
rudycelekli wants to merge 3 commits into
Conversation
added 3 commits
October 6, 2026 02:33
Signed-off-by: RudyCelekli <[email protected]>
Signed-off-by: RudyCelekli <[email protected]>
Signed-off-by: RudyCelekli <[email protected]>
morluto
approved these changes
Oct 6, 2026
morluto
left a comment
Owner
There was a problem hiding this comment.
Approve: narrow metadata dimension for MethodDef flags/impl-flags diffs, mirroring existing field-flags handling and firing before body-coverage decisions. Additive schema change with regenerated catalog/manifest. Tests assert changed/metadata with identical IL hash. Optional follow-up: surface flag values in item identity since it currently shows identical left/right. Checks green.
Owner
|
Superseded by #705, which cherry-picks this change (plus 13 sibling fixes) onto current main with conflict resolution and regenerated catalogs. Closing to keep one reviewable merge unit. |
Owner
|
Thanks, @rudycelekli, for your work on “fix(dotnet): report observed method metadata changes.” I appreciate your contribution to REA. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
compare-managed-memberscompares CIL and signatures but omits the already-observed MethodDef flags and implementation flags. Changing a method from public to private, or addingSynchronized, can therefore produceunchangedeven though the method's metadata changed. Field comparisons already consider their flags.Change
Add a narrow
metadatamethod dimension when either observed flags value differs, before body coverage decisions. Preserve existing method pairing, normalized IL hashes and partial-body handling. Synchronize generated tool schemas/catalog digests and document that this is static metadata evidence.Verification
Owned PE files were inspected and compared through the public filesystem
compareManagedMemberPathsworkflow. Before this patch both public→private and ordinary→synchronized cases were incorrectlyunchanged. After it they arechangedwithmetadata; their IL hashes remain identical. A different-MVID control with the same method flags remains unchanged.npm run checktasks andnpm run docs:checkpass using Node 24.18.0 and locked dependencies.npm run verify:managed: 11 source-owned static-format scenarios pass. Optional operator manifest/ILSpy verification is unconfigured and not claimed.This detects observed method metadata changes. It does not execute the PE, prove CLR behavior, or expand the normalized CIL hash contract.
AI assistance was used for investigation, implementation, tests, description and independent patch review. Actual filesystem proof and limitations are stated above.
CI follow-up
Hosted Docs Generation exposed a missing generated managed-conformance manifest skill digest after the synchronized catalog digest changed the skill metadata. The manifest generator's change is exactly the skill SHA and enclosing manifest ID; it changes no claims or verification statuses. The required file has been regenerated and exact
npm run docs:checkand all fivenpm run checktasks pass locally. Signed repair head41d232f519df72e64f4e12c4edfb80b5aecaa517includes the required generated manifest. Hosted reruns are pending, not claimed green here.The subsequent upstream update introduced a generated manifest conflict. Signed integration head
a41ad585605292170f965a32eaf2eaa30b74a810includes current upstreamb6c21b1, preserving its Command Code, skill and incur 0.6.1 updates. The conflict was resolved by regeneration from exact merged source. Fresh locked dependency installation, 12 focused tests, managed static verification, documentation checks, all five source checks and the actual owned-file comparison proof pass on that merged source. Hosted reruns are pending.Final integration head
a41ad585605292170f965a32eaf2eaa30b74a810completed all 18 hosted checks successfully, including Docs Generation and both package integration lanes.