CI: 将全部 7 套测试纳入 gate;修复 e2e 退出竞态
回应事后审计:此前 CI 只跑 3 套(contract/merge-smoke/workflow-e2e),新增的 4 套 (contract-events/benchmark-metrics/benchmark-collector/baseline-comparison)未进入 gate, PR 描述「七套全绿」与 CI 实跑不符。本提交把 4 套补入 ci.yml。 同时修复 test-workflow-e2e:进程退出时 uvicorn 守护线程仍在写 stderr,导致解释器收尾 出现 Fatal Python error(exit 127,CI 偶发失败)。改为 join 服务线程 + os._exit(code), 退出码确定(本地 e2e 连跑 3 次均 exit 0、断言全过)。 注意:本 PR 仅修 CI 门禁与 e2e 稳定性,**不构成 Benchmark/主链路验收**;Issue #2 保持 open。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
6bed064117
commit
6e0eca4da7
@@ -54,3 +54,19 @@ jobs:
|
||||
- name: End-to-end workflow test
|
||||
env: { REDIS_FAKE: "1" }
|
||||
run: python scripts/test-workflow-e2e.py
|
||||
|
||||
- name: Manager event-contract test
|
||||
env: { REDIS_FAKE: "1" }
|
||||
run: python scripts/test-contract-events.py
|
||||
|
||||
- name: Benchmark metric formulas (v2.1)
|
||||
env: { REDIS_FAKE: "1" }
|
||||
run: python scripts/test-benchmark-metrics.py
|
||||
|
||||
- name: Benchmark collector
|
||||
env: { REDIS_FAKE: "1" }
|
||||
run: python scripts/test-benchmark-collector.py
|
||||
|
||||
- name: Baseline comparison
|
||||
env: { REDIS_FAKE: "1" }
|
||||
run: python scripts/test-baseline-comparison.py
|
||||
|
||||
Reference in New Issue
Block a user