Commit c0facec
test(e2e): give security-full-stack actors a task handler (ADR-013)
Since v2.0/ADR-013, AgentActor.start() throws on a handler-less actor instead of
silently discarding tasks. security-full-stack.test.ts still had 4 pre-ADR-013
actors started with `undefined`/no handler (the firewall, breaker-ok, combo, and
redis-password setups). These suites only run in nightly (ci.yml doesn't run the
e2e/security gates — they need Docker), so the first nightly on v2.0 `main` failed
at the Security E2E step with "cannot start without a task handler".
Fix: give each a succeeding no-op handler `async () => "ok"` — the same pattern
already used elsewhere in this file. Legit/golden paths still COMPLETE; injection
and breaker-trip paths are still blocked by the firewall/breaker BEFORE the handler
runs, so every assertion is preserved. Verified locally: 37/37 security e2e pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9f4c2ac commit c0facec
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
255 | 260 | | |
256 | 261 | | |
257 | 262 | | |
258 | | - | |
| 263 | + | |
259 | 264 | | |
260 | 265 | | |
261 | 266 | | |
| |||
424 | 429 | | |
425 | 430 | | |
426 | 431 | | |
427 | | - | |
| 432 | + | |
428 | 433 | | |
429 | 434 | | |
430 | 435 | | |
| |||
757 | 762 | | |
758 | 763 | | |
759 | 764 | | |
760 | | - | |
| 765 | + | |
761 | 766 | | |
762 | 767 | | |
763 | 768 | | |
| |||
0 commit comments