{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":470782986,"defaultBranch":"main","name":"hub-monorepo","ownerLogin":"farcasterxyz","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-03-16T23:28:12.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/98775309?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1723592436.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"d2142eb731d9fb34bf91ade1abcaf0b2662ce757","ref":"refs/heads/dependabot/npm_and_yarn/packages/hub-nodejs/examples/hello-world/axios-1.7.4","pushedAt":"2024-08-13T23:40:37.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"chore(deps): bump axios in /packages/hub-nodejs/examples/hello-world\n\nBumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.4.\n- [Release notes](https://github.com/axios/axios/releases)\n- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)\n- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.7.4)\n\n---\nupdated-dependencies:\n- dependency-name: axios\n dependency-type: direct:production\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"chore(deps): bump axios in /packages/hub-nodejs/examples/hello-world"}},{"before":null,"after":"569df0472f4163cbdd7adce417b67ed1917fd27f","ref":"refs/heads/dependabot/npm_and_yarn/packages/hub-web/examples/submit-message/axios-1.7.4","pushedAt":"2024-08-13T23:40:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"chore(deps): bump axios in /packages/hub-web/examples/submit-message\n\nBumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.4.\n- [Release notes](https://github.com/axios/axios/releases)\n- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)\n- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.7.4)\n\n---\nupdated-dependencies:\n- dependency-name: axios\n dependency-type: direct:production\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"chore(deps): bump axios in /packages/hub-web/examples/submit-message"}},{"before":"29886461b408f851261eb07a6449c11cb7330c03","after":"97c68142378b3f4b56487f2cb45af43fcbed6b06","ref":"refs/heads/main","pushedAt":"2024-08-13T23:39:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sanjayprabhu","name":"Sanjay","path":"/sanjayprabhu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/75855?s=80&v=4"},"commit":{"message":"fix: Add env var to specify hubble node arguments (#2252)\n\n## Why is this change needed?\r\n\r\nAllow specifying hubble specific node options. Global NODE_OPTIONS\r\ndoesn't work for cases like --inspect because pm2 is also using node\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR focuses on adding an environment variable to specify Hubble node\r\narguments.\r\n\r\n### Detailed summary\r\n- Added `HUBBLE_NODE_ARGS` environment variable in `pm2.config.cjs`\r\n- Updated `start` script in `package.json` to include\r\n`$HUBBLE_NODE_ARGS`\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"fix: Add env var to specify hubble node arguments (#2252)"}},{"before":"47fbd34e5c1a9682fc6a2debc02ebd347ed480c5","after":"29886461b408f851261eb07a6449c11cb7330c03","ref":"refs/heads/main","pushedAt":"2024-08-13T16:48:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sanjayprabhu","name":"Sanjay","path":"/sanjayprabhu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/75855?s=80&v=4"},"commit":{"message":"fix: Reduce reconciliation default pagination size (#2251)\n\n## Why is this change needed?\r\n\r\nReduce default pagination size to prevent hub from spending too much\r\ntime serializing messages\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR updates version numbers and configurations for the\r\n`@farcaster/hub-nodejs` and `@farcaster/shuttle` packages. It also\r\nadjusts the `MAX_PAGE_SIZE` constant in `messageReconciliation.ts`.\r\n\r\n### Detailed summary\r\n- Updated `MAX_PAGE_SIZE` constant in `messageReconciliation.ts` from\r\n3000 to 500\r\n- Updated `@farcaster/hub-nodejs` version to `0.11.24`\r\n- Updated `@farcaster/shuttle` version to `0.5.11`\r\n- Updated dependencies in `shuttle/package.json` and\r\n`hub-nodejs/package.json`\r\n- Added changelog entries for versions `0.11.24` and `0.5.11`\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"fix: Reduce reconciliation default pagination size (#2251)"}},{"before":"f6f4a8bd685e73ad60b8c2b7094aa26e7374e115","after":null,"ref":"refs/heads/cassie-heart/grpc-keepalive-adjust","pushedAt":"2024-08-13T05:06:47.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"}},{"before":"366ffff09fd872e0e0130200bfa7b23296756991","after":"47fbd34e5c1a9682fc6a2debc02ebd347ed480c5","ref":"refs/heads/main","pushedAt":"2024-08-13T05:06:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"},"commit":{"message":"fix: adjust grpc keepalive time to 5s (#2250)\n\n## Why is this change needed?\r\n\r\ngRPC keepalive heartbeat time was set to 10s, with a client-side\r\nresponse time of 5s. This allows servers that are unresponsive to go\r\nunrecognized for longer, causing sync time to dramatically increase with\r\nrespect to hub volume. Lowering this value should be safe for a patch,\r\nbut lowering the client response time will require a minor revision due\r\nto incompatibility with client-side expectations\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR focuses on adjusting the gRPC keepalive time to 5 seconds in\r\n`@farcaster/hub-nodejs` package to improve failover speed.\r\n\r\n### Detailed summary\r\n- Adjusted gRPC keepalive time to 5 seconds in `client.ts` to encourage\r\nfaster failover from uncooperative peers.\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"fix: adjust grpc keepalive time to 5s (#2250)"}},{"before":null,"after":"f6f4a8bd685e73ad60b8c2b7094aa26e7374e115","ref":"refs/heads/cassie-heart/grpc-keepalive-adjust","pushedAt":"2024-08-13T01:33:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"},"commit":{"message":"fix: adjust grpc keepalive time to 5s","shortMessageHtmlLink":"fix: adjust grpc keepalive time to 5s"}},{"before":"8734181771da0b5ef78f50b8ec32707ac87dfad1","after":"366ffff09fd872e0e0130200bfa7b23296756991","ref":"refs/heads/main","pushedAt":"2024-08-12T19:03:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sanjayprabhu","name":"Sanjay","path":"/sanjayprabhu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/75855?s=80&v=4"},"commit":{"message":"chore: Release 1.14.3 (#2249)\n\n## Why is this change needed?\r\n\r\nRelease 1.14.3\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR updates the version of `@farcaster/hubble` to `1.14.3` and\r\nincludes enhancements and fixes related to snapshot sync and sync health\r\nmonitoring.\r\n\r\n### Detailed summary\r\n- Updated version to `1.14.3`\r\n- Added retry and parallelization for snapshot sync\r\n- Improved missing messages submission and output logs\r\n- Introduced sync health measurement job\r\n- Enhanced querying for impacted sync ids\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"chore: Release 1.14.3 (#2249)"}},{"before":"65268aefe3d799104ee2026bccebda396945c92b","after":"8734181771da0b5ef78f50b8ec32707ac87dfad1","ref":"refs/heads/main","pushedAt":"2024-08-08T23:00:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"aditiharini","name":"Aditi Srinivasan","path":"/aditiharini","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17929088?s=80&v=4"},"commit":{"message":"fix: don't include timestamp in log tags (#2246)\n\n## Why is this change needed?\r\n\r\nDatadog seems to be dropping the success logs. They show up in aws logs.\r\nI strongly suspect this is because of the toplevel timestamp field. I\r\nthink either Datadog is using that to infer the actual time of the log\r\nand dropping it because it's too far back in time or it's not able to\r\nhandle the message because there are 2 timestamp related fields.\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [ ] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [x] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR focuses on updating the logging structure in `syncHealthJob.ts`\r\nto include `msgDetails` object for better message submission tracking.\r\n\r\n### Detailed summary\r\n- Updated logging to include `msgDetails` object for message submission\r\ntracking.\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"fix: don't include timestamp in log tags (#2246)"}},{"before":"9e80922b9e34e73358185e1adf68571fdf253d29","after":"65268aefe3d799104ee2026bccebda396945c92b","ref":"refs/heads/main","pushedAt":"2024-08-08T18:55:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"aditiharini","name":"Aditi Srinivasan","path":"/aditiharini","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17929088?s=80&v=4"},"commit":{"message":"fix: rename log tag from message to errMessage (#2245)\n\n## Why is this change needed?\r\n\r\nDatadog swallows the \"message\" tag so rename to \"errMessage\". \r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [ ] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [x] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThe focus of this PR is to update log message properties in\r\n`syncHealthJob.ts` and `hubble.ts` for better clarity.\r\n\r\n### Detailed summary\r\n- Updated log property `message` to `errMessage` in `syncHealthJob.ts`\r\n- Added `errMessage` property to log message in `hubble.ts`\r\n- Renamed `errCode` property to `errMessage` in log message in\r\n`hubble.ts`\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"fix: rename log tag from message to errMessage (#2245)"}},{"before":"6833e16101df3ab0b34c1085230d14fd794360d2","after":"9e80922b9e34e73358185e1adf68571fdf253d29","ref":"refs/heads/main","pushedAt":"2024-08-08T15:30:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"aditiharini","name":"Aditi Srinivasan","path":"/aditiharini","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17929088?s=80&v=4"},"commit":{"message":"feat: add more logging for sync health job (#2244)\n\n## Why is this change needed?\r\n\r\n(1) It's useful to see the peer id in all error messages to help debug\r\nerrors.\r\n(2) It's difficult to work with log fields that are lists in datadog.\r\nIt's easier to aggregate over success and error data if they're in\r\nseparate log lines rather than inside a nested field.\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [ ] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [x] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThe focus of this PR is to enhance logging and error handling in the\r\n`hubble` application's sync functionality.\r\n\r\n### Detailed summary\r\n- Added `message` field to `logMessage.warn` for better error logging.\r\n- Improved error handling in `getAllSyncIdsByPrefix`.\r\n- Enhanced logging in `processSubmitResults` and `doJobs` functions.\r\n- Updated `resultsPushingToUs` in `MeasureSyncHealthJobScheduler`.\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"feat: add more logging for sync health job (#2244)"}},{"before":"ec31e730a3b4ca96a5094a1391f7964b861b4298","after":"f166e0c9bdb3faea09d13d7904bddbbe03373a13","ref":"refs/heads/cassie-heart/rate-limit","pushedAt":"2024-08-08T09:13:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"},"commit":{"message":"feat: create time-bucketed rate limits based on message timestamp","shortMessageHtmlLink":"feat: create time-bucketed rate limits based on message timestamp"}},{"before":null,"after":"ec31e730a3b4ca96a5094a1391f7964b861b4298","ref":"refs/heads/cassie-heart/rate-limit","pushedAt":"2024-08-08T02:11:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"},"commit":{"message":"feat: create time-bucketed rate limits based on message timestamp","shortMessageHtmlLink":"feat: create time-bucketed rate limits based on message timestamp"}},{"before":"d9e2ed1ca8e44141e1f82d54fc6cc9959cd1d253","after":"6833e16101df3ab0b34c1085230d14fd794360d2","ref":"refs/heads/main","pushedAt":"2024-08-07T22:33:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"aditiharini","name":"Aditi Srinivasan","path":"/aditiharini","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17929088?s=80&v=4"},"commit":{"message":"feat: add more counts to sync health job logs (#2242)\n\n## Why is this change needed?\r\n\r\nIt's useful to have the counts so we can plot over them and get\r\nhigh-level signal on how many errors and successes there are.\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [ ] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [x] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThe focus of this PR is to refactor the `processSubmitResults` method in\r\n`syncHealthJob.ts` to improve error handling and provide a more detailed\r\nsummary of sync health job results.\r\n\r\n### Detailed summary\r\n- Changed `errorReasons` from a Set to an array for better error\r\ntracking\r\n- Added counting of errors and successes\r\n- Removed duplicate error messages by using a Set\r\n- Improved structure and readability of the return object\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"feat: add more counts to sync health job logs (#2242)"}},{"before":"9e0c9323091bfac3b1536f5a36c626a0f5bad8f9","after":"d9e2ed1ca8e44141e1f82d54fc6cc9959cd1d253","ref":"refs/heads/main","pushedAt":"2024-08-07T21:28:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sanjayprabhu","name":"Sanjay","path":"/sanjayprabhu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/75855?s=80&v=4"},"commit":{"message":"Fix: Add logging when connecting to a gossip address fails (#2241)\n\n## Why is this change needed?\r\n\r\nWe don't know why the connection attempt failed\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [ ] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR adds an error log message when connecting to an address fails in\r\nthe `gossipNode.ts` file.\r\n\r\n### Detailed summary\r\n- Added an error log message when connection to an address fails in the\r\n`gossipNode.ts` file.\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"Fix: Add logging when connecting to a gossip address fails (#2241)"}},{"before":"b2272f763f9229698db0b8d50b85e0046258f1c0","after":"9e0c9323091bfac3b1536f5a36c626a0f5bad8f9","ref":"refs/heads/main","pushedAt":"2024-08-07T19:49:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"aditiharini","name":"Aditi Srinivasan","path":"/aditiharini","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17929088?s=80&v=4"},"commit":{"message":"fix: fix sync id retrieval for sync health job (#2240)\n\n## Why is this change needed?\r\n\r\nThe `getAllSyncIdsByPrefix` rpc returns a max of 1024 sync ids and we\r\nweren't accounting for the fact that the list returned by the rpc might\r\nbe truncated. As a result, we weren't looking at all relevant sync ids\r\nwhen trying to submit missing messages.\r\n\r\nI lumped some cleanups/improvements to the sync health command in too\r\nand an update to the vscode config for formatting rust code.\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [x] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR focuses on enhancing sync health tracking in the `hubble` app. \r\n\r\n### Detailed summary\r\n- Added `MAX_VALUES_RETURNED_PER_SYNC_ID_REQUEST` constant\r\n- Updated `trie_node.rs` and `server.ts` with new constant value\r\n- Modified sync health computations and message stats\r\n- Introduced `sync-health` source for data submission\r\n- Improved peer selection logic for sync health\r\n- Enhanced handling of sync IDs with a large number of entries\r\n\r\n> The following files were skipped due to too many changes:\r\n`apps/hubble/src/utils/syncHealth.ts`\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"fix: fix sync id retrieval for sync health job (#2240)"}},{"before":"63dd7c972d24cbbcddac6e9ffb52c0e231edeedd","after":"b2272f763f9229698db0b8d50b85e0046258f1c0","ref":"refs/heads/main","pushedAt":"2024-08-06T22:42:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"aditiharini","name":"Aditi Srinivasan","path":"/aditiharini","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17929088?s=80&v=4"},"commit":{"message":"submit missing messages via the sync health job and output richer logs (#2238)\n\n## Why is this change needed?\r\n1. The sync score masks some differences between which sync ids are on\r\neach node.\r\n2. It's hard to investigate sync health with the information we have\r\nright now.\r\n\r\nActually querying for and submitting missing messages will reveal\r\ndifferences in the actual messages on the nodes and logging the results\r\nwill give us information about why nodes are out of sync.\r\n\r\nI also lumped in a small change to fix vscode config for rust analyzer. \r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [x] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThe focus of this PR is to enhance the sync health job in the `hubble`\r\napplication by adding features like comparing peers and submitting\r\nmessages.\r\n\r\n### Detailed summary\r\n- Added options for peers, username, and password in the sync health job\r\nCLI\r\n- Refactored metadata retrievers to support hub interactions\r\n- Implemented message submission and processing in the sync health job\r\n- Enhanced sync health computation and message stats gathering\r\n\r\n> The following files were skipped due to too many changes:\r\n`apps/hubble/src/utils/syncHealth.ts`\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"submit missing messages via the sync health job and output richer logs ("}},{"before":"7a929636e873e73737f6c746bd3e22ced585532d","after":null,"ref":"refs/heads/cassie-heart/sync-but-make-it-durable","pushedAt":"2024-08-06T05:55:42.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"}},{"before":"cb5ee7ac94672c642c4775c95b6254703140b460","after":"63dd7c972d24cbbcddac6e9ffb52c0e231edeedd","ref":"refs/heads/main","pushedAt":"2024-08-06T05:55:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"},"commit":{"message":"feat: make snapshot sync retry and parallelize (#2236)\n\n## Why is this change needed?\r\n\r\nSnapshot sync has become a very painful part of running a hub, to the\r\npoint where it may take several attempts to start the node to get the\r\nsnapshot to successfully download, on top of taking a long time to\r\ndownload all the chunks of the snapshot. This PR adds durability and\r\nparallelizes the download process (up to four simultaneous fetches,\r\nwhich appears to be the point where exceeding will become more unstable\r\non fetch success). Snapshot sync now takes roughly 25-30 minutes to\r\ndownload.\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR introduces retry and parallelization for snapshot\r\nsynchronization in the `@farcaster/hubble` package.\r\n\r\n### Detailed summary\r\n- Added retry mechanism for decompressing snapshot chunks\r\n- Implemented parallel downloading of snapshot chunks\r\n- Improved error handling during snapshot synchronization\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"feat: make snapshot sync retry and parallelize (#2236)"}},{"before":"45e16ced9c278f43eace70c40a6e9c04aed5f06e","after":"cb5ee7ac94672c642c4775c95b6254703140b460","ref":"refs/heads/main","pushedAt":"2024-08-02T14:58:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"aditiharini","name":"Aditi Srinivasan","path":"/aditiharini","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17929088?s=80&v=4"},"commit":{"message":"feat: add a job to measure sync health periodically (#2223)\n\n## Why is this change needed?\r\n\r\nThere have been reports of missing messages from several users. We'd\r\nlike to proactively detect when hubs are missing messages and identify\r\nwhy.\r\n\r\nFor reviewers: \r\n- The diff in `syncHealth.ts` is a bit noisy because I removed a level\r\nof indentation in `printSyncHealth`\r\n- I did not test the job, I just tested the\r\n`computeSyncHealthMessageStats` function which does the somewhat\r\ncomplicated querying.\r\n- I did not incorporate into datadog, I just added logging. I thought it\r\nmade sense to make sure that the pipeline works via logging as a first\r\nstep and integrate into datadog as a follow up.\r\n- I did not write the code to select hubs in a smart way or to snap to\r\nthe 10min interval that we want. Also thought this could be a follow-up.\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [x] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR adds a sync health measurement job to the `@farcaster/hubble`\r\npackage.\r\n\r\n### Detailed summary\r\n- Added a sync health measurement job to the `@farcaster/hubble` package\r\n- Updated functions related to sync health computation and metadata\r\nretrieval\r\n- Implemented a scheduler for measuring sync health at intervals\r\n\r\n> The following files were skipped due to too many changes:\r\n`apps/hubble/src/utils/syncHealth.ts`\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"feat: add a job to measure sync health periodically (#2223)"}},{"before":"70424ac693e724cad7521ad0eb1a71f9ca0440ea","after":"7a929636e873e73737f6c746bd3e22ced585532d","ref":"refs/heads/cassie-heart/sync-but-make-it-durable","pushedAt":"2024-08-02T03:14:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"},"commit":{"message":"add changeset","shortMessageHtmlLink":"add changeset"}},{"before":null,"after":"70424ac693e724cad7521ad0eb1a71f9ca0440ea","ref":"refs/heads/cassie-heart/sync-but-make-it-durable","pushedAt":"2024-08-02T03:12:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"CassOnMars","name":"Cassandra Heart","path":"/CassOnMars","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7929478?s=80&v=4"},"commit":{"message":"feat: make snapshot sync retry and parallelize","shortMessageHtmlLink":"feat: make snapshot sync retry and parallelize"}},{"before":"c5e4457735ac65990c9dcedc613d5c97c2bb5936","after":"45e16ced9c278f43eace70c40a6e9c04aed5f06e","ref":"refs/heads/main","pushedAt":"2024-08-01T23:10:38.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sanjayprabhu","name":"Sanjay","path":"/sanjayprabhu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/75855?s=80&v=4"},"commit":{"message":"chore: Release 1.14.2 (#2235)\n\n## Why is this change needed?\r\n\r\nRelease 1.14.2\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR updates dependencies and versions across different packages. \r\n\r\n### Detailed summary\r\n- Updated `@farcaster/core` version to `0.14.20`\r\n- Updated `@farcaster/hub-nodejs` version to `0.11.23`\r\n- Upgraded `libp2p/gossipsub` and dependencies\r\n- Chore: upgraded `viem` to v2\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"chore: Release 1.14.2 (#2235)"}},{"before":"c46e5b3ba194942fe3a17b95c1217ed031a0caf0","after":null,"ref":"refs/heads/sds/fix-bad-example","pushedAt":"2024-08-01T17:09:06.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sds","name":"Shane da Silva","path":"/sds","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/677877?s=80&v=4"}},{"before":"fa5f13be3577c2adaf1eb30dc25c2564ed13793d","after":"c5e4457735ac65990c9dcedc613d5c97c2bb5936","ref":"refs/heads/main","pushedAt":"2024-08-01T17:09:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sds","name":"Shane da Silva","path":"/sds","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/677877?s=80&v=4"},"commit":{"message":"fix(shuttle): Correct example app to use await (#2234)\n\n## Why is this change needed?\r\n\r\nThis is leading to confusion. If you don't `await`, you can overwhelm\r\nthe event loop.\r\n\r\n## Merge Checklist\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [ ] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [ ] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR ensures the `processHubEvent` method is awaited when called in\r\nthe stream consumer, preventing it from being executed void.\r\n\r\n### Detailed summary\r\n- Changed `this.processHubEvent(event);` to `await\r\nthis.processHubEvent(event);` in the stream consumer to ensure proper\r\nexecution.\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"fix(shuttle): Correct example app to use await (#2234)"}},{"before":null,"after":"c46e5b3ba194942fe3a17b95c1217ed031a0caf0","ref":"refs/heads/sds/fix-bad-example","pushedAt":"2024-08-01T17:08:45.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"sds","name":"Shane da Silva","path":"/sds","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/677877?s=80&v=4"},"commit":{"message":"fix(shuttle): Correct example app to use await","shortMessageHtmlLink":"fix(shuttle): Correct example app to use await"}},{"before":"fbfb71a14b1df9bf55580215ce15e2806539c135","after":null,"ref":"refs/heads/sds/release","pushedAt":"2024-08-01T16:31:05.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sds","name":"Shane da Silva","path":"/sds","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/677877?s=80&v=4"}},{"before":"165a0aac74a5768a3fa8b1b2c225786e402119dd","after":"fa5f13be3577c2adaf1eb30dc25c2564ed13793d","ref":"refs/heads/main","pushedAt":"2024-08-01T16:31:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sds","name":"Shane da Silva","path":"/sds","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/677877?s=80&v=4"},"commit":{"message":"chore(shuttle): Release 0.5.10 (#2233)\n\n## Why is this change needed?\r\n\r\nIncludes a hotfix.\r\n\r\n## Merge Checklist\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR updates the version of `@farcaster/shuttle` from 0.5.9 to\r\n0.5.10. It includes a bug fix for a missing `await` in a `sleep()` call\r\nand updates dependencies.\r\n\r\n### Detailed summary\r\n- Updated `@farcaster/shuttle` version to 0.5.10\r\n- Bug fix: Added missing `await` to `sleep()` call\r\n- Updated dependencies for `@farcaster/hub-nodejs` to version 0.11.23\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"chore(shuttle): Release 0.5.10 (#2233)"}},{"before":null,"after":"fbfb71a14b1df9bf55580215ce15e2806539c135","ref":"refs/heads/sds/release","pushedAt":"2024-08-01T16:30:43.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"sds","name":"Shane da Silva","path":"/sds","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/677877?s=80&v=4"},"commit":{"message":"chore(shuttle): Release 0.5.10","shortMessageHtmlLink":"chore(shuttle): Release 0.5.10"}},{"before":"fb2645ee22bb67e18e6dfd0caeca4ea8b125f17f","after":"165a0aac74a5768a3fa8b1b2c225786e402119dd","ref":"refs/heads/main","pushedAt":"2024-08-01T16:28:07.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sds","name":"Shane da Silva","path":"/sds","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/677877?s=80&v=4"},"commit":{"message":"fix(shuttle): Add missing `await` to per-iteration `sleep()` call (#2232)\n\n## Why is this change needed?\r\n\r\nThe fix for high CPU usage due to busy-waiting (release v0.5.9) wasn't\r\neffective because `sleep()` returns a Promise which wasn't being\r\n`await`ed, so the containing `while` loop was still iterating unchecked\r\nthousands of times per second. This should fix for good.\r\n\r\n## Merge Checklist\r\n\r\n_Choose all relevant options below by adding an `x` now or at any time\r\nbefore submitting for review_\r\n\r\n- [x] PR title adheres to the [conventional\r\ncommits](https://www.conventionalcommits.org/en/v1.0.0/) standard\r\n- [x] PR has a\r\n[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)\r\n- [x] PR has been tagged with a change label(s) (i.e. documentation,\r\nfeature, bugfix, or chore)\r\n- [ ] PR includes\r\n[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)\r\nif necessary.\r\n\r\n\r\n\r\n\r\n---\r\n\r\n## PR-Codex overview\r\nThis PR focuses on fixing a bug in the `shuttle` package where an\r\n`await` was missing in the `sleep()` call, potentially causing CPU\r\nthrashing.\r\n\r\n### Detailed summary\r\n- Added missing `await` to `sleep()` call in `eventStream.ts` to prevent\r\nCPU thrashing.\r\n\r\n> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your\r\nquestion}`\r\n\r\n","shortMessageHtmlLink":"fix(shuttle): Add missing await to per-iteration sleep() call (#2232"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEmbPeIQA","startCursor":null,"endCursor":null}},"title":"Activity · farcasterxyz/hub-monorepo"}