Commit db44ecd
[Test Coverage] container-lifecycle.ts (#6396)
* test: add unit tests for container-lifecycle.ts
Covers startContainers, runAgentCommand, and fastKillAgentContainer:
- Success paths and error delegation to handleHealthcheckError
- Retry logic for api-proxy and squid transient startup failures
- cli-proxy failure error with DNS detail
- Topology mode onNetworkReady callback
- Timeout exit code (124) and external kill (143)
- Blocked domain reporting
- fastKillAgentContainer custom timeout and error tolerance
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* test: remove duplicate lifecycle test suite
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>1 parent 7d3936c commit db44ecd
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
278 | 299 | | |
279 | 300 | | |
280 | 301 | | |
| |||
0 commit comments