Skip to content

Preserve Node startup diagnostics in Turn readback - #10102

Open
cocolord wants to merge 1 commit into
loopx-project:mainfrom
cocolord:codex/turn-node-probe-diagnostic-20261204
Open

cocolord wants to merge 1 commit into
loopx-project:mainfrom
cocolord:codex/turn-node-probe-diagnostic-20261204

Conversation

@cocolord

@cocolord cocolord commented Dec 4, 2026

Copy link
Copy Markdown
Member

Outcome

The distribution split RFC calls for a typed Node prerequisite failure on commands that need the control plane. A cold invocation of the installed Turn recovery command with Node removed returned its startup message and an exit code of 1. The response omitted the diagnostic carried by the Node probe.

turn plan and turn run-once now project the existing node_probe_diagnostic_fields through the shared Turn error renderer. Callers receive node_unavailable and the existing operator remediation. The renderer continues to read execution effects from the existing Turn state and error boundary.

Validation

  • Reproduced the missing field on current main and passed 60 focused Turn error, failure and journal tests with the fix.
  • Ran the quick, diff-selected premerge check against the current main target.
  • Combined with Find Node installed in the Python tool environment #10073 in disposable pipx and uv tool installations. With Node absent from the caller PATH, temporarily removed each private Node executable during recovery and checked the typed refusal and the unchanged journal, registry and SQLite authority. Restored the executable and verified the original Todo and Turn, one host dispatch, one settlement and a replay with zero additional effects.

RFC tracking issue

Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>

This branch has not been deployed

No deployments
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