Skip to content

docs: add network configuration design - #590

Open
vuanhphung wants to merge 3 commits into
mainfrom
docs/network-configuration-design
Open

vuanhphung wants to merge 3 commits into
mainfrom
docs/network-configuration-design

Conversation

@vuanhphung

@vuanhphung vuanhphung commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Adds docs/design/NETWORK_CONFIGURATION.md, a design for applying one network policy per connection on the Thrift backend. Today OAuth, token federation and volume staging ignore WithTransport and WithSkipTLSHostVerify and send Go's default User-Agent (#413), while the kernel backend applies the same settings to every request.

The design builds one base transport per connector and routes workspace, auth and storage requests through it. As in the kernel and JDBC, TLS relaxation also applies to OAuth, which private-link hosts need. The phased plan is about +315/−120 production lines.

Docs only; no code changes.

This pull request and its description were written by Isaac.

Proposes one network policy per connection on the Thrift backend so OAuth, storage and SQL requests honor the same transport, TLS and proxy settings, matching the kernel backend.

Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

✅ No issues identified.

Record how the kernel and JDBC handle TLS relaxation for OAuth, storage User-Agent and U2M discovery timing, and link the history of the OAuth transport gap (#374, #498).

Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

✅ No issues identified.

Drop history and open questions, and condense the survey into one comparison table.

Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

Verdict: 1 Medium

Looks good, with 1 medium design concern. I checked the call-site citations (connection.go:692, connector.go:188, m2m.go:106, exchange.go:33,44, kernel_config.go:204) against the checkout and they hold.


- Built-in authenticators implement the interface and assert it at compile time. Other authenticators
are left unchanged.
- The returned copy shares the original's token state. Connectors that share an authenticator therefore

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Medium — The design shares token state across bound copies, so a refresh runs on whichever connector's transport triggers it. Connector A's client secret can then go over connector B's relaxed-TLS or custom transport. This contradicts the "same transport, TLS and proxy settings" goal and the "keyed by everything that affects its result" rule. Fix: key the shared state by network policy, or state and justify the exception.

🔀 Found by Claude Opus 5.5 · confirmed by the judge

This branch has not been deployed

No deployments
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.

1 participant