Repository navigation
[ISSUE #8202] Publish an externally consumable LEGACY plugin contract kit - #34
Open
yangjj-iso wants to merge 1 commit into
Open
yangjj-iso wants to merge 1 commit into
yangjj-iso wants to merge 1 commit into
Conversation
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.
External plugin authors need to test against the production gateway chain from packaged dependencies. Extend the existing test-support artifact with a LEGACY contract session and a parentless consumer example, using ShenyuWebHandler rather than a copied executor.
Cover subscription deferral, terminal/error/cancellation ownership, continuation/decorator behavior, cache removal and explicit coverage evidence. Document that LEGACY forks restart from the chain head, and restore shared fixture context after use. The kit remains test-only; it does not introduce another runtime executor or claim GRAPH/release-matrix coverage.
Fixes apache/shenyu#8202.
Validation: 18 producer tests and 4 tests in an independent non-reactor consumer passed. The verification script rebuilds pinned core/kit artifacts, stages JARs/POMs, uses a fresh isolated consumer repository, and compares SHA256 for every resolved ShenYu JAR. The original clean proof pins core b46bf15c3a243e926994cb32c3f0a23eadc41adf (2.7.2-SNAPSHOT); the source of the kit is unchanged by splitting this branch. Checkstyle and RAT passed. See CONTRACT-KIT.md and script/plugin-store/verify-legacy-contract-consumer.ps1 for reproduction and compatibility boundaries.