Repository navigation
qt: rule-set files stop naming //:module_srcs (part of #14384) - #14406
Conversation
… of #14384) qt drops its module_srcs filegroup; the root module_srcs already lists //qt:extension_srcs, and the qt hermetic consumers read //:module_srcs. The cc compiler flag reaches qt as CC_COMPILER_FLAG from //core:platform.bzl, an allowed load. Four qt foreign-label allowlist lines go away. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hz5zFQvCAptgMs6qAD
|
The Generated by Claude Code |
core_load_graph_test forbids core from naming a language label, so the compiler flag stays named in qt until rules_qt has its own route. This PR now only drops the qt module_srcs filegroup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hz5zFQvCAptgMs6qAD
|
Shard 10 failed in Generated by Claude Code |
|
Shard 26 on the old head (8310735) stopped before any test ran. The affected-test planner passed it an external label, which dx rejects: Generated by Claude Code |
|
Shard 15 on 4bf9e0d has 3 failures, all coming from main rather than this PR. I reproduced the first two locally:
Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzWDHEg9zNhhTJrJ7t
Pull Request
Linked Issue
Part of #14384
Changes
qt/BUILD.bazeldrops itsmodule_srcsfilegroup, which named//:module_srcs. The rootmodule_srcsalready lists//qt:extension_srcs. Theqt_tasksandqt_rusthermetic consumers now read//:module_srcs, andmodule_srcs_testdrops//qt:module_srcsfrom its data (the erlang entry already carries//:module_srcs).tools/ci/rule_set_loads_allowlist.txt: theqt/BUILD.bazel foreign-label 1line is deleted.//cc:compilerstays named in qt for now.core_load_graph_testforbidscore/from naming a language label, so the constant can't go in//core:platform.bzl.Verification
tools/dx check --apply --output=texton the touched files: no findings.Tested:
//tools/ci:rule_set_loads_test,//tools/testing:module_srcs_testand//qt/tests/...all pass. In//qt/tests/..., 34 tests pass and 33 are skipped as incompatible with a linux_x86_64 host.bazel build --nobuild //qt/... //tools/testing/hermetic:allpasses.Failing tests that this PR doesn't touch:
//core/quality/tests:core_load_graph_test: onlycore_loads_only_allowed_external_reposfails, ontools/docs/protobuf/defs.bzl.//tools/api:api_test: the drift is appletestonlyand the phpfrom_sourcetag.//tools/ci:workflow_pins_test: thereusable-release.ymldigest is out of date.The hermetic
qt_tasksandqt_rustconsumers run nested Bazel, which can't run in this container, so I didn't run them.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hz5zFQvCAptgMs6qAD