Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
merged 7 commits into from
Feb 27, 2025

Conversation

jjudd
Copy link

@jjudd jjudd commented Feb 27, 2025

No description provided.

@jjudd jjudd requested a review from jadenPete February 27, 2025 18:38
.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

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Will do.

@@ -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]

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?

Copy link
Author

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.

Copy link
Author

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

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.

Copy link
Author

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.
@jjudd jjudd merged commit 033861d into lucid-master Feb 27, 2025
1 check passed
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.

2 participants