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

fix (airbyte-ci): include advanced_auth in spec migration #48404

Merged
merged 7 commits into from
Nov 7, 2024

Conversation

ChristoGrab
Copy link
Contributor

@ChristoGrab ChristoGrab commented Nov 7, 2024

What

Following up on 48375, we caught that advanced_auth config was not being migrated to the inlined spec in manifest-only migrations. Whoops 😬

How

  • Includes the advanced_auth object when grabbing a non-inlined spec to copy into the manifest.
  • Fixed a failing publish unit test
  • Added unit_tests folder to the list of resources not to nuke

Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2024 7:45pm

@ChristoGrab ChristoGrab marked this pull request as ready for review November 7, 2024 17:24
@ChristoGrab ChristoGrab requested a review from a team as a code owner November 7, 2024 17:24
@ChristoGrab
Copy link
Contributor Author

ChristoGrab commented Nov 7, 2024

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (8ed77e5)

Copy link
Contributor

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

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

Do we have tests for this migration? I'm very unfamiliar with airbyte-ci and can't say for sure this would work. Else, do you have a manual test to share?

@ChristoGrab
Copy link
Contributor Author

@maxi297 Here's some local results from running the migration on Facebook Pages, which uses advanced_auth:

Exhibit A: Current behavior

Screenshot 2024-11-07 at 9 43 41 AM

Exhibit B: Fixed behavior

Screenshot 2024-11-07 at 9 38 12 AM

Copy link
Contributor

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

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

With the manual test, I'm fine with this change. Thanks @ChristoGrab !

@ChristoGrab ChristoGrab enabled auto-merge (squash) November 7, 2024 19:50
@ChristoGrab ChristoGrab merged commit b0f541b into master Nov 7, 2024
35 checks passed
@ChristoGrab ChristoGrab deleted the christo/manifest-migration-adv-auth-fix branch November 7, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants