Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/session-soak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
-c Release --no-build --
--seed ${{ steps.parameters.outputs.seed }}
--duration-seconds ${{ steps.parameters.outputs.duration_seconds }}
--max-cycles 10000
--max-cycles 100000
--output artifacts/soak/session-soak.jsonl
- name: Upload reproduction report
if: always()
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
按显式随机种子选择双方 Separate 或端点销毁重建,恢复 Selected 后立即
验证新事务;普通 <code>dotnet test</code> 不执行该长时负载。
- 增加手动和每周定时的 <code>session-soak</code> 工作流,固定 20 分钟程序
上限、25 分钟作业上限和每周期 20 秒上限;成功或失败均上传包含 commit、
运行时、seed、故障序列和结果的 JSONL,保留 14 天。
上限、25 分钟作业上限、每周期 20 秒上限及 100000 轮次级上限;成功或
失败均上传包含 commit、运行时、seed、故障序列和结果的 JSONL,保留
14 天。
- 增加真实 TCP Active/Passive 重复会话抖动故障注入测试;固定三轮断开与
重选并复用相同 System Bytes,验证待处理事务确定中断、旧回复与强制迟到
T3 回调不污染替换会话,且新事务可成功完成。
Expand Down
5 changes: 3 additions & 2 deletions docs/HSMS-SOAK.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ solution 以便普通构建持续检查,但不是测试项目,因此
- 每周三 UTC 02:43 定时运行 15 分钟;
- 手动选择 1、5、15 或 20 分钟;
- 手动指定正 32 位 seed,<code>0</code> 从 GitHub Run ID 确定性派生;
- 程序最长 20 分钟、单周期最长 20 秒、作业最长 25 分钟;
- 程序最长 20 分钟、单周期最长 20 秒、作业最长 25 分钟,并以 100000
个周期作为 duration 之外的次级上限;
- 同一时间只运行一个 soak 作业,后续触发排队而不取消已有运行。

普通 PR/push CI 不触发该工作流。它仍会通过 solution 的 Release 构建检查
Expand All @@ -40,7 +41,7 @@ dotnet run --project test/SecsFrame.Soak/SecsFrame.Soak.csproj \
-c Release --no-build -- \
--seed 12345 \
--duration-seconds 300 \
--max-cycles 10000 \
--max-cycles 100000 \
--output artifacts/soak/session-soak.jsonl
~~~

Expand Down
Loading