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

🪟 🐛 Hot-fix exception in streams table when stream does not have direct properties #22227

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

edmundito
Copy link
Contributor

What

Hot-fix an issue in the streams table that crashed the whole page when the properties in the stream were not of the expected shape. Still investigating the root cause and next steps, so this is a temporary fix to prevent it from impacting users.

However, the fields cannot be expanded in the table in streams where the problem occurs. This will be fixed separately.

This is occurring with the Stripe source with plans stream in that plans is currently { oneOf: [{ properties: ... }, 'WellKnownTypes/String' }] when the code can only support { properties: }

How

Returns an empty object so that the code can take the length correctly. Ensures that the table renders well without the expandable fields.

@edmundito edmundito requested a review from josephkmh February 1, 2023 18:28
@edmundito edmundito self-assigned this Feb 1, 2023
@octavia-squidington-iv octavia-squidington-iv added the area/frontend Related to the Airbyte webapp label Feb 1, 2023
@edmundito edmundito force-pushed the edmundito/hotfix-streams-oneof branch from 7b748be to e8e54bd Compare February 1, 2023 18:30
@timroes
Copy link
Collaborator

timroes commented Feb 13, 2023

@edmundito Have we done the investigation for the root cause on this yet? Do we have an issue to track this? (I can't find anything linked here in the PR or the corresponding oncall issue)

@josephkmh
Copy link
Contributor

@edmundito @timroes I created an issue here: #22490

slack thread context: https://airbytehq-team.slack.com/archives/C02U46QK5C3/p1675778896991099?thread_ts=1675276422.305699&cid=C02U46QK5C3

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants