Skip to content

dx build/test: summary line for skipped incompatible targets (part of #6175) - #6426

Merged
TrapsterDK merged 1 commit into
mainfrom
dx-skip-notice
Nov 4, 2026
Merged

TrapsterDK merged 1 commit into
mainfrom
dx-skip-notice

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Part of #6175.

First slice: dx now reads the SKIPPED targetCompleted events and prints one line, for both dx build and dx test: dx: skipped N targets incompatible with this platform (docs/support-matrix.md). In JSON mode it is a targets_skipped info notice. Exit code is unchanged. New module cli/cli/src/exec/skipped_targets.rs.

Remaining from the plan: per-language unsupported constraint in cells.bzl and the wrappers, unsupported.json from the support matrix facts with the reasons and drift check, per-language lines with reasons, the reason in build_failures.rs for explicitly requested incompatible targets, and the Starlark/facts/wrapper tests.

Tests: new unit tests in skipped_targets.rs and one text-mode test in test_reports.rs pass. Two unrelated coverage tests (coverage_*_tracefile_skipped*) fail in this sandbox (not a Git work tree). Nested-Bazel/consumer tests not run.

Assisted by Claude.

🤖 Generated with Claude Code

https://claude.ai/code/session_011u9TXHDZrfmzFQ2WT8QAKK

…atible (part of #6175)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011u9TXHDZrfmzFQ2WT8QAKK
@TrapsterDK
TrapsterDK merged commit e76ce9b into main Nov 4, 2026
1 check failed
@TrapsterDK
TrapsterDK deleted the dx-skip-notice branch November 4, 2026 19:50
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.

1 participant