Skip to content
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

Release 0.22 - January 2019 #6494

Closed
laurentlb opened this issue Oct 24, 2018 · 36 comments
Closed

Release 0.22 - January 2019 #6494

laurentlb opened this issue Oct 24, 2018 · 36 comments
Assignees
Labels

Comments

@laurentlb
Copy link
Contributor

Target RC date: January 7th

@aehlig
Copy link
Contributor

aehlig commented Jan 7, 2019

Looking at the nightly CI run, we can use deb028e as a clean base line.

@aehlig
Copy link
Contributor

aehlig commented Jan 7, 2019 via email

@aehlig
Copy link
Contributor

aehlig commented Jan 7, 2019

RC1 available at https://releases.bazel.build/0.22.0/rc1/index.html

@meteorcloudy
Copy link
Member

I thought a3a5975 could make it into 0.22, but it didn't. So we need cherry pick it to fix #6890

@aehlig
Copy link
Contributor

aehlig commented Jan 7, 2019 via email

@aehlig
Copy link
Contributor

aehlig commented Jan 7, 2019

RC2 is available at https://releases.bazel.build/0.22.0/rc2/index.html

@jin jin pinned this issue Jan 14, 2019
@keith
Copy link
Member

keith commented Jan 14, 2019

I believe that this file should be included in 0.22 otherwise the migration window for the new CcInfo provider #7036 doesn't really include 0.22. Also if you're using this API currently, you'll have to use --noincompatible_disable_legacy_cc_provider in production until 0.23 is released.

@cushon cushon unpinned this issue Jan 15, 2019
@aehlig
Copy link
Contributor

aehlig commented Jan 15, 2019

I believe that this file should be included in 0.22 otherwise the migration window for the new CcInfo provider #7036 doesn't really include 0.22.

Since 3976d58 was committed after the cut-off date, our policy is to delay the migration window rather than to cherry-pick. I.e., #7036 would have use 0.23 as migration window and cannot flip the flag before 0.24.

@jmillikin
Copy link
Contributor

I'm seeing a Bazel crash from a java.lang.IllegalStateException when using the new C++ toolchains: #7136

@aehlig
Copy link
Contributor

aehlig commented Jan 16, 2019

I'm seeing a Bazel crash from a java.lang.IllegalStateException when using the new C++ toolchains: #7136

Do I understand correctly that this just means that the new C++ toolchains are not ready yet (hence, we probably have to postpone the migration window). Or does anything break that works on bazel 0.21?

@jmillikin
Copy link
Contributor

My code is newly written for the v0.22 toolchains. I expect code written to the existing API would work properly.

@cushon cushon pinned this issue Jan 16, 2019
@lberki
Copy link
Contributor

lberki commented Jan 17, 2019

@aehlig : can we add the following two flags to the "0.22 is the migration window for these flags" list?

--incompatible_disable_legacy_proto_provider
--incompatible_disable_proto_source_root

@lberki
Copy link
Contributor

lberki commented Jan 17, 2019

Tracking bug for --incompatible_disable_legacy_proto_provider: #7152

@lberki
Copy link
Contributor

lberki commented Jan 17, 2019

Tracking bug for --incompatible_disable_proto_source_root: #7153

@aehlig
Copy link
Contributor

aehlig commented Jan 17, 2019

Thanks. Will add this to the release announcement.

@dslomov
Copy link
Contributor

dslomov commented Jan 18, 2019

I believe that this file should be included in 0.22 otherwise the migration window for the new CcInfo provider #7036 doesn't really include 0.22.

Since 3976d58 was committed after the cut-off date, our policy is to delay the migration window rather than to cherry-pick. I.e., #7036 would have use 0.23 as migration window and cannot flip the flag before 0.24.

See #7036 (comment) - the shim file is not really necessary for migration and only served as an example (in fact, it was removed from Bazel distribution)

@dslomov
Copy link
Contributor

dslomov commented Jan 18, 2019

@aehlig : can we add the following two flags to the "0.22 is the migration window for these flags" list?

--incompatible_disable_legacy_proto_provider
--incompatible_disable_proto_source_root

Suggestion: let's not list the individual migration window incompatible flags in the release announcement, instead let's only publish a link to issues with migration-0.22 label
We should still list all breaking changes that have actually occurred in 0.22 in the release annoucement.

WDYT?

@aehlig
Copy link
Contributor

aehlig commented Jan 18, 2019

Suggestion: let's not list the individual migration window incompatible flags in the release announcement, instead let's only publish a link to issues with migration-0.22 label
[...]

WDYT?

