Skip to content

fix(e2e): a daemon start that exits 0 but never listened fails with its log tail - #982

Merged
V3RON merged 3 commits into
mainfrom
bug/933
Oct 24, 2026
Merged

V3RON merged 3 commits into
mainfrom
bug/933

Conversation

@V3RON

@V3RON V3RON commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Closes #933

Status

Implement: done (1/1 green), audit complete Review: passed (round 1, round 2, fix-check; R1 fixed) Hardware: n/a Gate: running
Next: gate

  • A daemon start that cannot bind its HTTP port fails the fixture with the exit code, stderr and log tail even when daemon start exits 0 (e2e/console/daemon-start-failure.spec.ts). Checked by the test at daemon-start-failure.spec.ts:37, which forces the exit-0 path and asserts daemon start failed (exit code 0); restoring the old expect(started.code).toBe(0) turns it red (audit probe), and changing the expected exit code turns it red on chromium, firefox and webkit (fix-check probe).

Assumptions

none

Review

Spec review: skipped. Code review: 1 blocking, 1 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 2. Tokens: 16.1M.
Runs: 8. Cost USD: 1.3382. Agent seconds: 1388.

Assessment: complete

Written by an agent.

@V3RON

V3RON commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 607b166
Round 2: 6506403
Round fix-check: 6506403

Runs: 8. Cost USD: 1.3382. Agent seconds: 1388.
Tokens input 150, output 25151, cache read 1875272, cache write 261923.
- build implementer: claude-sonnet-5-5 831 s $0.2227
- audit implementer: claude-sonnet-5-5 96 s $0.1029
- review 1 reviewer: claude-sonnet-5-5 160 s $0.1843
- review 1 code-reviewer both: claude-opus-5-5 93 s $0.4881
- review 1 claims-reviewer claims: claude-sonnet-5-5 24 s $0.09
- fix 1 implementer: claude-sonnet-5-5 34 s $0.0651
- review 2 reviewer: claude-sonnet-5-5 26 s $0.0747
- review fix-check reviewer tests: claude-sonnet-5-5 124 s $0.1104
Finding outcomes: {"fixed":1}. Classes: {"testing 1 title clause unasserted":1}.
{"findings":[{"id":"R1","role":"code","class":"testing 1 title clause unasserted","outcome":"fixed","path":"e2e/console/daemon-start-failure.spec.ts","round":"1","fix":"6506403e3fdc774453b57b8b55b96ae11322b112"}]}

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 24, 2026 21:17
@V3RON
V3RON merged commit 7a2f0b3 into main Oct 24, 2026
50 checks passed
@V3RON
V3RON deleted the bug/933 branch October 24, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky: daemon-start-failure.spec.ts port-conflict premise fails

1 participant