refactor(tools): organize regression harness packages (#2828)

Reorganize regression tools into explicit packages and update all repository references.
This commit is contained in:
huanghuoguoguo
2026-10-31 12:17:04 +08:00
committed by GitHub
parent 306e154256
commit 7ff04002a2
66 changed files with 413 additions and 300 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ jobs:
python-version: '3.12'
- run: python -m pip install PyYAML==6.0.3
- name: Check regression tools
run: timeout 60s python -m unittest discover -s tools -p 'test_*.py' -v
run: timeout 60s python -m unittest discover -s tools/tests -p 'test_*.py' -v
smoke:
name: Core smoke (60s)
@@ -59,7 +59,7 @@ jobs:
docker pull python:3.12-alpine
- name: Prepare real services and run the 60-second smoke
run: |
uv run --no-sync python tools/regression_ci.py \
uv run --no-sync python -m tools.entrypoints.regression_ci \
--lbctl .smoke-bin/lbctl_linux_amd64 --plugins plugins --output .qa/core-smoke
- name: Publish gate result
if: always()
+2 -2
View File
@@ -64,7 +64,7 @@ jobs:
read -r -a extras <<< "$EXTRA_PLUGINS"
args=()
if [[ "$RESTART_SERVICES" == true ]]; then args+=(--restart-services); fi
uv run --no-sync python tools/regression_ci.py \
uv run --no-sync python -m tools.entrypoints.regression_ci \
--suite daily --scenario-groups "${groups[@]}" "${args[@]}" \
--lbctl .endurance-bin/lbctl_linux_amd64 --plugins plugins --extra-plugins "${extras[@]}" --output .qa/daily
- name: Publish observations
@@ -188,7 +188,7 @@ jobs:
docker pull python:3.12-alpine
- name: Run API contracts
run: |
uv run --no-sync python tools/regression_ci.py \
uv run --no-sync python -m tools.entrypoints.regression_ci \
--suite api --api-seed "$GITHUB_RUN_ID" \
--lbctl .api-bin/lbctl_linux_amd64 --plugins plugins --output .qa/api
- name: Publish API result