Disable background tasks deterministically; drop debug artifact step#17
Merged
Merged
Conversation
Replace the --append-system-prompt instruction (which relied on the model following it) with CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1 on the action step, which removes background task capability entirely so all subagents run synchronously. Reported working in anthropics/claude-code-action#1462. Also remove the execution-log artifact upload that was added to debug the silent-review failure; it has served its purpose. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
Cleanup after the silent-review investigation:
--append-system-promptworkaround (prompt-level, relies on the model complying) withCLAUDE_CODE_DISABLE_BACKGROUND_TASKS: '1'as a step-levelenvon the action. This removes background task capability from the session entirely, so subagents always run synchronously — the deterministic fix reported in anthropics/claude-code-action#1462.Upload Claude execution logdebug step added in Upload Claude review execution log as artifact #14; it served its purpose (it's how we found the root cause) and can be re-added if the workflow ever goes silent again.Note: this PR's own review run will be skipped by the action's workflow-file validation, as usual for PRs that modify the workflow. Verification happens on the first PR reviewed after merge.
Test plan
🤖 Generated with Claude Code