Skip to content

Commit 36114f7

Browse files
yuluo-yxAias00
andauthored
fix: upgrade release dependencies and correct candidate licensing (#8292)
* fix: upgrade vulnerable release dependencies * fix: align HTTP and Cloud dependencies with Spring Boot 3.5 * ci: retain resolved distribution dependencies for release audits * fix: align Admin integrations with the Boot 3.5 baseline * fix: adapt Admin and Redis APIs to upgraded dependencies * fix: patch transitive release dependencies and document remaining advisories * test: migrate dashboard principals to the supported Shiro collection * fix: align Jakarta security and patch gateway compression dependencies * fix: manage published Fastjson modules explicitly * fix: preserve Boot framework management before the Shiro Jakarta BOM * fix: isolate Jakarta dependency management and align patched runtime libraries * fix: align resolved plugin libraries and validate candidate legal documents * fix: complete release notices and align tracing and Kubernetes clients * fix: keep candidate image validation from publishing latest tags * docs: align distribution license versions with the final runtime inventory * ci: fail candidate validation on missing license declarations * fix: align example applications with the upgraded Boot and Cloud baseline * ci: include example Surefire runtime dependencies in offline E2E inputs * ci: hand off the validated Maven wrapper to test shards * fix: align example discovery clients with the Cloud 2025 release train * docs: declare bundled Jakarta Mail API in Admin distribution license * fix: address RC3 artifact licensing and source distribution review * fix: disable RememberMe cookie authentication in stateless Admin * fix: include dashboard license materials in standalone Admin artifacts * fix: stabilize discovery fixtures and scope shaded artifact license checks * test: await terminal cleanup after remote HTTP peer completion * fix: address dependency release review findings * docs: remove invalid fastjson license entry * fix: stabilize PR 8292 CI tests --------- Co-authored-by: liuhy <liuhongyu@apache.org>
1 parent 23dc1bd commit 36114f7

62 files changed

Lines changed: 16798 additions & 5739 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/scripts/prepare-e2e-maven-repository-test.sh‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@ fi
9393
mkdir -p "${repository}/fixture/fixture/1.0"
9494
printf 'fixture' > "${repository}/fixture/fixture/1.0/fixture-1.0.jar"
9595
printf 'metadata' > "${repository}/fixture/fixture/1.0/_remote.repositories"
96+
if [[ "$*" == *org.apache.maven.plugins:maven-surefire-plugin:test* ]]; then
97+
if [[ " $* " != *" -N "* || " $* " != *" -Dmaven.test.skip=true "* ]]; then
98+
echo 'Plugin dependency preparation must not compile or execute scenarios' >&2
99+
exit 1
100+
fi
101+
mkdir -p "${repository}/fixture/surefire-runtime/1.0"
102+
printf 'plugin runtime' > "${repository}/fixture/surefire-runtime/1.0/surefire-runtime-1.0.jar"
103+
fi
96104
WRAPPER
97105
chmod +x "${test_dir}/project/mvnw"
98106
cd "${test_dir}/project"
@@ -140,6 +148,8 @@ DEPENDENCIES
140148
python3 "${script_dir}/e2e-maven-repository.py" restore "${test_dir}/artifact" "${test_dir}/restored"
141149
cmp "${test_dir}/artifact/repository/fixture/fixture/1.0/_remote.repositories" \
142150
"${test_dir}/restored/repository/fixture/fixture/1.0/_remote.repositories"
151+
cmp "${test_dir}/artifact/repository/fixture/surefire-runtime/1.0/surefire-runtime-1.0.jar" \
152+
"${test_dir}/restored/repository/fixture/surefire-runtime/1.0/surefire-runtime-1.0.jar"
143153
cmp "${test_dir}/project/.mvn/wrapper/maven-wrapper.jar" "${test_dir}/restored/wrapper/maven-wrapper.jar"
144154
cmp "${MAVEN_USER_HOME}/wrapper/dists/maven-bin/hash/maven-bin.zip" \
145155
"${test_dir}/restored/maven-user-home/wrapper/dists/maven-bin/hash/maven-bin.zip"

‎.github/scripts/prepare-e2e-maven-repository.sh‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ if [[ -n "${example_projects}" ]]; then
4444
bash "${script_dir}/maven-with-retry.sh" ./mvnw "${common[@]}" "${examples[@]}" \
4545
"${resolver}:go-offline" "${resolver}:tree" -DoutputType=json -DappendOutput=true \
4646
"-DoutputFile=${artifact_dir}/example-dependencies.json"
47+
# Load the examples' plugin realm: go-offline misses Maven-injected runtime
48+
# dependencies. The parent-only invocation skips tests and compiles no scenarios.
49+
bash "${script_dir}/maven-with-retry.sh" ./mvnw "${common[@]}" \
50+
-f shenyu-examples/pom.xml -N -Dmaven.test.skip=true \
51+
org.apache.maven.plugins:maven-surefire-plugin:test
4752
fi
4853

4954
bash "${script_dir}/maven-with-retry.sh" ./mvnw "${common[@]}" "${tests[@]}" \

‎.github/scripts/restore-shenyu-local-repo.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ set -euo pipefail
1919

2020
artifact_dir="${1:-/tmp/shenyu-m2}"
2121
target_dir="${2:-${HOME}/.m2/repository}/org/apache"
22-
project_dir="${3:-${PWD}}"
22+
script_root="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)"
23+
project_dir="${3:-${script_root}}"
2324

2425
if [[ -f "${artifact_dir}/repository.tar.gz" ]]; then
2526
tar -xzf "${artifact_dir}/repository.tar.gz" -C "${artifact_dir}"
@@ -31,6 +32,7 @@ if [[ ! -d "${artifact_dir}/org/apache/shenyu" ]]; then
3132
fi
3233

3334
if [[ -f "${artifact_dir}/maven-wrapper.jar" ]]; then
35+
# Reuse the launcher's validated build input instead of downloading it in every shard.
3436
python3 - "${artifact_dir}/maven-wrapper.jar" "${project_dir}/.mvn/wrapper/maven-wrapper.jar" <<'PYTHON'
3537
from pathlib import Path
3638
import sys
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
#!/usr/bin/env python3
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
"""Regression coverage for the archive-level release gates."""
18+
19+
from pathlib import Path
20+
import runpy
21+
import tempfile
22+
import unittest
23+
import zipfile
24+
25+
26+
CHECKS = runpy.run_path(str(Path(__file__).with_name("check-release-artifacts.py")))
27+
NOTICE = "Apache ShenYu\nCopyright 2021-2026 The Apache Software Foundation"
28+
LICENSE = "Apache License\nVersion 2.0\nTERMS AND CONDITIONS"
29+
30+
31+
class ReleaseArtifactsTest(unittest.TestCase):
32+
def test_javadoc_tool_license_does_not_license_the_project(self):
33+
with tempfile.TemporaryDirectory() as directory:
34+
path = Path(directory) / "shenyu-common-2.7.2-javadoc.jar"
35+
with zipfile.ZipFile(path, "w") as jar:
36+
jar.writestr("legal/LICENSE", "GNU GENERAL PUBLIC LICENSE")
37+
with self.assertRaisesRegex(ValueError, "META-INF/LICENSE"):
38+
CHECKS["check_jar"](path, NOTICE)
39+
40+
def test_dependency_notice_does_not_replace_project_notice(self):
41+
with tempfile.TemporaryDirectory() as directory:
42+
path = Path(directory) / "shenyu-common-2.7.2.jar"
43+
with zipfile.ZipFile(path, "w") as jar:
44+
jar.writestr("META-INF/LICENSE", LICENSE)
45+
jar.writestr("META-INF/NOTICE", "Some shaded dependency")
46+
with self.assertRaisesRegex(ValueError, "project NOTICE"):
47+
CHECKS["check_jar"](path, NOTICE)
48+
49+
def test_project_and_shaded_notices_can_coexist(self):
50+
with tempfile.TemporaryDirectory() as directory:
51+
path = Path(directory) / "shenyu-common-2.7.2.jar"
52+
with zipfile.ZipFile(path, "w") as jar:
53+
jar.writestr("META-INF/LICENSE", LICENSE)
54+
jar.writestr("META-INF/NOTICE", NOTICE + "\nDependency attribution")
55+
jar.writestr("legal/LICENSE", "GNU GENERAL PUBLIC LICENSE")
56+
self.assertTrue(CHECKS["check_jar"](path, NOTICE)["project_notice"])
57+
58+
def test_source_archive_requires_dashboard_assets(self):
59+
with tempfile.TemporaryDirectory() as directory:
60+
root = Path(directory)
61+
for name in ("LICENSE", "NOTICE", "RELEASE-NOTES.md"):
62+
(root / name).write_text(name)
63+
path = root / "source.zip"
64+
with zipfile.ZipFile(path, "w") as archive:
65+
for name in ("LICENSE", "NOTICE", "RELEASE-NOTES.md"):
66+
archive.writestr("source/" + name, name)
67+
archive.writestr("source/shenyu-admin/src/main/resources/static/index.html", '<script src="index.js"></script>')
68+
with self.assertRaises(KeyError):
69+
CHECKS["check_source"](path, root)
70+
71+
def test_standalone_admin_jar_requires_dashboard_terms(self):
72+
with tempfile.TemporaryDirectory() as directory:
73+
path = Path(directory) / "shenyu-admin-2.7.2.jar"
74+
with zipfile.ZipFile(path, "w") as jar:
75+
jar.writestr("META-INF/LICENSE", LICENSE)
76+
jar.writestr("META-INF/NOTICE", NOTICE)
77+
jar.writestr("static/index.html", '<script src="index.js"></script>')
78+
with self.assertRaisesRegex(ValueError, "LICENSE-dashboard.txt"):
79+
CHECKS["check_jar"](path, NOTICE)
80+
81+
def test_unshaded_apollo_adapter_needs_only_its_own_project_terms(self):
82+
with tempfile.TemporaryDirectory() as directory:
83+
path = Path(directory) / "shenyu-sync-data-apollo-2.7.2.jar"
84+
with zipfile.ZipFile(path, "w") as jar:
85+
jar.writestr("META-INF/LICENSE", LICENSE)
86+
jar.writestr("META-INF/NOTICE", NOTICE)
87+
self.assertTrue(CHECKS["check_jar"](path, NOTICE)["project_notice"])
88+
89+
90+
if __name__ == "__main__":
91+
unittest.main()

‎.github/scripts/test-restore-shenyu-local-repo.py‎

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import tarfile
2222
import tempfile
2323
import unittest
24+
import zipfile
2425
from pathlib import Path
2526

2627
SCRIPT = Path(__file__).with_name("restore-shenyu-local-repo.sh").resolve()
@@ -35,6 +36,9 @@ def test_archive_and_legacy_handoffs_replace_stale_artifacts(self):
3536
current = artifact / "org/apache/shenyu/module/2.7.3-SNAPSHOT"
3637
current.mkdir(parents=True)
3738
(current / "module.jar").write_text("current")
39+
with zipfile.ZipFile(artifact / "maven-wrapper.jar", "w") as launcher:
40+
launcher.writestr("org/apache/maven/wrapper/MavenWrapperMain.class", "launcher")
41+
project = root / "project"
3842
if archived:
3943
with tarfile.open(artifact / "repository.tar.gz", "w:gz") as archive:
4044
archive.add(artifact / "org", arcname="org")
@@ -44,13 +48,36 @@ def test_archive_and_legacy_handoffs_replace_stale_artifacts(self):
4448
previous = repository / "org/apache/shenyu/stale"
4549
previous.mkdir(parents=True)
4650
(previous / "old.jar").write_text("stale")
47-
result = subprocess.run(["bash", str(SCRIPT), str(artifact), str(repository)],
51+
result = subprocess.run(["bash", str(SCRIPT), str(artifact), str(repository), str(project)],
4852
env={**os.environ, "RUNNER_TEMP": str(root)}, capture_output=True, text=True)
4953
self.assertEqual(result.returncode, 0, result.stderr)
5054
self.assertEqual((repository / "org/apache/shenyu/module/2.7.3-SNAPSHOT/module.jar").read_text(), "current")
5155
self.assertFalse(previous.exists())
5256
self.assertFalse(list(repository.rglob("shenyu.backup*")))
5357
self.assertEqual(len(list(root.glob("shenyu-m2-previous.*/shenyu/stale/old.jar"))), 1)
58+
self.assertEqual((project / ".mvn/wrapper/maven-wrapper.jar").read_bytes(),
59+
(artifact / "maven-wrapper.jar").read_bytes())
60+
61+
def test_invalid_launcher_preserves_existing_repository_and_wrapper(self):
62+
with tempfile.TemporaryDirectory() as temporary:
63+
root = Path(temporary)
64+
artifact = root / "artifact"
65+
(artifact / "org/apache/shenyu").mkdir(parents=True)
66+
(artifact / "maven-wrapper.jar").write_text("incomplete download")
67+
project = root / "project"
68+
launcher = project / ".mvn/wrapper/maven-wrapper.jar"
69+
launcher.parent.mkdir(parents=True)
70+
launcher.write_text("existing launcher")
71+
repository = root / "repository"
72+
previous = repository / "org/apache/shenyu/old.jar"
73+
previous.parent.mkdir(parents=True)
74+
previous.write_text("existing artifact")
75+
result = subprocess.run(["bash", str(SCRIPT), str(artifact), str(repository), str(project)],
76+
capture_output=True, text=True)
77+
self.assertNotEqual(result.returncode, 0)
78+
self.assertIn("wrapper artifact", result.stderr)
79+
self.assertEqual(launcher.read_text(), "existing launcher")
80+
self.assertEqual(previous.read_text(), "existing artifact")
5481

5582
def test_missing_artifact_fails_before_changing_the_repository(self):
5683
with tempfile.TemporaryDirectory() as temporary:

‎.github/workflows/ci.yml‎

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
python3 -B .github/scripts/test-resolve-example-projects.py
8181
python3 -B .github/scripts/test-actions-timings.py
8282
python3 -B .github/scripts/test-restore-shenyu-local-repo.py
83+
python3 -B .github/scripts/test-check-release-artifacts.py
8384
- name: Test CI case resolver
8485
run: bash .github/scripts/resolve-test-case-matrix-test.sh
8586
- name: Test HTTP pool snapshot source provenance
@@ -252,10 +253,11 @@ jobs:
252253
if [[ "$RELEASE_CANDIDATE" == "true" ]]; then
253254
python3 - <<'PYTHON'
254255
import xml.etree.ElementTree as ET
255-
version = ET.parse('pom.xml').getroot().findtext('{http://maven.apache.org/POM/4.0.0}version')
256+
root = ET.parse('pom.xml').getroot()
257+
version = root.findtext('{http://maven.apache.org/POM/4.0.0}version')
256258
if not version or 'SNAPSHOT' in version:
257259
raise SystemExit('Release candidates require a non-SNAPSHOT project version')
258-
print(f'Building unsigned release candidate: {version}')
260+
print('Building unsigned release candidate:', version)
259261
PYTHON
260262
release_args=(-Prelease,apache-release -Dmaven.javadoc.skip=false -Dgpg.skip=true -DskipRemoteResources=false)
261263
fi
@@ -277,35 +279,36 @@ jobs:
277279
tar -czf /tmp/shenyu-m2/repository.tar.gz -C "${HOME}/.m2/repository" org/apache/shenyu
278280
fi
279281
cp .mvn/wrapper/maven-wrapper.jar /tmp/shenyu-m2/maven-wrapper.jar
280-
- name: Check candidate Maven archives and source distributions
282+
- name: Check every candidate Maven JAR and both source distributions
281283
if: github.event_name == 'workflow_dispatch' && inputs.release_candidate
282284
run: python3 .github/scripts/check-release-artifacts.py --repository "${HOME}/.m2/repository/org/apache/shenyu"
283-
- name: Resolve candidate runtime dependencies
284-
if: github.event_name == 'workflow_dispatch' && inputs.release_candidate
285+
- name: Resolve distribution runtime dependencies
285286
run: |
286-
bash .github/scripts/maven-with-retry.sh ./mvnw -B -ntp \
287-
-pl shenyu-admin,shenyu-bootstrap,shenyu-dist/shenyu-admin-dist,shenyu-dist/shenyu-bootstrap-dist \
288-
dependency:list -DincludeScope=runtime -DoutputFile=target/release-runtime-dependencies.txt
289-
python3 .github/scripts/collect-release-licenses.py --check
287+
bash .github/scripts/maven-with-retry.sh ./mvnw -B -ntp -pl shenyu-admin,shenyu-bootstrap,shenyu-dist/shenyu-admin-dist,shenyu-dist/shenyu-bootstrap-dist dependency:list \
288+
-DincludeScope=runtime -DoutputFile=target/release-runtime-dependencies.txt
289+
python3 .github/scripts/collect-release-licenses.py
290+
# Fetch the verifier after packaging so its sources cannot enter the source archive.
290291
- name: Check out the pinned ShenYu license verifier
291292
if: github.event_name == 'workflow_dispatch' && inputs.release_candidate
292293
uses: actions/checkout@v4
293294
with:
294295
repository: apache/shenyu-watcher
295296
ref: 94c1bb95ffc65038ea8be4c15fda5167d8d6b675
296297
path: .release-tools/shenyu-watcher
297-
- name: Verify candidate distribution license declarations
298+
- name: Check candidate distribution licenses
298299
if: github.event_name == 'workflow_dispatch' && inputs.release_candidate
299300
shell: bash
300301
run: |
302+
python3 .github/scripts/collect-release-licenses.py --check
301303
audit_root="${RUNNER_TEMP}/shenyu-release-license-audit"
302304
for component in admin bootstrap; do
303-
archives=("shenyu-dist/shenyu-${component}-dist/target/"apache-shenyu-*-${component}-bin.tar.gz)
305+
archives=("shenyu-dist/shenyu-${component}-dist/target/"apache-shenyu-*-"${component}"-bin.tar.gz)
304306
[[ ${#archives[@]} -eq 1 && -f "${archives[0]}" ]]
305307
mkdir -p "${audit_root}/${component}"
306308
tar -xzf "${archives[0]}" -C "${audit_root}/${component}"
307-
distributions=("${audit_root}/${component}/"apache-shenyu-*-${component}-bin)
309+
distributions=("${audit_root}/${component}/"apache-shenyu-*-"${component}"-bin)
308310
[[ ${#distributions[@]} -eq 1 && -d "${distributions[0]}/lib" ]]
311+
# The verifier CLI prints failures with exit code zero; enforce its result explicitly.
309312
python3 - "${distributions[0]}/lib" "shenyu-dist/shenyu-${component}-dist" "${distributions[0]}/LICENSE" <<'PYTHON'
310313
import importlib.util
311314
import sys
@@ -319,8 +322,7 @@ jobs:
319322
raise SystemExit('Candidate dependency license declarations are incomplete')
320323
PYTHON
321324
done
322-
- name: Upload candidate audit evidence
323-
if: github.event_name == 'workflow_dispatch' && inputs.release_candidate
325+
- name: Upload distribution runtime dependency reports
324326
uses: actions/upload-artifact@v4
325327
with:
326328
name: shenyu-release-runtime-dependencies
@@ -358,7 +360,9 @@ jobs:
358360
path: /tmp/shenyu-m2
359361
- name: Restore release artifacts
360362
run: bash .github/scripts/restore-shenyu-local-repo.sh /tmp/shenyu-m2
361-
- name: Rebuild the source distribution and run the default reactor tests
363+
- name: Ensure Maven wrapper JAR
364+
run: bash .github/scripts/ensure-maven-wrapper.sh
365+
- name: Rebuild the source distribution and run the complete default reactor tests
362366
shell: bash
363367
run: |
364368
version="$(python3 -c "import xml.etree.ElementTree as E; print(E.parse('pom.xml').getroot().findtext('{http://maven.apache.org/POM/4.0.0}version'))")"
@@ -368,22 +372,22 @@ jobs:
368372
unzip -q "$source_archive" -d "$source_root"
369373
cd "${source_root}/apache-shenyu-${version}-src"
370374
bash "${GITHUB_WORKSPACE}/.github/scripts/maven-with-retry.sh" ./mvnw -B -ntp install -Djacoco.skip=true -Dmaven.javadoc.skip=true
375+
# Repeat the counter synchronization and registry callback regressions after the full source build.
371376
for attempt in {1..10}; do
372-
./mvnw -B -ntp -pl shenyu-admin test \
373-
-Dtest=ShenyuClusterServiceTest,ZookeeperClientDiscoveryIntegrationTest \
374-
-Djacoco.skip=true -Dmaven.javadoc.skip=true
377+
./mvnw -B -ntp -pl shenyu-admin test -Dtest=ShenyuClusterServiceTest,ZookeeperClientDiscoveryIntegrationTest -Djacoco.skip=true -Dmaven.javadoc.skip=true
375378
done
376379
python3 - <<'PYTHON'
380+
from pathlib import Path
377381
import re
378382
import zipfile
379383
with zipfile.ZipFile('shenyu-admin/target/shenyu-admin.jar') as jar:
380384
html = jar.read('static/index.html').decode()
381385
for reference in re.findall(r'(?:src|href)=["\x27]([^"\x27]+\.(?:js|css))["\x27]', html):
382-
jar.read('static/' + reference.removeprefix('./'))
386+
assert jar.read('static/' + reference.removeprefix('./')), reference
383387
assert 'Apache ShenYu' in jar.read('META-INF/NOTICE').decode()
384-
print('Source-built Admin contains dashboard assets and project NOTICE')
388+
print('Source-built Admin contains all referenced dashboard JS/CSS and project NOTICE')
385389
PYTHON
386-
- name: Upload source build evidence
390+
- name: Upload source build test evidence
387391
if: always()
388392
uses: actions/upload-artifact@v4
389393
with:
@@ -442,10 +446,10 @@ jobs:
442446
with:
443447
name: shenyu-local-maven-repository
444448
path: /tmp/shenyu-m2
445-
- name: Ensure Maven wrapper JAR
446-
run: bash .github/scripts/ensure-maven-wrapper.sh
447449
- name: Restore ShenYu local Maven repository
448450
run: bash .github/scripts/restore-shenyu-local-repo.sh /tmp/shenyu-m2
451+
- name: Ensure Maven wrapper JAR
452+
run: bash .github/scripts/ensure-maven-wrapper.sh
449453
# The producer already checks main and test source style for the complete reactor.
450454
- name: Run Maven tests
451455
shell: bash
@@ -506,16 +510,23 @@ jobs:
506510
with:
507511
name: shenyu-local-maven-repository
508512
path: /tmp/shenyu-m2
509-
- name: Ensure Maven wrapper JAR
510-
run: bash .github/scripts/ensure-maven-wrapper.sh
511513
- name: Restore ShenYu local Maven repository
512514
run: bash .github/scripts/restore-shenyu-local-repo.sh /tmp/shenyu-m2
515+
- name: Ensure Maven wrapper JAR
516+
run: bash .github/scripts/ensure-maven-wrapper.sh
513517
# Reuse the producer's Checkstyle result; preserve all Java 21 test execution.
514518
- name: Run Java 21 compatibility tests
515519
shell: bash
516520
run: |
517521
modules="$(GROUP_ROOTS="${{ matrix.modules }}" bash .github/scripts/expand-ci-module-roots.sh)"
518522
./mvnw -B -ntp -T 1C -pl "${modules}" test -Prelease -DskipRemoteResources=true -Dcheckstyle.skip=true -Djacoco.skip=true
523+
- name: Repeat actual HTTP cancellation and peer isolation on Java 21
524+
if: github.event_name == 'workflow_dispatch' && inputs.release_candidate && matrix.name == 'plugin-ai'
525+
run: |
526+
for attempt in {1..10}; do
527+
./mvnw -B -ntp -pl shenyu-plugin/shenyu-plugin-agent-gateway test -Dtest=RemoteResourceNetworkTest \
528+
-Prelease -DskipRemoteResources=true -Dcheckstyle.skip=true -Djacoco.skip=true
529+
done
519530
520531
check-license-header:
521532
name: check-license-header

0 commit comments

Comments
 (0)