Gergely Fábián

Results 122 comments of Gergely Fábián

It seems your test runner reported a success, but then Bazel reports a failure. It seems there is a permission error, right at the end of the log. Check maybe...

Having the custom JacocoRunner build script, you could go and modify JacocoRunner and add some debugging around the code that you see in the trace, to check accessing which exact...

How I solved this (without direct rules_scala support): 1. Added semanticdb as a dependency with rules_jvm_external: `"org.scalameta:semanticdb-scalac_%s:4.7.1" % scala_version` 2. Set up your scalacopts and compiler plugins accordingly: ```starlark semanticdb...

Is this a Bazel bug or a rules_scala one?

Added reproduction in https://github.com/gergelyfabian/bazel-scala-example/ (master branch): ``` # Change .bazelversion to 7.0.0rc2 and then run: bazel run //example-maven:example-maven.format-test ```

Checking whether this is a bazel issue: ``` export BAZELISK_CLEAN=true bazel --bisect=6.4.0..release-7.0.0rc2 run //example-maven:example-maven.format-test ```

> Checking whether this is a bazel issue: > > ``` > export BAZELISK_CLEAN=true > bazel --bisect=6.4.0..release-7.0.0rc2 run //example-maven:example-maven.format-test > ``` Trick is that I had to turn off using...

``` --- Bisect Result first bad commit is https://github.com/bazelbuild/bazel/commit/9c96529fca4a135c162e35ce2882834b879438fb ``` That is: ``` Build without the bytes by default by changing the default value of `--remote_download_outputs` to `toplevel`. ```

Thank you, bazelisk, indeed this seems to be the answer. This works: ``` bazel run --remote_download_all //example-maven:example-maven.format-test ```

Forming the question again, scalafmt internal outputs not working with "build without the bytes" is a bug of Bazel or rules_scala?