-
Notifications
You must be signed in to change notification settings - Fork 59
retain Scala.js in the community build? is it worth the effort? #1009
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
Comments
Since we never got to support downstream Scala.js projects in the community build, Scala.js ended up being a leaf project indeed. For me, the real benefit is the early detection. The fact that it's a few weeks behind is not really problem. "Early" is early enough as long as we detect regressions several weeks before a new minor version of Scala gets released. I am open to obtain these notifications in a different context than dbuild.
That would cause our CI to be non-reproducible, which is a big no-no for me. However, we could perhaps set up a separate repo with nothing but a script that clones Scala.js, resolves the appropriate nightly of Scala, and tests the relevant stuff. Assuming we can get one run of that CI in the time limits of Travis CI or GitHub Actions, that would be fine. |
Well ... I did that: https://github.com/scala-js/scala-js-test-scala-nightly |
works for me! I left a breadcrumb about it at scala/scala-dev#648 okay to go ahead and remove Scala.js from this repo, then? |
Yes, let's remove it from this repo. Thank you @SethTisue for all your help! |
Uh oh!
There was an error while loading. Please reload this page.
(this is on my mind because of scala-js/scala-js#3805, which presents fresh difficulties for retaining Scala.js in the community build)
traditionally we have included Scala.js, but it's not obviously necessary. Scala.js has zero dependencies besides Scala itself, and it is a leaf project — nothing in the community build is downstream from it.
dbuild's forte is rewiring projects' dependencies to use freshly-built versions, but that doesn't apply here, so dbuild isn't buying us anything, particularly.
therefore the only value we're getting out of including Scala.js at all is that we get early notification when a merged PR in scala/scala breaks Scala.js
but there are caveats even there:
perhaps we should consider alternatives.
in particular, I think maybe Scala.js should add "latest Scala {2.11, 2.12, 2.13} nightly" to its CI matrix. you can find out what the latest nightly is by looking in the scala/scala repo, or if you want to avoid churn and don't mind living with caveat 2, you could look in https://github.com/scala/community-build/blob/2.12.x/nightly.properties (and so on for the other branches)
an example of how that looks (this is copied from a Lightbend-internal repo; I intend to blog about it at some point):
@sjrd @gzm0 wdyt?
The text was updated successfully, but these errors were encountered: