diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-05 23:03:02 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-05 23:03:02 +0000 |
| commit | f8b5f2580e730a8affbccec8b5bde9b96b1f9fc2 (patch) | |
| tree | 8bee6ccf9f4dff4d705c09c6b6a9e94967c58c4e /internal/api/logs_test.go | |
| parent | ed6cb17501bd14ce5ec009f68fba54539cf1a470 (diff) | |
executor: persist log paths at execution create time, not just at end
Add LogPather interface; ClaudeRunner implements it via ExecLogDir().
Pool pre-populates stdout_path/stderr_path/artifact_dir on the execution
record before CreateExecution, so paths are in the DB from the moment
a task starts running.
ClaudeRunner.Run() skips path assignment when already set by the pool.
Also update scripts/debug-execution to derive paths from the known
convention (<data-dir>/executions/<exec-id>/) as a fallback for
historical records that predate this change.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/logs_test.go')
0 files changed, 0 insertions, 0 deletions
