Commit 543c0ec
Realign repair/lineage tests with engine durable-resume invariants
Five MySQL test failures in #399's bucket C (semantic drift) all share
the same root cause: tests built fixtures that bypassed the engine's
"durable resume path requires typed history" invariant. The engine now
correctly returns workflow_replay_blocked or parent-perspective Waiting
status for runs whose mutable rows have no backing typed history events.
Tests now align with the invariant by either:
1. Adding the typed history event the engine expects to anchor the
resume path (TimerScheduled / ActivityScheduled).
2. Asserting the parent-perspective status the lineage view derives
from typed parent history.
Clears 5 CI-only MySQL failures under #399:
* testTaskWatchdogRecreatesMissingTimerTaskForRepairNeededRun
* testTaskWatchdogReclaimsExpiredActivityTaskLease
* testTaskWatchdogReclaimsExpiredTimerTaskLease
* testRepairRecreatesMissingActivityTaskForPendingActivityExecution
* testRunDetailViewKeepsCurrentContinuedChildFromHistoryWhenLinksDisappear
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b5ce150 commit 543c0ec
2 files changed
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2598 | 2598 | | |
2599 | 2599 | | |
2600 | 2600 | | |
2601 | | - | |
| 2601 | + | |
2602 | 2602 | | |
2603 | 2603 | | |
2604 | 2604 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6042 | 6042 | | |
6043 | 6043 | | |
6044 | 6044 | | |
| 6045 | + | |
| 6046 | + | |
| 6047 | + | |
| 6048 | + | |
| 6049 | + | |
| 6050 | + | |
| 6051 | + | |
6045 | 6052 | | |
6046 | 6053 | | |
6047 | 6054 | | |
| |||
6280 | 6287 | | |
6281 | 6288 | | |
6282 | 6289 | | |
| 6290 | + | |
| 6291 | + | |
| 6292 | + | |
| 6293 | + | |
| 6294 | + | |
| 6295 | + | |
| 6296 | + | |
6283 | 6297 | | |
6284 | 6298 | | |
6285 | 6299 | | |
| |||
6499 | 6513 | | |
6500 | 6514 | | |
6501 | 6515 | | |
| 6516 | + | |
| 6517 | + | |
| 6518 | + | |
| 6519 | + | |
| 6520 | + | |
| 6521 | + | |
| 6522 | + | |
6502 | 6523 | | |
6503 | 6524 | | |
6504 | 6525 | | |
| |||
7115 | 7136 | | |
7116 | 7137 | | |
7117 | 7138 | | |
| 7139 | + | |
| 7140 | + | |
| 7141 | + | |
| 7142 | + | |
| 7143 | + | |
| 7144 | + | |
| 7145 | + | |
7118 | 7146 | | |
7119 | 7147 | | |
7120 | 7148 | | |
| |||
0 commit comments