Skip to content

test: stabilize capture recovery probe - #9

Merged
PureSaber merged 2 commits into
mainfrom
codex/m8-main-ci-flake
Aug 31, 2026
Merged

test: stabilize capture recovery probe#9
PureSaber merged 2 commits into
mainfrom
codex/m8-main-ci-flake

Conversation

@PureSaber

Copy link
Copy Markdown
Owner

根因

test_coordinator_reports_reconciled_epoch_before_network验证epoch恢复顺序,却使用真实time.monotonic()承担30秒probe deadline;共享runner负载下会偶发超时并把无关的机器速度混入测试。

修改

  • 注入静态monotonic时钟,使该测试只验证恢复告警与网络启动顺序
  • 失败断言附带各stream错误,后续失败可直接诊断

证据

  • 失败main run:33354598487,Python3.10为1 failed/476 passed/3 skipped
  • 相同merge内容的PR run 33354421370三版本此前全部通过
  • 本地失败用例连续10次通过;修复后相关3项通过
  • Ruff、format、diff check通过

契约与回滚

无生产代码或公开契约变化。回滚为revert本PR merge commit。

@PureSaber

Copy link
Copy Markdown
Owner Author

补充修复同根因的完整8流成功路径:为模拟时钟测试注入确定性的monotonic时间源,避免共享runner负载超过30秒时被误判为探针超时;负向超时测试保持不变。\n\n本地证据:\n- 两个受影响成功用例组合运行:2 passed\n- Ruff检查:通过\n- Ruff格式检查:通过\n- git diff --check:通过\n\n提交:953e994

@PureSaber
PureSaber merged commit 9b2d476 into main Aug 31, 2026
3 checks passed
@PureSaber
PureSaber deleted the codex/m8-main-ci-flake branch August 31, 2026 03:57
PureSaber added a commit that referenced this pull request Aug 31, 2026
test: stabilize capture recovery probe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants