Repository navigation
tests: release consumer tests merge into one target (part of #10990) - #11072
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hw7VSwpTcKWzXNfUDz
Collaborator
Author
|
Review: approve Read the full diff at 3011bfd against origin/main b4032b0. No must-fix items. Replaced test targets and what proves them now:
Checked:
Not blocking:
Not run: Bazel (read-only review); CI was pending. 🤖 Generated with Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #10990
Plan
release_candidate_smoke_testandreadme_quickstart_smoke_testinto onerust_test, so the three cases share one nested Bazel server (dx_nested::casekeeps one server per process).nested_repository_cacheand the offline harness of tests: nested Bazel harness runs sandboxed, offline and from declared inputs #10986 are not on main.Changed
deploy/private/release/tests/BUILD.bazel: one targetrelease_consumer_smoke_test, crate rootrelease_consumer_test.rs, data and env are the union of both old targets.deploy/private/release/tests/release_consumer_test.rs: new crate root withmod candidate_consumer_test; mod quickstart_consumer_test;. Both case files are unchanged.deploy/private/release/tests/Cargo.toml: one[[test]].tools/testing/nested_smoke.txt: two lines become one.tools/ci/test_tags_allowlist.txt:local,no-sandbox,requires-networkfor this package go from 2 to 1.docs/design/nested-tests.md: the decisions table names the merged target.Old target to new test
:release_candidate_smoke_testa_candidate_archive_builds_tests_and_checks_a_registry_consumer:release_consumer_smoke_test,candidate_consumer_test::a_candidate_archive_builds_tests_and_checks_a_registry_consumer:readme_quickstart_smoke_testthe_readme_quickstart_runs_as_written:release_consumer_smoke_test,quickstart_consumer_test::the_readme_quickstart_runs_as_written:readme_quickstart_smoke_testbcr_test_module_runs_its_presubmit_targets:release_consumer_smoke_test,quickstart_consumer_test::bcr_test_module_runs_its_presubmit_targetsNo assertion changed: the two case files have no diff.
Tests
bazel build //deploy/private/release/tests:release_consumer_smoke_test: builds.bazel test --test_tag_filters= //deploy/private/release/tests:release_consumer_smoke_test: runs the 3 cases in one process (58.7 s); all 3 fail. The same 3 cases fail on origin/main (b4032b0) in the two old targets with the same errors:module rules_py@2.0.0-alpha.11 not found in registries(recorded in tests: release consumer tests merge into one target on the hermetic harness #10990 and tests: nested Bazel harness runs sandboxed, offline and from declared inputs #10986).no such attribute 'runtime_root' in 'swift_toolchain' rule(filed as swift: a consumer of rules_dx fails analysis on swift_toolchain runtime_root #11071).//tools/ci:test_tags_test: 6 of 7 pass.the_tree_matches_the_allowlistfails only onjulia/private/defs.bzl: 1 manual on tests, 0 allowed, from julia: julia_bench on BenchmarkTools (part of #9587) #10940 on main, filed as tests: //tools/ci:test_tags_test fails at main on julia_bench manual tag #11064. No line of this package is reported.tools/testing/nested_smoke_guard.shwas not run (it queries//...).Remaining on #10990
nested_bazel_testwith a declared repository cache, droprequires-network,local,no-sandboxandenv_inherit, after tests: nested Bazel harness runs sandboxed, offline and from declared inputs #10986.tools/testing/nested_smoke.txt.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hw7VSwpTcKWzXNfUDz