Repository navigation
fix(skills): drop GITHUB_STEP_SUMMARY writes that fail under Claude sandbox - #289
Merged
Merged
Conversation
…andbox The Claude Code sandbox blocks writes to `/home/runner/work/_temp/_runner_file_commands/` where `$GITHUB_STEP_SUMMARY` points, so every `review-reviewers` and `review-runs` session emits "Read-only file system" errors when the skill tries to populate the Actions step summary. The token-usage table is still written by the unsandboxed post-Claude step in `action.yaml`, so this only removes the skill-side attempt. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Owner
|
can we write to somewhere we do have access to, and then the next task writes from there to the step summary? |
…e pickup Instead of dropping GITHUB_STEP_SUMMARY writes entirely, skills now write to /tmp/claude/step-summary.md (inside the sandbox allowlist) and a new post-Claude step in action.yaml copies it into GITHUB_STEP_SUMMARY. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Collaborator
Author
|
Good idea. Updated — skills now write to |
max-sixty
added a commit
that referenced
this pull request
Apr 18, 2026
Bumps generator version to 0.0.16 and syncs lockfile. 7 commits since 0.0.15: nightly bot PAT scope audit (#294), review-reviewers gist-backed evidence storage with single-fetch optimization (#291, #292), nightly closes bot-opened tracking issues when resolved (#290), drops GITHUB_STEP_SUMMARY writes that fail under Claude sandbox (#289), release docs clarification (#288), and notifications dedup of bot-authored PRs (#279). Co-Authored-By: Claude <[email protected]>
Merged
max-sixty
added a commit
that referenced
this pull request
Apr 18, 2026
Bumps generator to 0.0.16. ## Changes since 0.0.15 - #294 — nightly: audit bot PAT scopes via script - #292 — review-reviewers: fetch current-month gist once per run - #291 — review-reviewers: pilot gist-backed evidence storage - #290 — nightly: close bot-opened tracking issues when resolved - #289 — skills: drop `GITHUB_STEP_SUMMARY` writes that fail under Claude sandbox - #288 — docs(release): commit on the current branch, don't create a new one - #279 — notifications: dedup bot-authored PRs cross-referencing the issue 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
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
review-reviewersandreview-runsrun emitsRead-only file systemerrors when the skill tries to append to$GITHUB_STEP_SUMMARY.allowOnlywrites) doesn't include/home/runner/work/_temp/_runner_file_commands/, which is where the$GITHUB_STEP_SUMMARYfile lives, so the redirect always fails.action.yaml:281-294already writes to$GITHUB_STEP_SUMMARYfrom an unsandboxed bash step, so the Actions UI still gets the token-usage table. Only the skill-driven writes are removed.Evidence
tend-notifications(23:59Z)tend-notifications(23:30Z)tend-notifications(23:13Z)review-reviewers(23:03Z, 3-repo matrix)$GITHUB_STEP_SUMMARYwithRead-only file systemerrors, then moved on.Session-log transcripts (decoded Bash tool_results) from run 24482866759:
The same pattern is visible in the preceding review-reviewers run 24478401012 (all 3 matrix jobs), so this is not a one-off.
Gate assessment
.github/read-only regression under Claude Code 2.1.97+).allowOnlylist doesn't include the runner's_runner_file_commandsdirectory, so the write will fail every time. Replaying 10× yields 10× the same error.review-reviewers/SKILL.mdand a 5-line block fromreview-runs/SKILL.md. Gate 2 bar for removals is low (1 occurrence is enough) and this run alone supplies 6.Trade-off
Removing the instruction means maintainers lose the skill-written summary in the Actions UI and have to read the conversation log / session artifact for the narrative. The token-usage table remains. If the UI summary matters, a follow-up can plumb a summary file through
action.yaml's post-Claude step (where writes aren't sandboxed) instead of trying to write from inside the sandbox.🤖 Generated with Claude Code