Xùdōng Yáng
Xùdōng Yáng
Ubuntu 20.04 uses Python 3, which might be what's causing this. Lots of test failures, see https://buildkite.com/bazel/subpar/builds/7413#7f8773f9-2385-4244-8a00-da4c4dd9a2ab
To ensure we can use repo mappings in the runfiles library, this change writes an extra file "my_binary_target.runfiles/_repo_mapping", which contains a bunch of (base_repo_canonical_name, apparent_repo_name, canonical_repo_name) triples. See https://github.com/bazelbuild/proposals/blob/main/designs/2022-07-21-locating-runfiles-with-bzlmod.md for...
See [section in the original design doc](https://docs.google.com/document/d/1moQfNcEIttsk6vYanNKIy3ZuK53hQUFq1b1r0rmsYVg/edit#heading=h.vxty4pj7bwk8). Also a bit more background in https://github.com/bazelbuild/bazel-skylib/issues/384
# Status of Bazel 6.0.0 - Target baseline: 2022-10-10 - Expected release date: 2022-11-14 - [List of release blockers](https://github.com/bazelbuild/bazel/milestone/38) To report a release-blocking bug, please add a comment with the...
`scala_toolchain` has two attributes that specify target patterns: https://github.com/bazelbuild/rules_scala/blob/17791a18aa966cdf2babb004822e6c70a7decc76/scala/scala_toolchain.bzl#L120-L127 These are implemented as string lists, and directly used to compare with a stringified label's prefix: https://github.com/bazelbuild/rules_scala/blob/b85d1225d0ddc9c376963eb0be86d9d546f25a4a/scala/private/phases/phase_dependency.bzl#L82-L91 This is very brittle...
Shell tests in rules_scala are run by executing a huge shell script (`//:test_rules_scala.sh`) which runs each individual shell test function sequentially. This is very painful for developers: * No caching:...
Also disabled some tests involving target patterns (see https://github.com/bazelbuild/rules_scala/issues/1420) ### Description ### Motivation
Failures: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2586#0182a995-9a6f-49fc-a38d-06487e43e242 Flag flip commit: https://github.com/bazelbuild/bazel/commit/3469784a4935c91b4ac22bcfed6be52e6dfec878 Autosheriff link: https://buildkite.com/bazel/bazel-auto-sheriff-face-with-cowboy-hat/builds/1005 Projects to fix: - [x] Bazel - [x] Bazel integration testing: removed https://github.com/bazelbuild/continuous-integration/pull/1405 - [x] Bazelisk: sent https://github.com/bazelbuild/bazelisk/pull/348 - [x] Buildfarm:...
- Added `rctx.watch_tree()` to watch a directory tree, which includes all transitive descendants' names, and if they're files, their contents. - In the future we could add glob patterns to...
Mappings for repos defined in WORKSPACE are extremely annoying to verify given the chunked loading (we'd have to record which chunk the repo mapping was used in, and then load...