GitBulletin

Repository: farcasterxyz/hub-monorepo

Revolution in Message Management: Biweekly Validation Protocol Unveiled!

2024-03-22 15:35:04 UTC

New system ensures message integrity as invalid FID messages face automatic revocation every 14 days.

Commit Details:

fix: ValidateOrRevoke an fid's messages every 14 days (#1836) ## Motivation Every 14 days, check all messages of an fid and revoke any invalid ones. ## 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) - [ ] 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) ## Additional Context If this is a relatively large or complex change, provide more details here that will help reviewers <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the `validateOrRevokeMessagesJob` to run a full scan for all FIDs every 14 days and adds throttling to match the schedule. ### Detailed summary - Adjusted cron schedule for full scan every 14 days - Implemented throttling to match the schedule - Added logging and sleeping logic for job throttling - Fixed test cases for job execution based on FID and timestamps > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar