Skip to content

Stop internal PyPI proxy URLs from leaking into uv.lock#5800

Merged
pietern merged 2 commits into
mainfrom
lint-internal-proxy-uv-lock
Jul 3, 2026
Merged

Stop internal PyPI proxy URLs from leaking into uv.lock#5800
pietern merged 2 commits into
mainfrom
lint-internal-proxy-uv-lock

Conversation

@pietern

@pietern pietern commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

When uv/pip points at the internal *.databricks.com PyPI proxy, pydabs-codegen's uv run rewrites source.registry in the lockfiles to the proxy instead of pypi.org. This churn has leaked into several SDK-bump PRs, each needing a manual revert.

pydabs-codegen now reverts the lockfiles after regenerating, and a new check-uv-lock (in task checks) backstops against a proxy URL reaching a committed lock any other way. The redundant checkout in push.yml is removed.

This pull request and its description were written by Isaac.

When uv/pip points at the internal *.databricks.com PyPI proxy,
pydabs-codegen's `uv run` rewrites `source.registry` in the lockfiles to
the proxy instead of pypi.org. This churn has leaked into several
SDK-bump PRs, each needing a manual revert.

pydabs-codegen now reverts the lockfiles after regenerating, and a new
`check-uv-lock` (in `task checks`) backstops against a proxy URL reaching
a committed lock any other way. The redundant checkout in push.yml is
removed.

Co-authored-by: Isaac
@pietern pietern temporarily deployed to test-trigger-is July 2, 2026 12:25 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is July 2, 2026 12:25 — with GitHub Actions Inactive
@pietern pietern requested a review from simonfaltum July 2, 2026 12:28
@pietern pietern enabled auto-merge July 2, 2026 12:37
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: b68b3a0

Run: 28641545495

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 10 13 230 1041 4:56
💚​ aws windows 10 13 232 1039 4:01
💚​ aws-ucws linux 10 13 314 959 4:54
💚​ aws-ucws windows 10 13 316 957 4:06
💚​ azure linux 4 15 230 1040 4:37
💚​ azure windows 4 15 232 1038 3:58
💚​ azure-ucws linux 4 15 316 956 9:59
💚​ azure-ucws windows 4 15 318 954 4:47
💚​ gcp linux 4 15 229 1042 4:45
💚​ gcp windows 4 15 231 1040 3:54
23 interesting tests: 13 SKIP, 10 RECOVERED
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/permissions 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions 💚​R 💚​R 💚​R 💚​R 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions 💚​R 💚​R 💚​R 💚​R 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/resources/postgres_branches/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/replace_existing 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/update_protected 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/without_branch_id 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_endpoints/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_projects/update_display_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/synced_database_tables/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 6 slowest tests (at least 2 minutes):
duration env testname
5:05 azure-ucws linux TestSQLExecScalar
3:08 azure windows TestAccept
3:07 gcp windows TestAccept
2:59 aws windows TestAccept
2:57 azure-ucws windows TestAccept
2:54 aws-ucws windows TestAccept

@pietern pietern temporarily deployed to test-trigger-is July 3, 2026 05:55 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is July 3, 2026 05:55 — with GitHub Actions Inactive
@pietern pietern added this pull request to the merge queue Jul 3, 2026
Merged via the queue into main with commit 2dfbe40 Jul 3, 2026
37 checks passed
@pietern pietern deleted the lint-internal-proxy-uv-lock branch July 3, 2026 06:49
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