Commit d379553
test: guardrail Review-queue specs on dedicated servers -- kills the cohabitation flake (#215)
* fix: guardrail e2e isolation -- dedicated per-test server, split file
guardrail.spec.ts ran on the shared per-worker server pool, so its
Review-queue assertions (exact pending/resolved rows, filter options,
the sidebar badge count) could be contaminated by another spec
cohabiting the same worker (mcp-write-cancel.spec.ts parking its own
MCP approval), producing CI-only failures that never reproduced
locally solo.
Converts every test to the dedicated-server-per-test pattern
guardrail-authoring.spec.ts already uses (own chromium.launch +
spawnMillServer per test, own port pair, mkdtemp dirs, finally-
stop+rm). The converted file crossed the 500-line limit, so the
Review-queue tests move to a new guardrail-review.spec.ts on its own
disjoint port pair. mcpTestClient.ts's connectMCPClient gains an
optional explicit port for specs that aren't on the standard
per-worker pool.
The filterable-by-workflow test's own dedicated server starts with no
run history at all, so it now also resolves a second workflow's
review item itself (the filter's option list only ever contains
workflows with an existing pending/resolved item) instead of relying
on another test's residual state, which no longer exists once each
test gets its own isolated server.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FW5GkkAG8du7tNdYLk2zSd
* ci: e2e 3 -> 4 shards -- dedicated-server boots pushed two shards past the 15m cap with zero failures
The recorded revisit trigger (testing.md) fired: pure cap-kills, no
red tests. Shard growth is the named lever.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FW5GkkAG8du7tNdYLk2zSd
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent c0681bb commit d379553
5 files changed
Lines changed: 570 additions & 346 deletions
File tree
- .github/workflows
- frontend/e2e
- fixtures
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
333 | 337 | | |
334 | 338 | | |
335 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
0 commit comments