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

Bulk Load CDK: Remove interface from scope provider and migrate tests #51019

Conversation

johnny-schmidt
Copy link
Contributor

What

Small piece of remove interfaces / migrate tests to mockk

  • removed the interface from TaskScopeProvider
  • migrated all impacted test cases from DestinationTaskLauncherTest to DestinationTaskLauncherUTest
  • deleted now-unused micronaut mocks

@johnny-schmidt johnny-schmidt requested a review from a team as a code owner January 9, 2025 20:44
Copy link

vercel bot commented Jan 9, 2025

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

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2025 8:48pm

@@ -54,8 +54,7 @@ interface WrappedTask<T : Task> : Task {

@Singleton
@Secondary
Copy link
Contributor

Choose a reason for hiding this comment

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

We should be able to get rid of the @secondary now right?


@Singleton
@Primary
@Requires(env = ["MockScopeProvider"])
Copy link
Contributor

Choose a reason for hiding this comment

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

I think there's another instance of this string literal somewhere that we can 🔪

Copy link
Contributor

@tryangul tryangul left a comment

Choose a reason for hiding this comment

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

LGTM, I think there's a couple other leftovers you can 🔪 now

@johnny-schmidt johnny-schmidt merged commit d3eae1a into master Jan 9, 2025
28 checks passed
@johnny-schmidt johnny-schmidt deleted the jschmidt/load-cdk/remove-interfaces-task-scope-provider branch January 9, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants