-
Notifications
You must be signed in to change notification settings - Fork 143
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: databricks/databricks-sql-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ee63b81
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: databricks/databricks-sql-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a8c41cb
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 21 files changed
- 1 contributor
Commits on Apr 6, 2026
-
Add SPOG routing support for account-level vanity URLs
SPOG replaces per-workspace hostnames with account-level URLs. When httpPath contains ?o=<workspaceId>, the connector now extracts the workspace ID and injects x-databricks-org-id as an HTTP header on all non-OAuth endpoints (SEA, telemetry, feature flags). Changes: - Fix warehouse ID regex to stop at query params ([^?&]+ instead of .+) - Extract ?o= from httpPath once during session init, store as _spog_headers - Propagate org-id header to telemetry client via extra_headers param - Propagate org-id header to feature flags client - Do NOT propagate to OAuth endpoints (they reject it with 400) Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com> Co-authored-by: Isaac Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for efcea13 - Browse repository at this point
Copy the full SHA efcea13View commit details
Commits on Apr 20, 2026
-
Configuration menu - View commit details
-
Copy full SHA for c3e7920 - Browse repository at this point
Copy the full SHA c3e7920View commit details
Commits on Apr 21, 2026
-
Add debug logging for SPOG x-databricks-org-id header extraction
Mirrors the JDBC driver's logging pattern. Emits at DEBUG level in three code paths of _extract_spog_headers: 1. http_path has a query string but no ?o= param — log and skip. 2. x-databricks-org-id already set by the caller (via http_headers) — log and skip (don't override explicit user header). 3. Injection happens — log the extracted workspace ID so customers diagnosing SPOG routing can confirm the header was added. Helps with customer support: when a customer reports "SPOG isn't routing correctly", they can enable DEBUG logging and immediately see whether the connector saw their ?o= value. Signed-off-by: Madhavendra Rathore Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for 41f166e - Browse repository at this point
Copy the full SHA 41f166eView commit details -
This commit lives on the spog-testing-harness branch (NOT part of spog-fix PR #767). Collects scripts + captured traces produced during the SPOG auth investigation. SPOG-specific test programs (examples/): - capture_sdk_m2m_token.py Decode SDK-issued M2M JWT on SPOG + Legacy side-by-side. Shows iss/aud divergence. - capture_sdk_m2m_trace.py Log every HTTP call the SDK makes for M2M, including redacted request bodies + status. - verify_spog_thrift_accepts_account_token.py Bypass pysql connector, POST directly to Thrift with the SDK-issued token to isolate server behavior from connector behavior. - spog_sdk_m2m_only.py Minimal SDK-provider M2M test — Stg SPOG + Stg Legacy, prints PASS/FAIL. - spog_u2m_one.py One-host U2M databricks-oauth tester. - spog_staging_test.py Full matrix: PAT + SDK M2M + Azure SP M2M + auto-tenant. Used for the matrix report. - spog_full_matrix.py, Earlier iterations of the matrix script. spog_full_test.py, spog_peco_test.py, spog_test.py, spog_all_auth_test.py Captured logs: - u2m_debug_trace.txt - u2m_interactive_tests.txt - u2m_prod_spog_test.txt Not included here (excluded deliberately): - .secrets, .actrc, act.env Local config with credentials. - .claude/ Agent session internals. - Various issue-729/731 reproduction scripts + markdown analyses — unrelated to SPOG; belong on their own preservation branch. - Performance benchmark scripts — same, unrelated. Signed-off-by: Madhavendra Rathore Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
Configuration menu - View commit details
-
Copy full SHA for a8c41cb - Browse repository at this point
Copy the full SHA a8c41cbView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff ee63b81...a8c41cb