Repository navigation
ci : select the http integration suite for plugin changes that match no protocol keyword - #8081
Merged
Aias00 merged 1 commit intoOct 24, 2026
Conversation
…no protocol keyword.
Aias00
approved these changes
Oct 24, 2026
Aias00
left a comment
Contributor
There was a problem hiding this comment.
@/tmp/rv8079/review_8081.md
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.
Why
.github/scripts/resolve-test-case-matrix.shselects integration cases from the changed files. Inmode=integration, ashenyu-plugin/**change only selects a case when it isshenyu-plugin/pom.xml,plugin-api,plugin-base, or when the path itself contains a protocol keyword (http|divide|springmvc|dubbo|grpc|websocket|rocketmq|logging|rewrite|tracing|https|cluster).A change under
shenyu-plugin/shenyu-plugin-cache/**matches none of them, sointegration_casesstays empty,run_integration=false, and everybuild (shenyu-integrated-test-*)job is skipped.That is how the current master breakage got in. #7662 (
CachedResponse.capture) started rejecting responses that carryVary; the change lives inshenyu-plugin-cache, so its PR ran no integration suite at all. #7901 then madeCrossFilteraddVary: Originunconditionally, which turned that rejection into "nothing is ever cached", andCachePluginTest.testMemoryModle:54/testRedisModle:73went red. The regression could only surface through a PR that happened to select the full matrix — never through the plugin change that caused it.What
A fallback at the end of
map_domain_path: ashenyu-plugin/**change that matched no earlier rule now selectsshenyu-integrated-test-http, inintegrationmode only.The http suite is the one that drives the whole plugin chain against a real gateway end to end, and it already hosts the combination tests (including
CachePluginTest), so it is the natural default for a plugin that names no protocol.Impact
divide,*http*,grpc,dubbo,rewrite,tracing, …) are matched earlier and keep their current behaviour.e2eandk8s-ingressmatrices are untouched — this does not add compose runs.shenyu-integrated-test-httpjob (~10 minutes) for plugin PRs that used to run no integration test. If that is considered too broad, the same one-line rule can be narrowed toshenyu-plugin/shenyu-plugin-cache/*.Verification
Ran the script under bash 5 with jq, feeding
CHANGED_FILES_JSON/CI_CASE_MODEdirectly:shenyu-plugin-cache/.../CachedResponse.javashenyu-integrated-test-httpshenyu-plugin-cachefilesshenyu-integrated-test-httpshenyu-plugin-cache/pom.xmlshenyu-integrated-test-httpshenyu-plugin-divide/.../DividePlugin.javahttp,sdk-http(unchanged)shenyu-plugin-api/...full_required=trueshenyu-web/.../CrossFilter.javafull_required=truedocs/readme.mdshenyu-plugin-cache+shenyu-webfull_required=trueshenyu-plugin-cache/...run_e2e=falseshenyu-web/...full_required=trueThis PR only touches
.github/, whichis_ignored_changeskips, so its ownitworkflow will select nothing — the table above is the verification.Related
#8079 fixes the
Varyregression itself. With this change, a futureshenyu-plugin-cachePR would exerciseshenyu-integrated-test-httpand fail before merge instead of after.