I think that, if by the time of the release announcement, we cannot tell the users which migrations could/should be done, we cannot reasonably except them to act in this migration window. So there is some value in committing to saying which migrations we believe are ready—and in this way ensure there is no surprise of a retroactively added label saying "you should have migrated during the last releas".

@buchgr
Copy link
Contributor

buchgr commented Jan 18, 2019

We'll unfortunately need to rollback the --incompatible_strict_action_env flag flip from the 0.21 release (See #7026). Also, we'll need to cherry-pick #7174 which fixes a bug that introduces flakyness on our CI. I ll post the commits later today.

@philwo
Copy link
Member

philwo commented Jan 18, 2019

We kindly ask for the following cherry-picks:

@dslomov
Copy link
Contributor

dslomov commented Jan 18, 2019

Suggestion: let's not list the individual migration window incompatible flags in the release announcement, instead let's only publish a link to issues with migration-0.22 label
[...]
WDYT?

I think that, if by the time of the release announcement, we cannot tell the users which migrations could/should be done, we cannot reasonably except them to act in this migration window. So there is some value in committing to saying which migrations we believe are ready—and in this way ensure there is no surprise of a retroactively added label saying "you should have migrated during the last releas".

Of course, we will never add migrations after release is published (only the release manager should add migration-X.Y labels, and never do so after the release is out). But we might remove migrations where things didn't pan out (because the bugs are discovered or whatnot)

@dslomov
Copy link
Contributor

dslomov commented Jan 18, 2019

We kindly ask for the following cherry-picks:

I can haz justification? :)
Could you specify (briefly!), for the benefit of release manager, which commit fixes which issue (and, unless this is already discussed in the issue, why that issue is a blocker). Thanks!

@aehlig
Copy link
Contributor

aehlig commented Jan 18, 2019 via email

@aehlig
Copy link
Contributor

aehlig commented Jan 18, 2019

@petemounce
Copy link
Contributor

RCs 1-3 pushed to chocolatey.

@buchgr
Copy link
Contributor

buchgr commented Jan 22, 2019

Unfortunately #7212 is a regression. I am rolling back the root cause of it: #7216

@aehlig
Copy link
Contributor

aehlig commented Jan 23, 2019

Unfortunately #7212 is a regression. I am rolling back the root cause of it: #7216

OK, so I'll wait till #7216 is committed and generate a new RC then, with that commit added as cherry-pick.

@philwo
Copy link
Member

philwo commented Jan 23, 2019

@dslomov Absolutely! Will do so in the future.

b8d0e1b

Only affects the release scripts and was required because the name of a key used to decrypt the GitHub token that we use to upload the release to GitHub changed. Without this commit, the release script would crash when trying to upload the files to GitHub. The change doesn't affect Bazel itself.

3759e38

Fixes #7174, #7160 and #4751. There was a long-standing issue in Bazel that caused builds and tests to randomly fail with an IOException on CI and possibly for other users, too. The problems became worse recently due to other code changes that tripped over the race condition, so expediting this fix was important.

4473bb1

Fixes #6860, which caused CI jobs on Windows to fail when any test was flaky, due to a race condition in the process management code that prevented Bazel from cleaning up test output files.

9137fb9

Reverts an incompatible flag flip that broke users of Bazel 0.21.0 (but discussing and analyzing the cause and what a good way to fix it took time, so the revert wasn't ready yet when the baseline for 0.22.0 was cut).

@aehlig
Copy link
Contributor

aehlig commented Jan 23, 2019

OK, so I'll wait till #7216 is committed and generate a new RC then, with that commit added as cherry-pick.

The relevant changes to cherry-pick are 12ab12e and 6345c74. Will create a new RC soon.

@aehlig
Copy link
Contributor

aehlig commented Jan 23, 2019 via email

@aehlig
Copy link
Contributor

aehlig commented Jan 23, 2019

Sorry, that, of course, should read

scripts/release/release.sh create --force_rc=4 0.22.0 deb028e a3a5975 b8d0e1b 3759e38 4473bb1 9137fb9 12ab12e 6345c74

@aehlig
Copy link
Contributor

aehlig commented Jan 23, 2019

RC4 is available at https://releases.bazel.build/0.22.0/rc4/index.html

@aehlig
Copy link
Contributor

aehlig commented Jan 28, 2019

As no more issues were reported, will promote rc4 to release.

@aehlig
Copy link
Contributor

aehlig commented Jan 28, 2019

@aehlig aehlig closed this as completed Jan 28, 2019
@petemounce
Copy link
Contributor

Pushed to chocolatey

@aehlig aehlig unpinned this issue Jan 29, 2019
@davido
Copy link
Contributor

davido commented Jan 31, 2019

Bazel 0.22.0 Alpine Linux package is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests