Skip to content

Conversation

@EdbertChan
Copy link
Contributor

Note: DO NOT MERGE THIS. This is just a fix to showcase a potential work around for OOMs for workers on old versions of rules lint

There are issues with the current implementation of persistent workers where an OOM will break the RxJava implementation and the message will not relay back to the Bazel server. This will cause builds to run indefinitely.

There is a stable version in Rules Kotlin. We will piggy back off of the public implementation by patching rules kotlin to expose their implementation and using theirs.

Because of the nature of this fix, if you are on 8.0-, you may have to patch the rules_kotlin in your own WORKSPACE file to make the worker visible as well with

patch_args = ["-p1"],
patches = ["//fixes/rules_kotlin:visibility.patch"],

There are issues with the current implementation of persistent workers where an OOM will break the RxJava implementation and the message will not relay back to the Bazel server. This will cause builds to run indefinitely.

There is a stable version in Rules Kotlin. We will piggy back off of the public implementation.
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