Skip to content

Disable background tasks deterministically; drop debug artifact step#17

Merged
daniel-munoz merged 1 commit into
mainfrom
deterministic-no-background-tasks
Jul 26, 2026
Merged

Disable background tasks deterministically; drop debug artifact step#17
daniel-munoz merged 1 commit into
mainfrom
deterministic-no-background-tasks

Conversation

@daniel-munoz

Copy link
Copy Markdown
Owner

Summary

Cleanup after the silent-review investigation:

  • Replace the --append-system-prompt workaround (prompt-level, relies on the model complying) with CLAUDE_CODE_DISABLE_BACKGROUND_TASKS: '1' as a step-level env on 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.
  • Remove the Upload Claude execution log debug 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

  • YAML validated locally
  • After merge, confirm the next reviewed PR still gets a comment

🤖 Generated with Claude Code

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>
@daniel-munoz
daniel-munoz merged commit 4dd78b9 into main Jul 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant