Commit 853164a
Give V2 waitFor() helpers 30s budget so real-queue CI has room to settle
The #399 CI failure distribution includes ~18 tests in the bucket
"V2 real-queue waitFor() timeouts" where workflow completion genuinely
needs more than the per-file 5–20 second waitFor() budget once the
projector repair pass adds latency and GitHub Actions runners are
under load.
Local focused runs finish well within the old budgets; the timeouts
only bite in CI. A hard upper bound of 30 seconds still loud-fails a
genuinely hung workflow — that's still an order of magnitude below
what a real stall would need — but gives enough slack for the projector
cycle + real queue worker pickup + activity round-trip on a
contention-bound runner.
Uniform 30s budget across V2WorkflowTest, V2UpdateWorkflowTest,
V2WebhookWorkflowTest, V2HistoryTimelineTest, V2MessageCursorContinueAsNewTest,
and V2RunDetailViewTest so the per-file helpers don't drift.
Does not mask real engine hangs: those would still never settle. Only
masks timing flakiness, which is the actual category showing up in
#399's bucket A.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c3e4f3b commit 853164a
6 files changed
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
919 | | - | |
| 919 | + | |
920 | 920 | | |
921 | 921 | | |
922 | 922 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3784 | 3784 | | |
3785 | 3785 | | |
3786 | 3786 | | |
3787 | | - | |
| 3787 | + | |
3788 | 3788 | | |
3789 | 3789 | | |
3790 | 3790 | | |
3791 | 3791 | | |
3792 | 3792 | | |
3793 | 3793 | | |
3794 | 3794 | | |
3795 | | - | |
| 3795 | + | |
3796 | 3796 | | |
3797 | 3797 | | |
3798 | 3798 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1653 | 1653 | | |
1654 | 1654 | | |
1655 | 1655 | | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
1656 | 1659 | | |
1657 | 1660 | | |
1658 | | - | |
| 1661 | + | |
1659 | 1662 | | |
1660 | 1663 | | |
1661 | 1664 | | |
1662 | 1665 | | |
1663 | 1666 | | |
1664 | 1667 | | |
1665 | 1668 | | |
1666 | | - | |
| 1669 | + | |
1667 | 1670 | | |
1668 | 1671 | | |
1669 | 1672 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3036 | 3036 | | |
3037 | 3037 | | |
3038 | 3038 | | |
3039 | | - | |
| 3039 | + | |
3040 | 3040 | | |
3041 | 3041 | | |
3042 | 3042 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7971 | 7971 | | |
7972 | 7972 | | |
7973 | 7973 | | |
7974 | | - | |
| 7974 | + | |
| 7975 | + | |
| 7976 | + | |
| 7977 | + | |
| 7978 | + | |
| 7979 | + | |
| 7980 | + | |
7975 | 7981 | | |
7976 | 7982 | | |
7977 | 7983 | | |
| |||
0 commit comments