Skip to content

Migrate to Bazel 8#893

Merged
jupblb merged 7 commits into
mainfrom
michal/bazel-upgrade
Jun 2, 2026
Merged

Migrate to Bazel 8#893
jupblb merged 7 commits into
mainfrom
michal/bazel-upgrade

Conversation

@jupblb
Copy link
Copy Markdown
Member

@jupblb jupblb commented Jun 2, 2026

No description provided.

jupblb added 7 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.
@jupblb jupblb merged commit 999b8ad into main Jun 2, 2026
12 checks passed
@jupblb jupblb deleted the michal/bazel-upgrade branch June 2, 2026 11:35
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