You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
java guard: rules_scala exe/scalac_bootstrap from #14409 fails the java prebuilt guard #14594
Where: the Java prebuilt guard on main flags rules_scala exe/scalac_bootstrap, added by #14409. The jline sources jar is also unrecorded.
Fix: build scalac_bootstrap from source or from a recorded, sha256-pinned input so the guard passes without an allowlist entry, and record the jline sources jar. Guard allowlists only shrink.
Next slice: read the java guard evidence requested above (main, linux_x86_64) for the rule kind and path that reach rules_scalaexe/scalac_bootstrap. The Java check aspects (java/private/quality/jvm.bzl) don't load Scala. The candidates are the registered dx_scala_toolchains (resolved by something that requests @rules_scala//scala:toolchain_type) and scalac_check_aspect's exec attrs (_dependency_analyzer is a rules_scala target, resolved wherever the aspect applies). required_providers can't gate the aspect: rules_scala's rules advertise only JavaInfo. Record the jline sources jar in the java cache set with /lock-refresh nested=true on the fixing PR.
Next slice: read evidence run https://github.com/devhusdk/rules_dx/actions/runs/45011978294 (current main; was still queued). The earlier run 44956487215 never reached the rules_scala check: it failed first on dx_target_guard:pcov (allow_files), which #14510 fixed after that commit. Facts so far: since #14409, rules_scala lives in rules_dx++dx_pins+rules_scala, which compiled_binaries counts as rules_dx (prefix rules_dx+), and the allowlist's repo line only covers scala consumers. In the main repo, somepath from every java command root (dx:generate, generate_check, env, codegen, docs/site:scope_tools, //:dx, cosign, gitleaks, trivy, java/private/ide:java_tool, java/private/tools/lock) and from the java hello/junit fixtures reaches neither scalac:scalac_bootstrap nor exe:exe. So the path is the dx_prebuilt_guard check/docs aspect wrapper (or a nested-only root). The only registrations are @dx_scala_toolchains//:all (scala and testing toolchain types only). The aspect query couldn't run here: the cloud proxy returns 403 for the bazel-contrib/rules_ruby archive (attach: bazel-contrib/rules_ruby).
Activity
TrapsterDK commentedon Nov 21, 2026
cloud-claim f5be43c8
Generated by Claude Code
TrapsterDK commentedon Nov 21, 2026
/evidence platforms=["linux_x86_64"] task=test scope=//tools/testing/consumer:java_prebuilt_guard_test
Generated by Claude Code
TrapsterDK commentedon Nov 21, 2026
Next slice: read the java guard evidence requested above (main, linux_x86_64) for the rule kind and path that reach
rules_scalaexe/scalac_bootstrap. The Java check aspects (java/private/quality/jvm.bzl) don't load Scala. The candidates are the registereddx_scala_toolchains(resolved by something that requests@rules_scala//scala:toolchain_type) andscalac_check_aspect's exec attrs (_dependency_analyzeris a rules_scala target, resolved wherever the aspect applies).required_providerscan't gate the aspect: rules_scala's rules advertise onlyJavaInfo. Record the jline sources jar in the java cache set with/lock-refresh nested=trueon the fixing PR.Generated by Claude Code
github-actions commentedon Nov 21, 2026
Evidence started on
main: https://github.com/devhusdk/rules_dx/actions/runs/44956487215TrapsterDK commentedon Nov 22, 2026
cloud-claim 85af6871
Generated by Claude Code
TrapsterDK commentedon Nov 22, 2026
/evidence platforms=["linux_x86_64"] task=test scope=//tools/testing/consumer:java_prebuilt_guard_test
Generated by Claude Code
github-actions commentedon Nov 22, 2026
Evidence started on
main: https://github.com/devhusdk/rules_dx/actions/runs/45011978294TrapsterDK commentedon Nov 22, 2026
Next slice: read evidence run https://github.com/devhusdk/rules_dx/actions/runs/45011978294 (current main; was still queued). The earlier run 44956487215 never reached the rules_scala check: it failed first on
dx_target_guard:pcov(allow_files), which #14510 fixed after that commit. Facts so far: since #14409, rules_scala lives inrules_dx++dx_pins+rules_scala, whichcompiled_binariescounts as rules_dx (prefixrules_dx+), and the allowlist'srepoline only coversscalaconsumers. In the main repo,somepathfrom every java command root (dx:generate,generate_check,env,codegen,docs/site:scope_tools,//:dx, cosign, gitleaks, trivy,java/private/ide:java_tool,java/private/tools/lock) and from the java hello/junit fixtures reaches neitherscalac:scalac_bootstrapnorexe:exe. So the path is thedx_prebuilt_guardcheck/docs aspect wrapper (or a nested-only root). The only registrations are@dx_scala_toolchains//:all(scala and testing toolchain types only). The aspect query couldn't run here: the cloud proxy returns 403 for thebazel-contrib/rules_rubyarchive (attach: bazel-contrib/rules_ruby).Generated by Claude Code
TrapsterDK commentedon Nov 22, 2026
cloud-claim 841a08fd
Generated by Claude Code
TrapsterDK commentedon Nov 22, 2026
Already fixed: evidence run https://github.com/devhusdk/rules_dx/actions/runs/45011978294 ran
//tools/testing/consumer:java_prebuilt_guard_testuncached (--noremote_accept_cached) on main 4d1324d, linux_x86_64: PASSED in 36.7s. Closing.Generated by Claude Code