Repository navigation
release: quickstart consumer pins a stub python_tools bundle (part of #10990) - #14449
TrapsterDK wants to merge 4 commits into
Conversation
|
/evidence platforms=["linux_x86_64","macos_arm64","windows_x86_64"] task=test scope=//deploy/private/release/tests:release_consumer_smoke_test flags=--config=nested_record Generated by Claude Code |
|
Evidence started on |
|
/evidence platforms=["linux_x86_64","macos_arm64","windows_x86_64"] task=test scope=//deploy/private/release/tests:release_consumer_smoke_test flags=--config=nested_record test_timeout=2400 Generated by Claude Code |
|
Evidence started on |
|
/evidence platforms=["linux_x86_64","macos_arm64","windows_x86_64"] task=test scope=//deploy/private/release/tests:release_consumer_smoke_test flags=--config=nested_record test_timeout=2400 Record run 44953085552: macOS and Windows green, Linux one repo over every budget. The only new repo is Generated by Claude Code |
|
Evidence started on |
|
/evidence platforms=["linux_x86_64","macos_arm64","windows_x86_64"] task=test scope=//deploy/private/release/tests:release_consumer_smoke_test flags=--config=nested_record test_timeout=2400 Record run 44967558236: macOS and Windows green. Linux was again one repo over every budget (core 237/236, python 240/239 and 251/250). Diffing the repo lists against run 44953085552 shows one new repo, Tested: Generated by Claude Code |
|
Evidence started on |
|
The Generated by Claude Code |
…10990) The quickstart cases pin a stub python_tools bundle next to the dx and launcher they built, as a release's pins.bzl serves it, so @dx_prebuilt//:python_tool_docstrfmt no longer falls back to the rules_py source build. The README case asserts the bundle repo is fetched and no project__dx_docstrfmt repo is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzWDHEg9zNhhTJrJ7t
With the stub python_tools bundle the core consumer measures 235 repos, 77 modules and 13 lock extensions on Linux; the python consumer 238 and 249 repos. The core stages now also assert they fetch no rules_py uv repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvdk6FgsNTgASkdvZF
Main now registers @dx_scala_toolchains//:all (#14441), a toolchain hub every consumer fetches, so record run 44953085552 measures one more repo on Linux in every stage: core 236, python 239 and 250. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvdk6FgsNTgASkdvZF
…LE.bazel (part of #10990) clippy::string_add flagged the String + &str that appended them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hxcqqAoDeuSr83mscS
3f5aba4 to
d185ef4
Compare
|
Fixed: rebased onto main (b204728 has #14633) and dropped the rules_ocaml budget bump. Linux 🤖 Generated with Claude Code |
|
Review: request changes (reviewed head d185ef4) The code is correct.
Record run (publishes only 🤖 Generated with Claude Code |
|
/evidence platforms=["linux_x86_64","macos_arm64","windows_x86_64"] task=test scope=//deploy/private/release/tests:release_consumer_smoke_test flags=--config=nested_record test_timeout=2400 |
|
Evidence started on |
Part of #10990.
Part of #14474.
The Linux quickstart case fetched 308–315 repos against a 230 budget: with
PINSempty,@dx_prebuilt//:python_tool_docstrfmtfell back to the rules_py source build (project__dx_docstrfmtand its wheels, about 76 repos). A release serves that tool as onepython_toolsbundle archive, so the quickstart consumer now pins a stub bundle next to the dx and launcher it built.deploy/private/release/tests/quickstart_consumer_test.rs:built_dx_assetwritesstub_bundle(bundle_tools(...))per case to$TEST_TMPDIR/python_tools_stub/<case>.tar.gzand pins it as thepython_toolsasset. The README case asserts the repos contain+dx_python_tools_prebuilt_and no+project__dx_docstrfmt, and that the core stages fetch norules_py++uv+repo.deploy/private/release/tests/BUILD.bazel: data/envDX_PREBUILT_PYTHON_HUB_TARGETS, dep//tools/testing/consumer:prebuilt_guard.deploy/private/release/tests/candidate_consumer_test.rs: the apple overrides go throughformat!instead ofString + &str(clippy::string_add, flagged bydx checkon this crate).//tools/testing/consumer:prebuilt_guardand//cli/prebuilt:python_hub_targetswidened to//deploy/private/release/tests.core/modules/core_budget.json,python_consumer_budget.json: Linux modules 77, lock_extensions 13, external_repos core 236/236, python 239/250.Budget delta, core 230 → 236, by repo list against run 44626063984 (224): added the pinned
dx_python_tools_prebuilt_linux_x86_64(this PR), sixdx_toolslinter binaries (dx check //app/...), the rules_flutter 0.1.0 graph (cgrindel_bazel_starlib×2,rules_swift_package_manager,flutter_sdks,rules_multitool×2,buildifier_prebuilt×2),dx_pinsrules_cuda/rules_scala,scala_configand thedx_scala_toolchainshub (#14441); removed the rules_cuda and rules_scala module repos anddx_rules_dart_pub. Norules_py++uv+repo in either core stage. Thedx_pins+rules_ocamlrepo that run 44967558236 also counted is gone since #14633, so the branch no longer bumps for it.Tested:
tools/dx test //cli/prebuilt:all //core/modules:{cargo_manifests,lang_json,lang_projections,npm_hub,python_budget}_test //tools/testing/consumer:prebuilt_guard_lib_test: all pass.//core/modules:versions_contractfails oncuda/pins.json(rules_cuda v0.4.0 URL), which this PR does not touch.tools/dx build //deploy/private/release/tests:release_consumer_smoke_testok.tools/dx check --applyon the four touched packages: no findings after the clippy fix. The nested consumer test was not run locally.Remaining:
releasecache set vianested_cache_update --from(zig_0.17.1, no zig_0.17.0).🤖 Generated with Claude Code