Repository navigation
fix(runtime): preserve OpenSandbox stdout line boundaries - #411
Merged
zpzjzj merged 1 commit intoNov 16, 2026
Merged
Conversation
bababoom721
requested review from
JHWang-1997,
hittyt and
zpzjzj
as code owners
November 15, 2026 15:13
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f3361d4919
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
bababoom721
force-pushed
the
codex/fix-opensandbox-stdout-join
branch
3 times, most recently
from
November 15, 2026 15:40
a040c6e to
91a4cbd
Compare
joinOutputMessages concatenated SSE stdout messages without separators, so multi-line commands like 'find . -type f' became one line and artifact collection saw a single file. Insert a newline between adjacent messages only when neither message already carries a line ending, and update the executionToResult tests.
bababoom721
force-pushed
the
codex/fix-opensandbox-stdout-join
branch
from
November 15, 2026 15:44
91a4cbd to
d511d72
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
joinOutputMessages concatenated OpenSandbox SSE stdout messages without separators, so multi-line command output such as find . -type f became a single line and artifact collection saw only one file entry. This fix inserts a newline between adjacent messages only when neither message already carries a line ending, and updates the tests to cover both plain and newline-bearing multi-message output.
Related issues
Changes
\nbetweenopensandbox.OutputMessageentries injoinOutputMessages.TestOpenSandboxExecutionToResultto expectout\nputinstead ofoutput.Test plan
go test ./internal/runtimepassesmake testpassesmake verifypasses (fmt + vet + lint)collect_artifactsconfigured.Notes for reviewers