Repository navigation
upstreaming: guard Actions logs from agent commands - #5000
Merged
Merged
Conversation
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
Prevent untrusted agent and MCP output from being interpreted as GitHub Actions workflow commands.
Worker run 44787086758 successfully produced and uploaded a valid spookyhash repair, but an inspected
actions/setup-pythonsource file contained::add-matcher::. Pi's raw JSON stream was forwarded to the Actions console, whose command parser treated that embedded source text as a real command. The agent process exited zero, but GitHub marked the step failed and skipped publication.This change:
process_runner.cjsbefore modifying it;Validation
74bb397cd5e0502d4a83c6c9e9a9d838d52d588b4402807f1f24b97178f21326on repeated application.git diff --checkpasses.