Skip to content

Conversation

@brendan-kellam
Copy link
Contributor

@brendan-kellam brendan-kellam commented Jan 17, 2026

Upgrade Node.js to v22 LTS and enable HTTP proxy support via environment variables.

This resolves the fetch failed error when Sourcebot attempts to access external services like GitLab through an HTTP/HTTPS proxy, as Node.js v22+ is required for automatic proxy detection using HTTP_PROXY, HTTPS_PROXY, and NO_PROXY.

#751 (comment)


Linear Issue: SOU-226

Open in Cursor Open in Web

- Upgrade base Node.js image from v20 to v22-alpine3.20
- Upgrade Alpine from 3.19 to 3.20 for both Node and Go base images
- Add NODE_USE_ENV_PROXY=1 environment variable to enable automatic proxy configuration
- Document HTTP proxy environment variables (HTTP_PROXY, HTTPS_PROXY, NO_PROXY)

This enables Sourcebot to work in enterprise environments that require HTTP/HTTPS proxies for external access. Node.js v22 natively supports proxy configuration via environment variables when NODE_USE_ENV_PROXY is enabled.

Co-authored-by: brendan <brendan@sourcebot.dev>
@cursor
Copy link

cursor bot commented Jan 17, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai
Copy link

coderabbitai bot commented Jan 17, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

3 participants