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

🪟 🐛 Fixes connector checks not properly ending their loading state #17620

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Oct 5, 2022

What

Fixes https://github.com/airbytehq/oncall/issues/747

Our types around this method were broken in a way, that causes those functions to actually be async and require the await here despite TypeScript thinking it shouldn't be async methods.

To test: Please make sure that setting up connectors with wrong data properly shows the error in the UI and isn't stuck in an infinite loading bar.

@timroes timroes requested a review from a team as a code owner October 5, 2022 17:33
@github-actions github-actions bot added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels Oct 5, 2022
@@ -42,11 +42,12 @@ const SourceSettings: React.FC<SourceSettingsProps> = ({ currentSource, connecti
name: string;
serviceType: string;
connectionConfiguration?: ConnectionConfiguration;
}) =>
}) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ Needed so this method does return Promise<void> and not the result from updateSource.

@timroes timroes changed the title Fixes connector checks not properly ending their loading state 🪟 🐛 Fixes connector checks not properly ending their loading state Oct 5, 2022
Copy link
Contributor

@krishnaglick krishnaglick left a comment

Choose a reason for hiding this comment

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

Tested locally, LGTM

Copy link
Contributor

@lmossman lmossman left a comment

Choose a reason for hiding this comment

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

I tested first on prod cloud to see that I could reproduce the issue with the Facebook source, which I could. I then tested the same actions on this branch locally and the issue did not occur, so it looks like this fixes it 👍

@lmossman lmossman merged commit a17c832 into master Oct 5, 2022
@lmossman lmossman deleted the tim/hotfix-broken-connector-setup branch October 5, 2022 18:16
letiescanciano added a commit that referenced this pull request Oct 6, 2022
…vation

* master: (26 commits)
  supply a source id for schema discovery in connector integration tests (#17662)
  Source Iterable: Add permission check for stream (#17602)
  Moving TrackingClientSingleton.initialize into the bean itself (#17631)
  Handle null workspace IDs in tracking/reporting methods gracefully (#17641)
  Bump Airbyte version from 0.40.11 to 0.40.12 (#17653)
  Revert "Do not wait the end of a reset to return an update (#17591)" (#17640)
  Standardize HttpRequester's url_base and path format (#17524)
  Create geography_type enum and add geography column in connection and workspace table (#16818)
  airbyte-cron: update connector definitions from remote (#16438)
  Do not wait the end of a reset to return an update (#17591)
  Remove redundant title labels from connector specs (#17544)
  Updated GA4 status
  support large schema discovery (#17394)
  🪟 🐛 Fixes connector checks not properly ending their loading state (#17620)
  🪟🧪 [Experiment] add hideOnboarding experiment (#17605)
  Source Recharge: change releaseStage to GA (#17606)
  Source Recharge: skip stream if 403 received (#17608)
  remove sonar-scan workflow (#17609)
  Mark/tables should be full width on all pages (#17401)
  Auto fail all workfow if there is a Versioning issue (#17562)
  ...
jhammarstedt pushed a commit to jhammarstedt/airbyte that referenced this pull request Oct 31, 2022
…irbytehq#17620)

* Fixes connector checks not properly ending their loading state

* Fix properly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp area/platform issues related to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants