GeezerVison is showing github.com — research(#9094): OpenCode DB backup economics — measured churn, growth model, scheme comparison by dezren39 · Pull Request #14513 · developing-today/code
Conversation
dezren39
commented
Nov 24, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Research for #9094 (workstream B, #8983; unblocks #13462).
- 7-day churn window Nov 17–24 read off the existing daily restic snapshots: 16–20 GiB/day compressed new blobs, time-invariant (VACUUM INTO re-chunking dominates, not true change).
- Page-level truth Nov 17→24: 3.64M pages changed (13.87 GiB) + 2.05M appended (8.35 GiB).
- Per-table dbstat (offline snapshot): session_message 36%, route_decision 32%, message 25%.
- Growth: flat Nov 2–12 (freelist absorption, now 0 pages free), +3.37 GiB Nov 12–16, +8.96 GiB Nov 17–24 (≈1.28 GiB/day); 6-mo projection ≈264 GiB.
- 3-scheme × 2-target table with measured restore times (laptop column fully measured: cp 105s, zstd -d 56s, restic restore 108s; Drive cells bounded-by-throughput with the failed direct-upload measurement recorded honestly).
- Recommendation: keep restic leg + add daily zstd fast-restore path; residual filed as implementation issue under epic: Atlas program — unified search and memory index over every corpus #8983.
- Sampler tool: bin/opencode-db-churn.mjs + 14 tests green (node --test).
Lane: oc-code-07 · Queue task 20300 · Closes nothing (research; implementation issue filed separately).
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T17:42:37Z",
"session_id": "ses_e5df181cfecffeSrOU4q5rkv8k",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code/.agent-worktrees/oc-code-07-9094-churn",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code/.agent-worktrees/oc-code-07-9094-churn",
"repo": "developing-today/code",
"branch": "oc-code-07/9094-db-churn-harness",
"sha": "6b1aa1d50600f9ee20f788a1028550bf6f1fe259"
},
"auth_subject": "oc-code-03",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…h model, scheme comparison
7-day restic-diff churn window (Nov 17-24): 16-20 GiB/day compressed new
blobs, time-invariant (VACUUM INTO re-chunking, not change). Page-truth:
3.64M changed + 2.05M appended pages over 7d. Per-table dbstat offline:
session_message 36%, route_decision 32%, message 25%. Growth 1.28 GiB/day
current; 6mo ~264 GiB projection. Recommends keep restic leg + add daily
zstd fast-restore path. Sampler: bin/opencode-db-churn.mjs + tests.
coderabbitai
Bot
commented
Nov 24, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You'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 12 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
da1927f6-e08c-4fe5-a8c3-5eb0a2a5ee68
Commits
-
Reviewing files that changed from the base of the PR and between 66858a2 and 122337e.
Files selected for processing: 3
-
bin/opencode-db-churn.mjs
bin/opencode-db-churn.test.mjs
doc/2026-11-24T17-45-00Z_research_opencode-db-backup-economics-9094/main.md
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 24, 2026
dezren39
added a commit
that referenced
this pull request
Nov 24, 2026
Global check in run 45508998688 found the stateless report from PR #14513 under main.md. Apply DOCUMENTATION_PROTOCOL dirname.md naming and index it without changing report bytes or broadening managed-package discovery. Original and renamed Git blob: c5d8922.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|