Skip to content

fix(trial): capture proc.signalCode in command invocation#58

Open
TheCrowd wants to merge 1 commit into
plaited:mainfrom
TheCrowd:claude/agent-eval-harness-contrib-1F5Bp
Open

fix(trial): capture proc.signalCode in command invocation#58
TheCrowd wants to merge 1 commit into
plaited:mainfrom
TheCrowd:claude/agent-eval-harness-contrib-1F5Bp

Conversation

@TheCrowd
Copy link
Copy Markdown

@TheCrowd TheCrowd commented May 25, 2026

The invocation record always reported signalCode: null, hiding signal
information when adapters or graders were killed (e.g. SIGTERM on
timeout). Read proc.signalCode after the process exits so consumers
can distinguish graceful exits from signal-induced terminations.

Adds a run-mode test that triggers a timeout and asserts the row
carries signalCode: "SIGTERM".

Test plan:

  • bun run check ✅
  • bun test src/ ✅ (22 pass / 0 fail, 1 new)

The invocation record always reported signalCode: null, hiding signal
information when adapters or graders were killed (e.g. SIGTERM on
timeout). Read proc.signalCode after the process exits so consumers
can distinguish graceful exits from signal-induced terminations.

Adds a run-mode test that triggers a timeout and asserts the resulting
row carries signalCode: "SIGTERM".
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.

2 participants