fix: reply in user's thread and prevent git credential hangs

Pass thread name through Add-ons response wrapper so bot replies stay
in the user's thread instead of posting top-level messages. Add
GIT_TERMINAL_PROMPT=0 to Dockerfile to prevent git from hanging on
credential prompts, which was blocking all requests under concurrency=1.
This commit is contained in:
Adam Weidman
2026-02-12 17:36:58 -05:00
parent 60b01761b8
commit 03ef280120
5 changed files with 20 additions and 5 deletions

View File

@@ -22,6 +22,9 @@ USER node
ENV CODER_AGENT_WORKSPACE_PATH=/workspace
ENV CODER_AGENT_PORT=8080
ENV NODE_ENV=production
# Prevent git from prompting for credentials interactively — fails fast instead of hanging
ENV GIT_TERMINAL_PROMPT=0
ENV CODER_AGENT_HOST=0.0.0.0
EXPOSE 8080