Files
hub-monorepo/.gitignore
Aditi Srinivasan b2272f763f 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 -->
2024-08-06 18:42:02 -04:00

51 lines
560 B
Plaintext

# Logs
yarn-debug.log*
yarn-error.log*
hub.log
.DS_Store
**/.DS_Store
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
build
.history
.hub_history
# Dependency directories
node_modules/
# TypeScript cache
*.tsbuildinfo
# Environment variables
.env
.eslintcache
depot.json
.console-history
# Code Coverage Reports
coverage/
# Databases
.level/
.rocks/
# Application configuration files
.hub/
# Turborepo
.turbo
out
dist
# Editor Cache
.vscode/*
!.vscode/settings.json
.idea
.fleet
**/.vitepress/cache/
**/.vitepress/dist/