Skip to content

Conversation

@aldogonzalez8
Copy link
Contributor

What

This PR updates the source-sftp-bulk connector to comply with the latest file transfer record protocol.

Resolves: https://github.com/airbytehq/airbyte-internal-issues/issues/12342

How

  • Updated the source-sftp-bulk: connector's implementation to align with the latest protocol specifications.
  • Modified the release information accordingly.

Review guide

1.airbyte-integrations/connectors/source-sftp-bulk/source_sftp_bulk/stream_reader.py: returns file reference and file metadata.

User Impact

  • Internal protocol alignment that ensures consistent file handling across file-based connectors

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌
@aldogonzalez8 aldogonzalez8 self-assigned this Apr 8, 2025
@vercel
Copy link

vercel bot commented Apr 8, 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 May 5, 2025 2:32pm
@aldogonzalez8 aldogonzalez8 changed the title ✨feat(source-microsoft-sharepoint): adjust file record message protocol ✨feat(source-sftp-bulk): adjust file record message protocol Apr 8, 2025

@pytest.mark.slow
@pytest.mark.limit_memory("10 MB")
@pytest.mark.limit_memory("11 MB")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason we changed the size here?

Copy link
Contributor Author

@aldogonzalez8 aldogonzalez8 Apr 25, 2025

Choose a reason for hiding this comment

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

After play for a few minutes with this locally, I also got a consistent message (not increasing) in the master branch as in the dev branch:
Test was limited to 10.0MiB but allocated 10.6MiB

So, it's more a matter of local memory resources than an issue with the changes. Then, it's safe to increase this to avoid annoying the local developer.

@aldogonzalez8 aldogonzalez8 merged commit 3ef6fcf into master May 6, 2025
27 checks passed
@aldogonzalez8 aldogonzalez8 deleted the aldogonzalez8/source-sftp-bulk/adjust-file-record-message-protocol branch May 6, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment