fix: entrypoint-llama.sh su block drops ANTHROPIC_API_KEY and CLAUDE_CONFIG_DIR #306
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
entrypoint-llama.sh runs dev-poll via su which starts a clean shell:
Only FORGE_TOKEN is passed. ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL, and CLAUDE_CONFIG_DIR (set by docker-compose.yml environment) are lost in the su transition. Claude Code then returns 'Not logged in' because it has no API key and no OAuth credentials.
This has caused repeated no_push failures on issues #266, #267, #268, #298.
Fix
Pass all required env vars through the su block:
Affected files
Acceptance criteria