Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate of this baseline-failure reporting path.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- On main at
015eba4083974f8ed86694a8770a4311d8a4714b, with dependencies installed, apply only theRunExecutionService.test.tschange from the offered patch. Leave production source unchanged. The mock returnsCheckpointBaselineCaptureError. - Run
pnpm exec vp test run apps/server/src/orchestration-v2/RunExecutionService.test.ts -t 'starts the provider after a baseline failure'. - Both inline and forked capture cases start the provider but fail the assertion requiring one
system_notice: actual 0, expected 1.
Expected behavior
Would a nonfatal notice that restoring files to the turn's start may be unavailable be wanted here? #12153 deliberately continued without an error item. This asks about a notice, not failing the run. Related #28925/#28957 addressed Git error classification; this is the remaining caught baseline-exception path.
Actual behavior
The shared baseline recovery handler only logs a warning. The provider starts without a notice in the thread. Wrong-file restoration was not reproduced.
Impact
Minor bug or occasional failure
Version or commit
main @ 015eba4083974f8ed86694a8770a4311d8a4714b
Environment
macOS 27.0.1, Node 26.13.1, pnpm 12.14.0. Service tests with a mocked Codex session, not a live provider.
Logs or stack traces
Inline and forked baseline failures on main:
AssertionError: expected 0 to equal 1
2 failed, 1 passed
Screenshots, recordings, or supporting files
Ready branch. It emits an existing system_notice from the shared handler, preserves interruption, and keeps startup nonfatal even if writing the notice fails. Capture timing and restore behavior are unchanged.
With the patch, all 3 regression cases and 79 focused tests pass. Server typecheck and check:changed pass, including format, lint, both knip checks and 78 selected tests. No browser/native-client rendering, live provider, natural Git timeout or full-app rewind was tested. The earlier full-server run had 15 failures; 14 also failed on unmodified main on macOS and the remaining case passed in isolation; the full suite was not repeated for this rebase.
Workaround
Check server logs for baseline capture failures; no user-facing workaround was verified.
Prepared with GPT-6.1 Sol in Pi via T3 Code.
Activity