GitBulletin

Repository: farcasterxyz/hub-monorepo

"Revolutionary Upgrade to Sync Health Job Unveils Hidden Message Rifts!"

2024-08-06 22:42:02 UTC

"New features to trace discrepancies and enhance logging promise a future of seamless data harmony!"

Commit Details:

submit missing messages via the sync health job and output richer logs (#2238) ## Why is this change needed? 1. The sync score masks some differences between which sync ids are on each node. 2. It's hard to investigate sync health with the information we have right now. Actually querying for and submitting missing messages will reveal differences in the actual messages on the nodes and logging the results will give us information about why nodes are out of sync. I also lumped in a small change to fix vscode config for rust analyzer. ## 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) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [x] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview The focus of this PR is to enhance the sync health job in the `hubble` application by adding features like comparing peers and submitting messages. ### Detailed summary - Added options for peers, username, and password in the sync health job CLI - Refactored metadata retrievers to support hub interactions - Implemented message submission and processing in the sync health job - Enhanced sync health computation and message stats gathering > The following files were skipped due to too many changes: `apps/hubble/src/utils/syncHealth.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar