Skip to content

[codex] Allow dbt Hub through proxy block#7

Merged
kentwelcome merged 2 commits into
mainfrom
fix/dbt-hub-proxy-allowlist
May 28, 2026
Merged

[codex] Allow dbt Hub through proxy block#7
kentwelcome merged 2 commits into
mainfrom
fix/dbt-hub-proxy-allowlist

Conversation

@kentwelcome
Copy link
Copy Markdown
Contributor

Summary

  • Add hub.getdbt.com to Razorback proxy exemptions so dbt Hub registry access can bypass the local proxy block.
  • Add codeload.github.com for GitHub archive downloads used by package fetch paths.
  • Cover both hosts with a focused proxy allowlist regression test.

Validation

  • env UV_CACHE_DIR=/private/tmp/uv-cache uv run --frozen pytest tests/unit/test_docker_environment_proxy_separation.py -q
  • Result: 4 passed, 6 warnings

@kentwelcome kentwelcome marked this pull request as ready for review May 28, 2026 02:39
Copilot AI review requested due to automatic review settings May 28, 2026 02:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Razorback’s shared proxy block allowlist so agent runtimes can bypass the local proxy block for dbt Hub registry access and GitHub archive downloads.

Changes:

  • Adds hub.getdbt.com and codeload.github.com to PROXY_EXEMPT_HOSTS.
  • Rewords proxy comments from “verbatim copy” to “derived from”.
  • Adds a unit regression asserting the new hosts are present.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/razorback/agents/proxy.py Updates the shared proxy exemption host list and related comments.
tests/unit/test_docker_environment_proxy_separation.py Adds coverage for the newly exempted registry/archive hosts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +2
# ABOUTME: HTTP egress block derived from run_experiment.py:1497-1525.
# ABOUTME: NO_PROXY exempts the API, package, and dbt registry hosts agents need.
@kentwelcome kentwelcome merged commit f5914db into main May 28, 2026
1 check passed
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.

2 participants