test(compat): gate real projects on structural convergence with pinned OverPy - #379
Merged
Merged
Conversation
…d OverPy Compile each entry of a pinned real project with pinned OverPy 9.7.10 and with opy-rs, parse both outputs with workshop-rs, and fail on any structural difference that is not a recorded exception. Differences are reported by section, item name and canonical path, not as text diffs. - opy-compat gains project-compare and a structural difference report; the semantic-WIR stage now carries the same differences. - structural-gate.json pins Bastion by full commit SHA (fetched at test time, not vendored, because of its non-commercial terms) and holds the exception records; stale exceptions fail the full run. - CI installs the pinned oracle and runs the gate. Fixes #364
Teakowa
requested changes
Sep 25, 2026
Teakowa
left a comment
Contributor
There was a problem hiding this comment.
One blocking correctness issue in the exception path.
A recorded difference could hide a later unrecorded one in the same rule or settings item.
Teakowa
requested changes
Sep 25, 2026
Teakowa
left a comment
Contributor
There was a problem hiding this comment.
The previous blocker is fixed. One remaining exception-path correctness issue still allows an unapproved regression to pass.
Teakowa
approved these changes
Sep 25, 2026
This was referenced Sep 25, 2026
Merged
Merged
Merged
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.
Summary
tools/overpy/structural_gate.py: compiles each entry of a pinned real project with pinned OverPy 9.7.10 and withopy-rs, parses both withworkshop-rs, and fails on any structural difference that is not a recorded exception.opy-compatgainsproject-compare; the corpus semantic-WIR stage now carries the same difference list.structural-gate.jsonpins Bastion (src/main.opy,src/externalMain.opy) by full commit SHA. It is fetched at test time, not vendored, because of its non-commercial terms.Verification
扩展 {block shape (no difference).opy-compattests, 36 Python tests, clippy-D warnings,differentialandrun_native.pypass locally. The new CI steps have not run on CI yet.Fixes #364