Commit a35d44d
Filter platform-specific Maven alias targets in E2E tests
Bazel's cquery behavior varies across versions and platforms when handling
Maven dependency aliases. On some combinations (e.g., Ubuntu + Bazel 9.x),
these alias targets appear in cquery output:
- @@rules_jvm_external++maven+maven//:com_google_code_findbugs_jsr305
- @@rules_jvm_external++maven+maven//:com_google_guava_failureaccess
- @@rules_jvm_external++maven+maven//:com_google_guava_listenablefuture
- @@rules_jvm_external+//private/tools/java/.../jar:AddJarManifestEntry
On other combinations (e.g., macOS + Bazel 9.x), these same targets are
omitted from cquery output, with only the actual file targets returned.
To ensure tests pass consistently across all platforms and Bazel versions,
we now filter these unstable alias targets from comparison in E2E tests,
and removed them from the expected results file.
This allows the tests to focus on the stable targets that appear consistently
across all configurations while ignoring the platform/version-specific aliases.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 2847b36 commit a35d44d
2 files changed
Lines changed: 7 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| |||
0 commit comments