Critical Database Fix: Restoring Missing Snapshots with Style!
Developers Unveil Smart Solution to Fetch Previous Version Snapshots, Ensuring Data Integrity and System Reliability in Latest Update!
Commit Details:
fix: Fetch prev version snapshot if current one is missing (#1985) ## Motivation If the present DB version snapshot is missing, fetch the previous one. ## 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 This PR focuses on fixing a bug in the `@farcaster/hubble` package related to fetching previous snapshots. ### Detailed summary - Renamed migration test file and index for better clarity - Increased max retries and retry delay for snapshot uploads - Refactored snapshot retrieval logic to handle errors better > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->