Repository navigation
RHAI-14534: disable Claude Code background tasks - #188
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 50 minutes. View limit details
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Set background task environment variable Containerfile |
The Containerfile sets CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1. |
Priority:
Estimated code review effort: 1 (Trivial) | ~2 minutes
Change: Bug fix
Suggested reviewers: jrusz
Merge Risk: 
Minimal · previous review 6e61c
-
The configuration change is limited and appears ready to merge.
Pre-merge checks: 
4
-
Check name Status Explanation Description Check Check skipped - CodeRabbit’s high-level summary is enabled. Title check The title names the ticket (RHAI-14534) and the change: disabling Claude Code background tasks. The raw summary says the Containerfile now sets CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1, which is exactly… Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Full details: Title check
-
Explanation
The title names the ticket (RHAI-14534) and the change: disabling Claude Code background tasks. The raw summary says the Containerfile now sets CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1, which is exactly this change. The title is specific, short, and states the primary change, so it passes.
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Claudio sessions in OpenShift die when the agent sends work to the background: the headless session ends when the turn finishes, so the scheduled wakeup never fires and the task is cut in half. Set CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1 in the image so every consumer (downstream aipcc-claudio image, GitLab CI) inherits it. A pod-level env var can still override this if needed. https://redhat.atlassian.net/browse/RHAI-14534
6e61ca0 to
da2b568
Compare
|
I've tagged |
Summary
Claudio sessions in OpenShift die when the agent sends work to the background: the headless session ends when the turn finishes, so the scheduled wakeup never fires and the task is cut in half.
Set
CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1in the image.https://redhat.atlassian.net/browse/RHAI-14534
Summary by CodeRabbit