GitBulletin

Repository: farcasterxyz/hub-monorepo

Tech Team Triumphs: Revolutionary Snapshot Upload System Unveiled!

2024-04-25 16:25:16 UTC

New `PutObject` Method Streamlines Process, Eliminating Multipart Upload Woes and Enhancing Efficiency!

Commit Details:

fix: Upload snapshots using PutObject (#1946) ## Motivation Upload snapshot chunk files to R2 using PutObject to avoid multi part uploads that are causing problems. ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [X] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [X] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. - [X] All [commits have been signed](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#22-signing-commits) <!-- start pr-codex --> --- ## PR-Codex overview The focus of this PR is to update the snapshot upload process by using `PutObject` to upload snapshot chunks to S3. ### Detailed summary - Updated snapshot upload process to use `PutObject` for chunk uploads to S3 - Renamed `SNAPSHOT_S3_DEFAULT_BUCKET` to `SNAPSHOT_S3_DOWNLOAD_BUCKET` - Updated bucket references in functions related to snapshot URLs and metadata > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar