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

feat(connector-insights): track manifest usage of $parameters and custom component classes #43036

Merged

Conversation

natikgadzhi
Copy link
Contributor

@natikgadzhi natikgadzhi commented Aug 3, 2024

What

Adds manifest_uses_parameters, manifest_uses_custom_components, and manifest_custom_component_classes to connector_insights.

With this information, we will have more data in Migration Tracker dashboard on how to approach manifest-only migration.

Context

  • There are 219 manifests with $parameters . This is going to be a blocker, and we should resolve them.
  • find . -name "manifest.yaml" -type f | xargs grep -l "class_name:" > manifests-with-custom-components.txt
    • There are 67 manifests with custom components total.

User Impact

None, dev tool change.

Next steps

Once this change lands, we need to regenerate insights, and then bring them to airbyte-warehouse.

@natikgadzhi natikgadzhi requested a review from a team August 3, 2024 00:44
Copy link

vercel bot commented Aug 3, 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 Aug 3, 2024 3:39pm

@natikgadzhi natikgadzhi requested a review from ChristoGrab August 3, 2024 00:45
@natikgadzhi
Copy link
Contributor Author

natikgadzhi commented Aug 3, 2024

/format-fix

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

✅ Changes applied successfully. (74b128c)

@natikgadzhi natikgadzhi enabled auto-merge (squash) August 3, 2024 00:54
Copy link
Contributor

@girarda girarda left a comment

Choose a reason for hiding this comment

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

🚢

@natikgadzhi natikgadzhi merged commit 856ad46 into master Aug 5, 2024
30 checks passed
@natikgadzhi natikgadzhi deleted the ng/airbyte-ci/connector-insights/custom-component-lists branch August 5, 2024 22:47
@@ -23,6 +23,19 @@
from connector_ops.utils import Connector # type: ignore


def get_manifest_inferred_insights(connector: Connector) -> dict:
manifest = connector.manifest_path.read_text()
Copy link
Contributor

Choose a reason for hiding this comment

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

@natikgadzhi this raises a FileNotFounderror on connectors without manifests.

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.

4 participants