Repository navigation
refactor(registry): prepare the external Eureka cutover - #7960
yangjj-iso wants to merge 3 commits into
Conversation
5 registry classpath tests, 5 example resolver tests and 7 registry dependency checks passed; Checkstyle and RAT passed. Signed-off-by: redyyang <3202137046@qq.com>
Aias00
left a comment
There was a problem hiding this comment.
Stream Agent analysis
FINAL synthesis of apache/shenyu PR #7960 (head aa42590): 17 partition reviews all PASS with complete_diff true and no blocking findings, covering removal/externalization of Eureka registry. However aggregated CI status shows passed=false (legacy pending) with 10 checks complete. Cross-file build/test verification incomplete.
Evidence
- Frozen review attachment: 17 child partition reviews (part-0..part-16) all verdict PASS, complete_diff true, blocking_findings empty
- CI object: check_count=10, complete=true, passed=false, legacy_state='pending'
- global_complete_diff=true, head_sha=aa425906b97b7ada8ec96f8e44b149c09e0630fa, base_sha=d7e8282b44abe279f9a34602498342af0038976d
Recommended next steps
- Wait for CI checks to pass (or investigate failing checks)
- Verify external Eureka repository migration and version alignment
- Confirm no lingering shenyu-registry-eureka references in remaining build files
Scope: captured diff and GitHub check metadata only; no local tests were executed.
Task: 379491cb-7b45-43e0-af42-83364a37ea48 · Commit: aa425906b97b7ada8ec96f8e44b149c09e0630fa
Review verdict: INCONCLUSIVE
Scope is FINAL synthesis. All child partitions passed with complete diff and no HIGH/CRITICAL findings. Policy requires all_parts_passed true, complete_diff true, and CI passed for a FINAL PASS. The provided CI status indicates passed=false (legacy pending) though complete. Thus cross-file correctness via build/test is unverified; evidence incomplete for PASS. No anchored defects exist to force NEEDS_CHANGES. Therefore verdict is INCONCLUSIVE.
Publication: COMMENT (INCONCLUSIVE_REVIEW)
Review details
All partition diffs reviewed cleanly and the full diff is accounted for, but CI checks have not passed (status pending/failed). Without green CI we cannot certify cross-module compatibility. Recommend waiting for CI and confirming the external Eureka repo migration before merge.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7960 +/- ##
=============================================
+ Coverage 61.49% 71.86% +10.37%
- Complexity 8818 18209 +9391
=============================================
Files 1261 1772 +511
Lines 39273 68624 +29351
Branches 3725 8036 +4311
=============================================
+ Hits 24151 49318 +25167
- Misses 12952 15152 +2200
- Partials 2170 4154 +1984
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Pushed 31d90ba to fix the master-selection error-counter test race from CI run 42014162549. The mock latch is released before the scheduler records the exception; the assertion now waits for the observable count. Local Java 21 Admin-reactor verify passed all 9 selected tests and 36 Checkstyle/RAT executions. Fresh CI has started. This test-only fix does not establish that the previous Spring Cloud no-healthy-upstream failure (https://github.com/apache/shenyu/actions/runs/42014163635/job/127231304995) or E2E dependency-resolution failure (https://github.com/apache/shenyu/actions/runs/42014162627/job/127230389006) is resolved. The description records those remaining checks and retains external publication/rollback gates. Please re-review when the current-head checks complete. |
|
The current-head Spring Cloud IT failure is now diagnosed: https://github.com/apache/shenyu/actions/runs/42217134157/job/127891812451 . Admin logs show The companion receiver apache/shenyu-plugin-store#32 is still awaiting approval for both Build (https://github.com/apache/shenyu-plugin-store/actions/runs/39596356283) and Eureka provider lifecycle (https://github.com/apache/shenyu-plugin-store/actions/runs/39596356314). Please approve those workflows so the receiving implementation can be validated. To complete this cutover, the Spring Cloud IT/E2E Admin deployment needs the compatible external provider and its runtime dependencies, while the default core distribution remains without the in-tree provider. Existing publication, coordinate-ownership and rollback gates still apply; adding retries would not fix this deployment. |
|
Pushed Fresh Linux/OpenJDK 21 Admin-reactor Fresh hosted checks are starting. This test-only synchronization does not resolve the previously diagnosed Spring Cloud IT/E2E deployment issue: the Admin image still needs the compatible external Eureka SPI provider and its runtime dependencies. Receiver workflow approval, publication and deployment/rollback coordination remain required before merge. |
|
Pushed The workflows now build receiver commit Local validation on OpenJDK 21:
Current-head validation is now complete for The previously failing Spring Cloud deployments now pass with the explicitly installed external provider:
The independent Kubernetes ingress Apache Dubbo check also passed on this run. Compatible external publication, receiver approval, and coordinated full cutover/release evidence remain required; these passing fixture runs do not waive those gates. |
Aias00
left a comment
There was a problem hiding this comment.
Stream Agent analysis
#7960 externalizes the Eureka registry: the internal shenyu-registry/shenyu-registry-eureka module (pom, implementation, SPI registration, unit tests) is fully removed along with its reactor module entry, the shenyu-admin SDK dependency, LICENSE entries, and registry README wording. Examples and runtime now consume the external shenyu-registry-eureka artifact via the plugin-store namespace, and core type/factory contracts (DiscoveryMode.EUREKA, DiscoveryTypeEnum 'eureka') are preserved. The dependency-guard script and classpath-compatibility test were updated to drop eureka from in-repo providers.
Evidence
- Whole pinned diff read completely (84,970 chars, resource_diff has_more=false), covering all 25 changed files including removal of shenyu-registry/shenyu-registry-eureka/* and pom.xml/registry README edits.
- Head search for 'shenyu-registry-eureka' returns only external scripts, docs/plugin-store-eureka.md and shenyu-examples-sdk-springcloud-consumer/pom.xml; no shenyu-registry-eureka remains and core no longer imports EurekaInstanceRegisterRepository. Example pom uses self-defined shenyu-plugin-store.version (line 33) for the external artifact (line 95).
- Frozen CI for head 03d2500: 91 checks, 0 failed (build, CodeQL, e2e, integrated-test, e2e-k8s all success). The earlier failed-CI question referenced stale head aa42590 and is not applicable to this item.
Recommended next steps
Scope: captured diff and GitHub check metadata only; no local tests were executed.
Task: aabf4a12-2543-49e2-883e-711e430db87b · Commit: 03d250083814cc21fb0fd1988ce3926c793abf79
Review verdict: PASS
Complete WHOLE_PR diff coverage with no unread pages; all 91 CI checks for the reviewed head passed; the externalization is internally consistent (reactor, SDK dependency, LICENSE, classpath-compatibility test, and dependency-guard script all updated in lockstep) and core Eureka type/factory contracts are preserved. No concrete HIGH/CRITICAL defect found. The prior failed-CI concern belonged to a different/stale head and does not affect this review.
Publication: APPROVE (EXPLICIT_PASS)
03d2500 to
a6a14c0
Compare
Build the pinned receiver against current core APIs, verify its packaged SPI and HTTP transport, and mount its checked runtime closure into Admin IT/E2E deployments. Preserve the default images and publication gates.
a6a14c0 to
ec47beb
Compare
Refs #7596. Receiving extension: apache/shenyu-plugin-store#32.
Move the Eureka registry implementation and its starter to the receiving repository, remove core's default implementation/SDK dependency, and preserve the eureka type, factory, enum/SQL and generic Spring Cloud server-fixture contracts. Examples explicitly select the external artifact. The migration guide covers installation, coordinate ownership and rollback.
Synchronized with master 92d16c2, preserving current release notes and unrelated licensing updates. The default Admin and Bootstrap runtime inventories contain no com.netflix.eureka implementation after the cutover.
Fresh Java 17 validation: the affected Admin/Bootstrap reactor packages with main/test compilation and Checkstyle; 14 registry/SPI/classpath tests and 7 dependency-boundary script tests pass. Verify includes RAT, and a separate root RAT check passes. Previously recorded receiving-extension process evidence remains in the linked PR; it is not a new deployment result for this synchronization.
Ready for formal code review. Merge/release still requires receiving-extension approval, passing deployment CI, compatible published artifacts with one owner per Maven coordinate, and announced release/rollback versions. Local snapshots are not publication. The local Docker Linux engine could not start, so fresh Docker deployment validation is not claimed. #7596 remains open until the coordinated cutover is complete.
CI follow-up (2026-11-06): commit 31d90ba fixes the testSelectMasterErrorCountTracking race from CI run 42014162549. The mock latch is released before the scheduler records the exception, so the test now waits for the observable error count. Fresh Java 21 Admin-reactor verify passed all 9 selected tests and 36 Checkstyle/RAT executions. Hosted main CI run 42217134181 now passes (31 successful jobs and 1 skipped). The remaining Spring Cloud deployment blocker is diagnosed below.
Current-head Spring Cloud IT and E2E fail because the Admin test image lacks the external Eureka SPI provider. In IT run 42217134157/job 127891812451, the backend registers successfully with Eureka, then Admin logs
No registry implementation found for registerType 'eureka'and the gateway has no healthy upstream. E2E run 42217134212 reproduces the same missing-provider exception for websocket, http and zookeeper sync (jobs 127894618720, 127894618889 and 127894618906). The test deployment must explicitly install a compatible external provider and its runtime dependency closure. A readiness retry does not solve this missing dependency.The receiver PR apache/shenyu-plugin-store#32 still has Build (42223170441) and Eureka provider lifecycle (42223170442) workflows awaiting maintainer approval. Passing deployed IT/E2E, receiver approval, compatible publication and announced rollback remain required before merge. The current E2E run reaches the tests; the three Spring Cloud failures above are the actionable deployment blocker.
Current-core receiver validation (2026-11-06): apache/shenyu-plugin-store#32 commit be07c121085f219f46578515156e7a0bb20befdf now pins its workflow to this exact core head (31d90ba, 2.7.3-SNAPSHOT). Fresh local OpenJDK 21/Linux validation passed all 7 receiver unit/SPI/starter tests, 1 real Eureka lifecycle test and 13 complete Admin/gateway process checkpoints. The selected 163-module core reactor builds with Checkstyle/RAT (tests compiled, execution skipped), and default Admin/bootstrap classpaths have no Eureka provider or Netflix Eureka dependencies before installing the external closure. The committed receiver result records the source pair and JAR digest. This establishes local process compatibility with this head; it does not change the failed Docker IT/E2E result or waive external-provider installation, workflow approval, publication and rollback gates.