Commit 0087ee8
test(e2e): overflow recovery — gate the no-more-main-calls assertion on the fold actually failing
The fail-closed gate deliberately proceeds when the recovery pass's forced
historian publishes and the fold materializes in that same pass (aborting
would interrupt a now-healthy compacted request). The test asserted zero new
main-model calls unconditionally, which only passed when machine load made
the in-test historian time out; on a quiet box the historian publishes
instantly, the fold lands, and proceeding is the designed behavior. Assert
the abort holds the line only while needs_emergency_recovery is still set;
the success path is proven by the existing end-state assertions.
Co-authored-by: Alfonso <alfonso-magic-context@users.noreply.github.com>1 parent 3b9f6ec commit 0087ee8
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
250 | 262 | | |
251 | 263 | | |
252 | 264 | | |
| |||
0 commit comments