Skip to content

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

Merged
EdwardIrby merged 1 commit into
plaited:mainfrom
TheCrowd:claude/agent-eval-harness-contrib-1F5Bp
Jun 17, 2026
Merged

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

Conversation

@TheCrowd

@TheCrowd TheCrowd commented May 25, 2026

Copy link
Copy Markdown
Contributor

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".

@EdwardIrby EdwardIrby left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@EdwardIrby
EdwardIrby merged commit 40b68ca into plaited:main Jun 17, 2026
1 check passed
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.

3 participants