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

Source GCS: Migrated to file based CDK #31212

Merged
merged 24 commits into from
Oct 24, 2023

Conversation

lazebnyi
Copy link
Collaborator

@lazebnyi lazebnyi commented Oct 10, 2023

What

Fixed #29831
Need to migrate connector into a scalable and easy-to-manage connector.

How

Migrated connector to file based CDK

🚨 User Impact 🚨

No

Pre-merge Actions

Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Unit & integration tests added

NOTE: UNIT TESTS IN PREGRESS

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.

@vercel
Copy link

vercel bot commented Oct 10, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Oct 23, 2023 11:24pm

@github-actions

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@lazebnyi lazebnyi requested a review from davydov-d October 12, 2023 20:39
@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@lazebnyi lazebnyi requested review from tolik0 and bazarnov October 16, 2023 08:56
@lazebnyi lazebnyi requested review from clnoll and removed request for davydov-d, bazarnov and roman-yermilov-gl October 18, 2023 20:01
Copy link
Contributor

@clnoll clnoll left a comment

Choose a reason for hiding this comment

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

Nice @lazebnyi! Just one minor comment & question in the code.

A couple of requests for tests:

  • Since the file-based CDK supports incremental syncs, I assume we'll start supporting incremental for GCS (unless we're planning to turn it on later and hide it in the UI somehow until then). Can you add some CATs covering incremental? You can look at the S3 tests for examples.
  • Have the configs been migrated to the new format yet? I think we'll want CATs that run the new code with both the old and new formats.

@octavia-squidington-iv octavia-squidington-iv requested review from a team October 19, 2023 11:40
@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner

This comment was marked as outdated.

@airbyte-oss-build-runner
Copy link
Collaborator

source-gcs test report (commit 8391e15a6a) - ✅

⏲️ Total pipeline duration: 52.13s

Step Result
Build source-gcs docker image for platform(s) linux/amd64
Unit tests
Acceptance tests
Code format checks
Validate metadata for source-gcs
Connector version semver check
Connector version increment check
QA checks

🔗 View the logs here

☁️ View runs for commit in Dagger Cloud

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-gcs test

@lazebnyi lazebnyi requested a review from clnoll October 23, 2023 23:32
@octavia-squidington-iv octavia-squidington-iv requested a review from a team October 24, 2023 11:37
Copy link
Contributor

@clnoll clnoll left a comment

Choose a reason for hiding this comment

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

Looks great @lazebnyi!

As we discussed, please follow up with a PR to move the cursor logic into the file-based CDK, and a second PR updating this connector so that we don't have to copy over the cursor methods.

@lazebnyi lazebnyi removed the request for review from a team October 24, 2023 12:33
@lazebnyi lazebnyi merged commit 2d552a9 into master Oct 24, 2023
24 checks passed
@lazebnyi lazebnyi deleted the lazebnyi/29831-source-gcs-migrate-to-file-CDK branch October 24, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/gcs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source GCS: Migrate to file CDK
6 participants