Skip to content

test: Add tests for GCS multipart uploads#454

Merged
lcian merged 7 commits into
mainfrom
lcian/test/gcs-multipart
May 12, 2026
Merged

test: Add tests for GCS multipart uploads#454
lcian merged 7 commits into
mainfrom
lcian/test/gcs-multipart

Conversation

@lcian
Copy link
Copy Markdown
Member

@lcian lcian commented Apr 30, 2026

⚠️ Stacked on #450

Adds e2e tests against our fork of https://github.com/googleapis/storage-testbench, which contains an XML API multipart upload implementation https://github.com/getsentry/google-cloud-storage-testbench
Also switches devservices to use that fork.

The implementation present in this fork has been completely written by LLMs, so it should not be trusted for anything but catching obvious regressions if we ever make changes to the GCS backend.
Any non-trivial change to the GCS backend that touches the multipart upload implementation should be tested in sandbox against real GCS before merging.
I've added a code comment about this too.

Part of #450, will be merged into it.
Part of FS-338

@lcian lcian changed the base branch from main to lcian/feat/gcs-multipart-impl April 30, 2026 12:48
@lcian lcian changed the title lcian/test/gcs multipart test: Add tests for GCS multipart uploads Apr 30, 2026
@linear-code
Copy link
Copy Markdown

linear-code Bot commented Apr 30, 2026

@lcian lcian marked this pull request as ready for review April 30, 2026 13:59
@lcian lcian requested a review from a team as a code owner April 30, 2026 13:59
@lcian lcian requested a review from matt-codecov April 30, 2026 13:59
Copy link
Copy Markdown
Contributor

@matt-codecov matt-codecov left a comment

Choose a reason for hiding this comment

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

are you planning to try to upstream your multipart upload support?

gave the tests a quick scan

@lcian
Copy link
Copy Markdown
Member Author

lcian commented May 5, 2026

are you planning to try to upstream your multipart upload support?

Not for now, as it would probably require some effort to get the PR into proper shape for it to be accepted, and I'd rather focus on our projects instead.

Base automatically changed from lcian/feat/gcs-multipart-impl to main May 12, 2026 09:49
@lcian lcian force-pushed the lcian/test/gcs-multipart branch from 36f1380 to 0e21505 Compare May 12, 2026 09:54
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@lcian lcian merged commit afc8a38 into main May 12, 2026
24 checks passed
@lcian lcian deleted the lcian/test/gcs-multipart branch May 12, 2026 10:00
lcian added a commit that referenced this pull request May 12, 2026
…Fs (#456)

⚠️ Stacked on #454

Implements `MultipartUploadBackend` on `InMemoryBackend` and
`LocalFsBackend`, used for tests.
`TieredStorage` will come in the next PR.

`InMemoryBackend` now stores some auxiliary data structures dedicated to
multipart uploads, while `LocalFs` uses a `__multipart__/` directory
where to store metadata and parts for each ongoing upload.

Close FS-349
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.

2 participants