-
Notifications
You must be signed in to change notification settings - Fork 14
Release 2.12.15 #783
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
Point of no returnOnce sufficient time has passed since last merged PR, it's time to cut the release! How long we wait depends on what kind of release it is. For a major release, it might be 1-2 weeks, to give core projects time to try out the preceding release candidate and/or the current candidate nightly. For point releases, assuming we've given the community ahead-of-time warning and kept them appraised of progress on the Discourse thread, and assuming the last changes merged seem sufficiently safe, we might build the next day. Be mindful of others' schedules; even minor releases make work downstream (for Scala.js and Scala Native, for the Scala 3 team, for compiler plugin authors, and so on). It's better not to release on Friday or before a holiday.
Check availability
When everything is on maven central
Modules
Announcements
Afterwards
|
publishing failed, some Sonatype problem that isn't obvious to me. I'll investigate, but it's no longer feasible to publish this week. hopefully next week |
the failed build on Sep 1: https://app.travis-ci.com/github/scala/scala/jobs/535138405 the error:
successful 2.12.14 publishing run, for comparison: https://app.travis-ci.com/github/scala/scala/jobs/508816266 for diffing purposes, it helps to pipe the raw logs through but actually the diffs don't give any clues. maybe I need to run with this is pretty rough to troubleshoot since the build takes so long. it's tempting to try to publish from my local machine instead (without having to rebuild everything every time) and hope to learn something from that -- though that won't help if the problem has to do with the encrypted secrets on Travis-CI |
note that I published scala-async from Travis-CI last week and that went fine, so there isn't an org-wide issue note that since 2.12.14, we upgraded from sbt 1.3.13 to 1.5.5 as part of an effort to backport build changes from 2.13 to 2.12 perhaps I should do a trial run of the 2.13.7 release (and drop the staging repos, of course!) to see if the same problem occurs there another possible source of clues is to re-run the 2.12.14 and/or 2.13.6 releases and see if they succeed (and then drop the staging repos) |
another end to approach this from is "what could cause this error?" at xerial/sbt-sonatype#214 someone got the same error because of oss.sonatype.org vs s01.oss.sonatype.org, but we're publishing from a longstanding Sonatype account and not a recently created one, so oss.sonatype.org should still be right. and anyway the 2.12.14 release was in May 2021 which is after Sonatype started expecting new accounts to use the new host (in February 2021) at sbt/sbt-pgp#182 someone got the same error simply because they were using wrong credentials. if we were setting up publishing in the scala/scala repo for the first time, wrong credentials is the first explanation I'd consider, but in this case, we know that everything was set up right before, so how could it be wrong now? regardless, maybe I need to accept that it's somehow a wrong-credentials problem and set the credentials up again I think the next thing I'll try is a dry run of 2.13.7 publishing, since that will tell us if the problem is repo-wide or is somehow specific to the 2.12.x branch |
2.13.x build triggered with (but it might take a while because we're now down to only one concurrent Travis-CI job in scala/* and a PR validation job is running) |
UPDATE: never mind |
It failed with the same error as we're getting on 2.12.x. That narrows down the possible causes — we no longer need to consider 2.12-specific causes. I'm not sure whether that's good news or bad news :-), but I guess any narrowing is good 🤷 |
Now that we know both 2.12 and 2.13 are broken, I'm contemplating just replacing the publishing secrets and hope that helps. (Before, I was afraid to do that for fear of breaking 2.13 too.) I don't know enough about PGP stuff to know whether it's plausible that we're using an expired key or something like that. |
I reviewed the diffs on 2.13.x since v2.13.6, and scala/scala#9658 stood out as a plausible culprit. (Jason also suggested at team meeting today that this PR might be relevant.) 9658 was backported to 2.12.x (scala/scala#9659), so that's consistent with both branches being broken. I think I'll try simply reverting the 2.12.x backport and hope that allows us to get 2.12.15 out the door. Then with that done, we can slow down and try and understand what went wrong, in time for 2.13.7. |
pushed the reversion to a |
gah that didn't help 🙀 maybe the credentials really are expired/bad somehow |
this seems suspicious:
but if and anyway if it was a GPG key problem we'd get some other kind of error, I think |
https://app.travis-ci.com/github/scala/scala/builds/237577842 is a re-run of the 2.13.6 publishing and fails the same way plus I had already done a similar 2.12.x experiment at https://app.travis-ci.com/github/scala/scala/jobs/535148973 (I don't recall how I picked the commit I used, but it was around 2.12.14 release time) with the same result so it looks like I can stop groveling around trying to identify what commit or pull request is the culprit and just redo the secrets... though I still wish I had a theory about what changed to make this stop working, since if I redo the secrets and it still doesn't work we'll still be right on square one |
We have secrets in two places: in the Travis-CI web UI, and in The ones in the Travis-CI web UI are In
afaics only I don't know whether they were set up to use the |
redid the secrets (following https://docs.travis-ci.com/user/encryption-keys/) as follows:
pushed to at the top of the log I see this, as expected:
20 minutes later:
🎉 and I shall not throw my laptop into the sea after all.... not today, anyway |
I dropped the staging repos. I'll re-run this after merging scala/scala#9759 . (Maybe it's paranoia talking, but I feel more comfortable having the real release come from an actual merge commit on the 2.12.x branch.) |
Key links:
N weeks before the release
Release announcement / notes
gh api --paginate -X GET search/issues -f q='repo:scala/scala is:pull-request is:merged milestone:2.12.14 label:release-notes' -q '.items[] | " * \(.title) ([#\(.number)](\(.html_url)) by [@\(.user.login)](\(.user.html_url)))"'
N days before release
The text was updated successfully, but these errors were encountered: