-
Notifications
You must be signed in to change notification settings - Fork 5
Various upgrades, Scala 3, multiplex sandboxing, path mapping #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
.bazelrc_shared
Outdated
@@ -8,20 +8,13 @@ build --tool_java_runtime_version="remotejdk_21" | |||
# Other options | |||
build --experimental_use_hermetic_linux_sandbox | |||
build --experimental_worker_sandbox_hardening | |||
build --experimental_worker_multiplex_sandboxing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super-nit but would you mind re-sorting these? I'm trying to keep our Bazel options organized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. Will do.
.github/workflows/ci.yml
Outdated
@@ -14,7 +14,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
os: [ubuntu-24.04] | |||
bazel_version: [bazelbuild/8.1.0] | |||
bazel_version: [bazelbuild/8.1.1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't we need CI to be on our custom version of Bazel, since that's the environment in which the bug is occurring?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should still use the version in Bazelisk. I believe this is just the version it sets up initially. Otherwise the CI builds wouldn't have passed when using the custom bazel version + multiplex sandboxing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But good point, I'll try to update this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is just the version it sets up initially.
I'm not sure if you've answered this question before, but do you know why it has to set up an initial version at all? If we can just have it install Bazelisk, we won't need to update this and the builds will run faster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. I honestly haven't looked at this deeply, so it's possible this isn't really doing anything.
This requires a custom version of Bazel until the fix is merged, so we're on 8.1.1 + the fix for multiplex sandboxing.
Some of the code we produce gets used as libraries by other rule sets, so we should prefer the LTS over the Next branch.
8e5a2c8
to
8920ddf
Compare
No description provided.