GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(registry): register opencode-db-backup.timer with zstd fast-restore leg (#13462) by dezren39 · Pull Request #14583 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Slice 1 of #13462 (task 23638, lane oc-code-03).

The zstd fast-restore leg code merged in #14539 (scheme #9094 section 7) but its schedule never got its registry row. This registers opencode-db-backup.timer (Surface 2b; daily 06:05 + 15m jitter, live-verified via systemctl: next run 2026-11-25 06:05 CST) covering both legs — restic local+R2+Drive (#10297) and dated zstd copies to laptop archive + Drive (#14515) — with the >=1-day Drive-lag freshness SLO.

Size/time + scratch restore verification are recorded on #13462.

Closes #13462

{
  "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-24T20:08:42Z",
    "session_id": "ses_e5df0eba5d4ffeiG1cQnKj5sEP",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "oc-code-07/23641-consolidate-14415-into-14492",
      "sha": "831716d093fedb512a0e631a5b7bff8a7b6534f5"
    },
    "auth_subject": "oc-code-02",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Documentation
    • Added documentation for the daily database backup schedule, including its timing, destinations, retention, and freshness target.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
docs(registry): register opencode-db-backup.timer with zstd fast-rest…
d9c26a7
…ore leg (#13462)

The daily 06:05 timer (restic leg since #10297, dated zstd full-copy
leg since #14515 per #9094 section 7) ran unregistered. Registers it in
Surface 2b with the >=1-day Drive-lag freshness SLO, verified live via
systemctl --user show (OnCalendar *-*-* 06:05:00, next run 2026-11-25).

Refs #13462
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Surface 2b systemd timer registry adds an entry for opencode-db-backup.timer. The entry records its schedule, service, backup destinations and methods, retention, related issues, dates, and freshness SLO.

Changes: OpenCode backup registry

Layer / File(s) Summary
Register the OpenCode backup timer
doc/fleet-schedule-registry.md
The registry records the timer’s daily schedule, activated service, backup paths and methods, retention, related issues, creation and review dates, and freshness SLO.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related issues

  • Issue 14515 — The registry entry records the daily zstd-copy schedule and destinations described by this issue.
  • Issue 9093 — The entry documents an OpenCode database backup leg within the backup mesh.
  • Issue 10304 — The registry entry adds information about an OpenCode database backup to the disaster-recovery inventory.

Possibly related PRs

  • developing-today/code#5714 — It defines timer inventory rules for the same registry table.
  • developing-today/code#5340 — It sets the calendar-expression rule that applies to this timer entry.

Suggested reviewers: claude

Merge Risk: Minimal · up to d9c26

This documentation-only change registers the OpenCode database backup timer in the schedule registry. The row matches the backup script the timer runs, so merge risk is minimal.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Linked issue #13462 has four acceptance items. Three are non-coding or recorded on the issue: the scheme record, the size/time measurement, and the scratch-path restore check. The coding item is the s… Provide readable access to the whole-PR diff at doc/fleet-schedule-registry.md, or the Surface 2b opencode-db-backup.timer row text, to confirm the added row. Also provide the repository path of the timer's Nix declaration (service, OnCalen…
Passed Passed checks: 3 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the registry change (registering opencode-db-backup.timer in the schedule registry) and the zstd fast-restore leg. The change adds one line to doc/fleet-schedule-registry.md that regis…
Out of Scope Changes check Passed The raw summary reports one changed file, doc/fleet-schedule-registry.md, with +1/-0 lines and no declaration changes. The change adds the registry row required by the issue's house rule that schedule…
Full details: Title check

Explanation

The title names the registry change (registering opencode-db-backup.timer in the schedule registry) and the zstd fast-restore leg. The change adds one line to doc/fleet-schedule-registry.md that registers this timer, and the PR objectives describe the registry slice covering both the restic and zstd legs. The title is accurate, though it is long (85 characters) and the zstd fast-restore wording is a slight overstatement, since the objectives say the restic and zstd legs are covered but the measurements and restore verification are not included in this PR.

Full details: Out of Scope Changes check

Explanation

The raw summary reports one changed file, doc/fleet-schedule-registry.md, with +1/-0 lines and no declaration changes. The change adds the registry row required by the issue's house rule that schedules land their registry row in the same PR. This directly supports #13462. No unrelated code or config change is reported. The whole-PR diff could not be read, so this verdict relies on the raw summary.

Full details: Linked Issues check

Explanation

Linked issue #13462 has four acceptance items. Three are non-coding or recorded on the issue: the scheme record, the size/time measurement, and the scratch-path restore check. The coding item is the schedule implementation, plus the registry row. The raw summary establishes that this PR adds one Surface 2b row for opencode-db-backup.timer in doc/fleet-schedule-registry.md (+1/-0). That row satisfies the same-PR registry requirement. The timer's implementation is attributed to earlier merged work (#14539, #10297, #14515). The reviewed checkout did not let me read the whole-PR diff or the timer's Nix declaration at head. The tool returned that the changed blobs are missing from the checkout. The file read of doc/fleet-schedule-registry.md was truncated before Surface 2b. The live systemctl evidence in the PR description is author-reported and not repository evidence. So I cannot confirm from repository content that the scheduled implementation exists at head.

Resolution

Provide readable access to the whole-PR diff at doc/fleet-schedule-registry.md, or the Surface 2b opencode-db-backup.timer row text, to confirm the added row. Also provide the repository path of the timer's Nix declaration (service, OnCalendar 06:05, RandomizedDelaySec 15m) so the schedule implementation can be read at head.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
Recent review info

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: 760dce30-a8ba-4205-9456-9b3b1a314acd
Commits

Reviewing files that changed from the base of the PR and between 5112315 and d9c26a7.

Files selected for processing: 1

  • doc/fleet-schedule-registry.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 24, 2026
impl(backups): mesh leg — OpenCode session DB backup (gated on research #9094) #13462
Closed
4 tasks
@dezren39
dezren39 merged commit c866a4d into main Nov 24, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the oc-code-03/23638-registry-opencode-db branch November 24, 2026 20:18
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
impl(atlas/fleet): backup mesh — all-Turso 14d restic-zstd to R2, R2/laptop/Drive mesh, D1+laptop DBs into Turso #9093
Open
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

impl(backups): mesh leg — OpenCode session DB backup (gated on research #9094)

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.