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

Revert: Revert temporary workflow changes made in #10847 #10914

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

mattlord
Copy link
Contributor

@mattlord mattlord commented Aug 3, 2022

Description

In #10896 we reverted the temporary upgrade/downgrade backup manual workflow changes made in #10847.

This was done because the MySQL 8.0.30 backup fixes were merged into the release-14.0 branch via #10895 and given that "v14 had the fix" (though not in an official release) we should no longer need to pin the MySQL version.

Well... I was mistaken about what we downgraded to in this workflow. I thought we built binaries on the previous release branch, in this case release-14.0, but instead we checkout the latest release tag which is v14.0.1 today.

You can see this here:

- name: Set output with latest release branch
id: output-previous-release-ref
run: |
previous_release_ref=$(./tools/get_previous_release.sh ${{github.base_ref}} ${{github.ref}})
echo $previous_release_ref
echo "::set-output name=previous_release_ref::${previous_release_ref}"

And here: https://github.com/vitessio/vitess/blob/main/tools/get_previous_release.sh

And you can see an example workflow which fails to perform the backup on the downgraded v14.0.1 binaries here: https://github.com/vitessio/vitess/runs/7642110846?check_suite_focus=true

So in this PR we put the temporary workflow changes back in place and update the comment in the workflow to reflect that these MySQL version pinning changes cannot be removed until either of the following occur:

  1. v14.0.2 is released
  2. The dev version on main becomes 16.0.0-SNAPSHOT (meaning the v15.0.0 release candidate has been cut)

Related Issue(s)

Checklist

  • "Backport me!" label has been added if this change should be backported
  • Tests were added or are not required
  • Documentation was added or is not required

@vitess-bot
Copy link
Contributor

vitess-bot bot commented Aug 3, 2022

Review Checklist

Hello reviewers! 👋 Please follow this checklist when reviewing this Pull Request.

General

  • Ensure that the Pull Request has a descriptive title.
  • If this is a change that users need to know about, please apply the release notes (needs details) label so that merging is blocked unless the summary release notes document is included.
  • If a new flag is being introduced, review whether it is really needed. The flag names should be clear and intuitive (as far as possible), and the flag's help should be descriptive.
  • If a workflow is added or modified, each items in Jobs should be named in order to mark it as required. If the workflow should be required, the GitHub Admin should be notified.

Bug fixes

  • There should be at least one unit or end-to-end test.
  • The Pull Request description should either include a link to an issue that describes the bug OR an actual description of the bug and how to reproduce, along with a description of the fix.

Non-trivial changes

  • There should be some code comments as to why things are implemented the way they are.

New/Existing features

  • Should be documented, either by modifying the existing documentation or creating new documentation.
  • New features should have a link to a feature request issue or an RFC that documents the use cases, corner cases and test cases.

Backward compatibility

  • Protobuf changes should be wire-compatible.
  • Changes to _vt tables and RPCs need to be backward compatible.
  • vtctl command output order should be stable and awk-able.

@mattlord mattlord requested a review from deepthi August 3, 2022 00:16
This reverts commit 06fc7a2.

The upgrade/downgrade tests use the last release tag of the
previous version (e.g. v14.0.1) instead of the previous version's
release branch (e.g. release-14.0) so we can't remove this pinning
until v14.0.2 is released.

We also update the comment to reflect the true conditions that will
allow us to remove this MySQL version pinning.

Signed-off-by: Matt Lord <mattalord@gmail.com>
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@deepthi deepthi merged commit 6947057 into vitessio:main Aug 3, 2022
@deepthi deepthi deleted the revert_10896 branch August 3, 2022 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants