GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — feat(usage-hub): snapshot retention — 13-month raw, monthly rollups, backup check (#1117) by dezren39 · Pull Request #2379 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 36 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 0e21d62bb6
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
- Synchronize append/compact with a store lockfile (.snapshots.lock, stale-stealing) so a compaction can never delete records appended mid-run - Merge resetsAt/limit on their own timestamps (resetsAtTs/limitTs) so incremental compaction matches one-pass - Rollups carry every compacted observation dedupe key; append consults rollupKeys() so replays after compaction stay no-ops - isSnapshotRollup validates timestamps + observedBy, so a malformed rollup line is skipped instead of poisoning readAll - Regression tests for all four findings
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 5e565f4328
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
- aggAddRecord: skip records whose durable key is already in the rollup, so recovery after an interrupted compaction cannot inflate count or aggregates. - compaction: abort when an existing rollup cannot be read (ENOENT stays benign) instead of overwriting prior history with late raw records. - withSnapshotStoreLock: retry only on EEXIST/ENOENT races; propagate permanent filesystem errors (EACCES, ENOSPC) and keep the deadline on every retry path.
|
@codex review Head f0b28cd closes the three remaining findings (duplicate-key count on compaction retry, abort on unreadable existing rollup, permanent lock-creation errors no longer retried) and all seven threads now have a disposition reply. Please re-review the current head. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: f0b28cd356
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@codex review — d7fd675 fixes both P2 findings from the f0b28cd round (guard-serialized stale-lock reclamation with identity re-verification + regression test; compaction CLI default now matches the established snapshot store). Please re-review. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: d7fd675242
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex round 3 on PR #2379: a stale reclaimer that renamed a live guard and linked it back after its owner released it recreated an ownerless guard, stalling later appends/compactions into lock timeouts. releaseGuard now leaves a release tombstone when it cannot remove its own guard file; the restorer deletes a restored guard whose owner tombstoned (or whose token already holds the main lock), later acquirers sweep tombstoned guards as a backstop, a superseded reclaim file is removed, and each call sweeps its own orphaned guard/tombstone on exit. Regression test: both lockfiles abandoned + 12 concurrent 2ms callbacks x 20 trials — all complete, critical sections never overlap, no debris.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.