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

⚠️ Retire destination-bigquery-denormalized #28488

Merged
merged 35 commits into from
Sep 12, 2023

Conversation

evantahler
Copy link
Contributor

@evantahler evantahler commented Jul 19, 2023

Closes #28449

Breaking Change Playbook - https://docs.google.com/document/d/1kJjEsc5UrYxVIkkS4eaEFIf9gCoHIPKlVMqADPaqiVY/edit

The destination was created in 2021 here #4176

@github-actions
Copy link
Contributor

github-actions bot commented Jul 19, 2023

Before Merging a Connector Pull Request

Wow! What a great pull request you have here! 🎉

To merge this PR, ensure the following has been done/considered for each connector added or updated:

  • PR name follows PR naming conventions
  • Breaking changes are considered. If a Breaking Change is being introduced, ensure an Airbyte engineer has created a Breaking Change Plan and you've followed all steps in the Breaking Changes Checklist
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • You've updated the connector's metadata.yaml file any other relevant changes, including a breakingChanges entry for major version bumps. See metadata.yaml docs
  • Secrets in the connector's spec are annotated with airbyte_secret
  • All documentation files are up to date. (README.md, bootstrap.md, docs.md, etc...)
  • Changelog updated in docs/integrations/<source or destination>/<name>.md with an entry for the new version. See changelog example
  • The connector tests are passing in CI
  • If set, you've ensured the icon is present in the platform-internal repo. (Docs)

If the checklist is complete, but the CI check is failing,

  1. Check for hidden checklists in your PR description

  2. Toggle the github label checklist-action-run on/off to re-run the checklist CI.

@evantahler evantahler marked this pull request as ready for review July 19, 2023 20:12
@evantahler evantahler requested a review from a team as a code owner July 19, 2023 20:12
Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

🍄 ☁️

(assuming the metadata changes work the way we want)

@octavia-squidington-iii octavia-squidington-iii removed the area/documentation Improvements or additions to documentation label Aug 2, 2023
@evantahler
Copy link
Contributor Author

Update - for the period until Nov1, we are just going to call this a breaking change and publish a V2 is a no-op. Then we can delete the connector after Nov 1

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Aug 22, 2023
@evantahler evantahler changed the title Remove destination-bigquery-denormalized Retire destination-bigquery-denormalized Aug 22, 2023
Copy link
Contributor

@bnchrch bnchrch left a comment

Choose a reason for hiding this comment

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

Thumbs up on the metadata side!

Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

lgtm... though getting tests to green might be a challenge, given the state of the bq-denormalized codebase

it might actually be easier to just manually copy the docker image to 2.0.0 instead of publishing a new build, and then do any metadata operations to activate the breaking changes stuff? That feels safer too - I definitely wasn't trying to keep bigquery-denormalized in good shape when publishing dv2, so there might be real test failures in the current codebase.

Copy link
Contributor

@erohmensing erohmensing left a comment

Choose a reason for hiding this comment

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

This will be a little weird that it will still tell the user to upgrade by the deadline. If they upgrade, their connections will still sync, with the same code as before. Maybe that's what you meant in the migration guide?

breakingChanges:
2.0.0:
message: "`destination-bigquery-denormalized` is being retired in favor of `destination-bigquery`, and is no longer maintained. Please switch to destination-bigquery, which will produce similar tables and contains many improvements. Learn more [here](https://docs.airbyte.com/release_notes/upgrading_to_destinations_v2/)."
upgradeDeadline: "2023-11-01"
Copy link
Contributor

Choose a reason for hiding this comment

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

Once we have the sync pauser, after this date there should be no more running syncs on this destination - at which time (or maybe a little after, to give them the kick in the butt to move over to the new one once the syncs stop running) we can tombstone the connector (which tombstones their actors/connections) 👍🏻

@erohmensing
Copy link
Contributor

Basically I'm wondering if the end goal of this is "all syncs are paused, and then we can delete them" or "we let them keep vibing but shrug if they have any problems"

@airbytehq airbytehq deleted a comment from github-actions bot Sep 6, 2023
@airbytehq airbytehq deleted a comment from github-actions bot Sep 11, 2023
@airbytehq airbytehq deleted a comment from github-actions bot Sep 11, 2023
@airbytehq airbytehq deleted a comment from github-actions bot Sep 12, 2023
@evantahler
Copy link
Contributor Author

evantahler commented Sep 12, 2023

I added one final change in e758357 to override the dockerImageTag in both cloud and oss to continue run v1.5.3 when users click upgrade. This way, if anyone really does need this connector for some reason, it will still work. Above, @edgao commented that the Dv2 work has been ignoring this connector (rightfully so), and this connector's code might be totally borked now. I think this easier and clearer than copying the image/re-tagging it.

I'll will be doing step 2 later this week, where we remove both the code from this repo, and set the registries to false, so no new connections can be made

Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

does the registry override mean that we won't get the breaking change notification? (because cloud will see the latest version as 1.5.3)

otherwise :shipit:

@evantahler
Copy link
Contributor Author

does the registry override mean that we won't get the breaking change notification? (because cloud will see the latest version as 1.5.3)

Dang! Good point. Ok, reverted that change in 38cc904 - I'll do the manual docker image tagging to duplicate 1.5.3 to 2.0.0 first before merging this in.

@airbytehq airbytehq deleted a comment from github-actions bot Sep 12, 2023
@airbytehq airbytehq deleted a comment from github-actions bot Sep 12, 2023
@github-actions
Copy link
Contributor

destination-bigquery-denormalized test report (commit 38cc90473a) - ❌

⏲️ Total pipeline duration: 21mn02s

Step Result
Java Connector Unit Tests
Build connector tar
Build destination-bigquery-denormalized docker image for platform linux/x86_64
Java Connector Integration Tests
Validate airbyte-integrations/connectors/destination-bigquery-denormalized/metadata.yaml
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=destination-bigquery-denormalized test

Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

womp womp. sounds like a plan

@evantahler
Copy link
Contributor Author

evantahler commented Sep 12, 2023

I have manually created the docker tag airbyte/destination-bigquery-denormalized:2.0.0 with the following command:

docker buildx imagetools create -t airbyte/destination-bigquery-denormalized:2.0.0 airbyte/destination-bigquery-denormalized:1.5.3

Thanks, StackOverfolow!

It looks right on docker hub because the SHAs match v1.5.3

@evantahler
Copy link
Contributor Author

/approve-and-merge reason="destination-bigquery-denormalized is going away. This PR adds a breaking change warning"

@octavia-approvington
Copy link
Contributor

Approve this
imagine the commander saying yes

@octavia-approvington octavia-approvington merged commit 0dac235 into master Sep 12, 2023
17 checks passed
@octavia-approvington octavia-approvington deleted the evan/reomve-bigquery-denormalized branch September 12, 2023 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation breaking-change Don't merge me unless you are ready. connectors/destination/bigquery connectors/destination/bigquery-denormalized
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate bigquery-denormalized
6 participants