Skip to content

Migrate to Bazel 8#893

Open
jupblb wants to merge 6 commits into
mainfrom
michal/bazel-upgrade
Open

Migrate to Bazel 8#893
jupblb wants to merge 6 commits into
mainfrom
michal/bazel-upgrade

Conversation

@jupblb
Copy link
Copy Markdown
Member

@jupblb jupblb commented Jun 2, 2026

No description provided.

jupblb added 6 commits June 2, 2026 12:05
- Detect Bazel via MODULE.bazel in addition to WORKSPACE
- Tokenize compilation.javac_options via ctx.tokenize (depset of shell-quoted strings in Bazel 8)
- Replace struct.to_json() (removed in Bazel 8) with json.encode
Bazel only creates the workspace-level bazel-out symlink at the end of
a build. On cold runs, scip-java was invoked with --cwd <sourceroot> and
relative bazel-out/... output paths, so it wrote to <sourceroot>/bazel-out
instead of <execroot>/bazel-out and Bazel reported the action's declared
outputs as missing.
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