"Code Overhaul: Bundles Take Center Stage After Strategic Cleanup!"
"Farcaster Hubble App Eliminates Redundancies and Introduces Robust Tests Amid Full Transition to 100% Rollouts!"
Commit Details:
chore: Cleanup bundles code (#1937) ## Motivation Remove the % rollout code now that bundles are 100% and add some tests ## 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 clean up the bundles code and replace `gossipMessage` with `broadcastMessage` in the Farcaster Hubble app. ### Detailed summary - Replaced `gossipMessage` with `broadcastMessage` for message broadcasting in multiple files. - Removed `bundleGossipPercent` and related logic. - Added new methods for message broadcasting in `GossipNode` class. > The following files were skipped due to too many changes: `apps/hubble/src/network/p2p/gossipNode.ts`, `apps/hubble/src/storage/engine/index.ts`, `apps/hubble/src/network/p2p/bundleCreator.test.ts`, `apps/hubble/src/test/e2e/gossipNetworkMessageToBundle.test.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->