Skip to content

fix: forward job signals and surface writer ask outcomes - #367

Merged
firejune merged 2 commits into
mainfrom
jinni/355-card-355
Nov 9, 2026
Merged

firejune merged 2 commits into
mainfrom
jinni/355-card-355

Conversation

@firejune

@firejune firejune commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Sending SIGTERM or SIGINT to job open previously killed its CLI wrapper while leaving the runtime host listening. Forward those signals to the wrapper's own asynchronous child and stop the host after in-flight publication work finishes.

Bound writers also surface refused asks after an acknowledged publication instead of silently returning success. Text mode prints asked/already outcomes; --json preserves its JSON stdout and clean success stderr.

Closes #355.

Validation: synthetic orphan/refusal reproduction initially failed all 3 controls. Final signal/ask tests 4 pass, existing focused job tests 43 pass, typecheck and touched-file lint exit 0. Full acceptance is PR CI. Tests use only their own synthetic hosts.

firejune and others added 2 commits November 9, 2026 21:11
Co-Authored-By: Jinni <342598851+fj-jinni[bot]@users.noreply.github.com>
Co-Authored-By: Naru <342599188+fj-naru[bot]@users.noreply.github.com>
Co-Authored-By: Naru <342599188+fj-naru[bot]@users.noreply.github.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T12:12:52.949319Z 6177e81 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@firejune
firejune merged commit 661c5b6 into main Nov 9, 2026
1 check passed
@firejune
firejune deleted the jinni/355-card-355 branch November 9, 2026 12:17
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.

job open: forward SIGTERM to the runtime child; writers surface refused asks

1 participant