fix(queue-daemon): source pm-agent.env for GITEA_TOKEN instead of default.env #162
Reference in New Issue
Block a user
Delete Branch "fix/issue-160-gitea-token-from-pm-agent"
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?
Summary
Root Cause
Issue #160: The queue daemon crashes with 'GITEA_TOKEN: unbound variable' because it was sourcing default.env which doesn't contain the token.
Fix
Replace the hardcoded default.env source with load_agent_env 'pm-agent' call which properly sources pm-agent.env.
Fixes #160
lgtm