-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Enable sandboxing and remote caching for the "exclusive" tag #8983
Conversation
There's no good reason why tests tagged with exclusive shouldn't be able to use sandboxing and/or remote caching. The current limitations have been kept from open sourcing Bazel and have never been revisited since. Remote execution will continue to be disabled because Bazel can't control what else is running on a remote machine.
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.
LGTM
*** Reason for rollback *** Breaks some Google-internal targets. *** Original change description *** Enable sandboxing and remote caching for the "exclusive" tag There's no good reason why tests tagged with exclusive shouldn't be able to use sandboxing and/or remote caching. The current limitations have been kept from open sourcing Bazel and have never been revisited since. Remote execution will continue to be disabled because Bazel can't control what else is running on a remote machine. Closes #8983. PiperOrigin-RevId: 261644804
*** Reason for rollback *** Breaks some Google-internal targets. *** Original change description *** Enable sandboxing and remote caching for the "exclusive" tag There's no good reason why tests tagged with exclusive shouldn't be able to use sandboxing and/or remote caching. The current limitations have been kept from open sourcing Bazel and have never been revisited since. Remote execution will continue to be disabled because Bazel can't control what else is running on a remote machine. Closes #8983. PiperOrigin-RevId: 261644804
*** Reason for rollback *** Breaks some Google-internal targets. *** Original change description *** Enable sandboxing and remote caching for the "exclusive" tag There's no good reason why tests tagged with exclusive shouldn't be able to use sandboxing and/or remote caching. The current limitations have been kept from open sourcing Bazel and have never been revisited since. Remote execution will continue to be disabled because Bazel can't control what else is running on a remote machine. Closes #8983. PiperOrigin-RevId: 261644804
@buchgr I know you no longer work on Bazel, but do you know if this could be conditionally enabled for Bazel? I understand that it was rolled back internally because of failing tests with internal backends. |
Sure, it is possible to conditionally enable it. In the best case, I would think of this approach as adding technical debt. In the worst case, it will lead to bugs in OSS projects that are synced between internal and external. Unless this feature is urgent, I'd recommend to invest the work and clean up depot. |
1. Add --incompatible_exclusive_test_sandboxed flag so users can enable this feature conditionally. 2. Users who want to run exclusive tests locally can add a 'local' tag to the test. *** Original change description *** Enable sandboxing and remote caching for the "exclusive" tag There's no good reason why tests tagged with exclusive shouldn't be able to use sandboxing and/or remote caching. The current limitations have been kept from open sourcing Bazel and have never been revisited since. Remote execution will continue to be disabled because Bazel can't control what else is running on a remote machine. Closes #8983. *** PiperOrigin-RevId: 337219101
There's no good reason why tests tagged with exclusive shouldn't
be able to use sandboxing and/or remote caching. The current
limitations have been kept from open sourcing Bazel and have
never been revisited since.
Remote execution will continue to be disabled because Bazel
can't control what else is running on a remote machine.