Skip to content

Fix worker cleanup and preserve completion evidence - #3

Merged
jeffhamons merged 1 commit into
jefffrom
codex/ringer-holistic-reliability-20261003
Oct 3, 2026
Merged

jeffhamons merged 1 commit into
jefffrom
codex/ringer-holistic-reliability-20261003

Conversation

@jeffhamons

Copy link
Copy Markdown
Owner

Ringer could kill an OpenCode wrapper at timeout while leaving its separate-session server alive. This patch captures owned descendant groups before teardown and cleans them during timeout and runner shutdown, with regression coverage for a subsequent fresh job and unrelated-process survival.

It also cleans cancelled verifier processes, preserves valid JSON while redacting escaped and numeric credentials, ignores invalid token counts, retains billed step costs before engine-down returns, and records worker terminal status separately from executed artifact checks. Artifact-primary PASS semantics are preserved.

Validation: 417 tests passed under both Python 3.14 and the deployed Python 3.12 runtime. Independent adversarial review found no blocking defect in the final source. An unmodified canonical helper with local fake processes reproduced the original orphan and verified the fix; no real-provider completion is claimed by these tests.

This PR targets Jeff’s deployed jeff branch. The separately reviewed local helper startup fix and GLM variant configuration will be installed with rollback copies; they are outside this repository diff.

@jeffhamons
jeffhamons merged commit 6c8625f into jeff Oct 3, 2026
2 of 3 checks 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.

1 participant