Skip to content

Prefix code mode output with success or failure message and include error stack#14272

Merged
pakrym-oai merged 6 commits intomainfrom
pakrym/update-codemode-output-format
Mar 11, 2026
Merged

Prefix code mode output with success or failure message and include error stack#14272
pakrym-oai merged 6 commits intomainfrom
pakrym/update-codemode-output-format

Conversation

@pakrym-oai
Copy link
Copy Markdown
Collaborator

Summary

  • send node runner metadata (max output tokens, stack) back to Rust so we can prepend status headers and ship script errors cleanly
  • add truncation helpers plus JS config for per-execution budgets and enforce them before the final response
  • update tooling docs/specs and tests to cover the new headers, truncation budget, and failure formatting

Testing

  • Not run (not requested)

@pakrym-oai pakrym-oai changed the title Refine code_mode output truncation and error reporting Prefix code mode output with success or failure message and include error stack Mar 11, 2026
@pakrym-oai pakrym-oai merged commit 24b8d44 into main Mar 11, 2026
31 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/update-codemode-output-format branch March 11, 2026 01:33
@github-actions github-actions bot locked and limited conversation to collaborators Mar 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants