Repository navigation
ci: main baseline drops unbuilt targets and clears labels on red runs - #14836
TrapsterDK wants to merge 2 commits into
Conversation
The first main baselines from #14815 showed two problems: - A Bazel server OOM (exit 33) reported every target as an aborted build_failure, so coverage-windows_arm64 recorded 14,917 labels. Targets that were skipped, aborted or cancelled were never built, so they are not failures. - A run with any dx error kept every earlier label. dx emits bazel_failed and incomplete_results on every ordinary red run, so while main was red the baseline could only grow. Those target-failure codes now count as reaching the covered scope; host and other errors still keep the earlier labels. Replaying the CI NDJSON: the OOM run gives 19 labels (7 carried) and the red run 45369444926 gives 11 instead of 76. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
|
/evidence platforms=["linux_x86_64"] task=test scope=//tools/ci/producers:producers_bin_test //tools/ci:comment_budget_test |
|
/evidence platforms=["linux_x86_64"] task=test scope=//tools/ci:config_consistency_test //tools/ci:host_env_test //tools/ci:hub_literals_test //tools/ci:lint_attributes_test //tools/ci:lock_registry_test //tools/ci:pin_locations_test //tools/ci:repo_rule_refetch_test //tools/ci:rule_set_loads_test //tools/ci:sandbox_escape_test //tools/ci:starlark_docs_test //tools/ci:test_budget_test //tools/ci:unreferenced_files_test //tools/ci:zero_compat_test //tools/testing:language_skeleton_test //tools/testing:module_extension_srcs_test //core/modules:versions_contract //core/modules:consumer_deps_test //core/quality/tests:qt_adapter_test //rust/tests/fixtures/native_call:native_mixed_crt_actions_test //core/quality:tools_registry_test //core/quality/adapter:update_severity_test |
|
Evidence started on |
1 similar comment
|
Evidence started on |
#14815 merged without its lint run. Indexing a serde_json Value is clippy::indexing_slicing, which dx check reported 17 times on macos_arm64. Read fields with Value::get like test_log_tails does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
|
/evidence platforms=["linux_x86_64"] task=test scope=//tools/ci:config_consistency_test //tools/ci:host_env_test //tools/ci:hub_literals_test //tools/ci:lint_attributes_test //tools/ci:lock_registry_test //tools/ci:pin_locations_test //tools/ci:repo_rule_refetch_test //tools/ci:rule_set_loads_test //tools/ci:sandbox_escape_test //tools/ci:starlark_docs_test //tools/ci:test_budget_test //tools/ci:unreferenced_files_test //tools/ci:zero_compat_test //tools/testing:language_skeleton_test //tools/testing:module_extension_srcs_test //core/modules:versions_contract //core/modules:consumer_deps_test //core/quality/tests:qt_adapter_test //rust/tests/fixtures/native_call:native_mixed_crt_actions_test //core/quality:tools_registry_test //core/quality/adapter:update_severity_test //tools/ci/producers:producers_bin_test |
Follow-up to #14815, based on the first main baselines.
build_failureevents with categoryskipped,abortedorcancelled, andabortedtest outcomes, no longer count as failing. Run 45389222096's coverage (windows_arm64) hit a Bazel server OOM and recorded 14,917 labels.bazel_failed,tests_failed,analysis_failedorincomplete_resultsnow clears the earlier labels it reached. Before this, every red main run kept all old labels, so the baseline could only grow.Value::get. ci: main baseline of failing labels and a PR baseline-diff job #14815 merged without its lint run, anddx checkreports 17clippy::indexing_slicingfindings infailing_labels.rs.Replaying the CI NDJSON gives 19 labels instead of 14,917 for the OOM run and 11 instead of 76 for run 45369444926.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus