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 — pm-stack: require a fresh verified backup before Kaneo promotion by developing-today-fleet[bot] · Pull Request #14034 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot 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
Contributor

Summary

  • Require kaneo-cutover.sh --mode promote to receive the latest backup run record and reject incomplete, unverified, stale (>36h), or future-dated restore points before querying either database.
  • Require a valid archive SHA-256 and verified local, R2, and Drive copies; include the accepted restore-point timestamp in the cutover receipt.
  • Add fixture coverage and update the migration plan and cold-restore runbook. The existing pm-stack CI workflow already runs the cutover suite.

Evidence

  • Before: promotion required writer fencing and exact source/target table+row parity, but did not gate on a verified backup restore point.
  • After: bash pm-stack/scripts/kaneo-cutover.test.sh proves promotion refuses incomplete and 37-hour-old records before database access; fresh complete record passes alongside fencing and parity.
  • bash pm-stack/scripts/fence-check.test.sh, git diff --check, shellcheck -S warning ..., and Python syntax compilation passed locally.
  • Evidence level: ran on the laptop at 388d6dd1253; fixture-backed checks only, no live database or services touched. Remote Fleet dispatch is in progress.

Merge Danger

Shell/Python gate and docs only. The 36-hour default matches host-health backup staleness; it does not claim the outstanding 1-hour Kaneo RPO is met. The cutover remains a scheduled window and the live migration is not performed here.

Refs #6816, #3989

{
  "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-24T02:53:14Z",
    "session_id": "ses_e5df4934c72ffeZaQI37ZXYMYS",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/code-i-3989-backup-gate-20261124T024442Z-5c01c2dc",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/code-i-3989-backup-gate-20261124T024442Z-5c01c2dc",
      "repo": "developing-today/code",
      "branch": "code-i-3989-backup-gate-20261124",
      "sha": "909668a1a8967c08f8603c8d5b16d89332faeded"
    },
    "auth_subject": "oc-code-05",
    "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.

All reactions
dezren39 added 2 commits November 23, 2026 20:50
@dezren39
pm-stack: gate Kaneo promotion on verified backup
388d6dd
@dezren39
Merge remote-tracking branch 'origin/main' into code-i-3989-backup-ga…
909668a
…te-20261124
@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

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

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: 55f68af5-7309-4c17-81bd-893ae075b8b6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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
All reactions

Sorry, something went wrong.

Uh oh!

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

This was referenced Nov 24, 2026
impl(pm-stack): move stateful services off the laptop and prove host failover #3989
Open
Open-PR clearance programme 2026-11-24: every open PR merged, fixed+merged, or tasked #14166
Open
dezren39 added 2 commits November 24, 2026 17:48
@dezren39
Merge remote-tracking branch 'origin/main' into sweep-14034-local
d56239a
# Conflicts:
#	pm-stack/scripts/kaneo-cutover.sh
#	pm-stack/scripts/kaneo-cutover.test.sh
@dezren39
test(pm-stack): fix kaneo-cutover log expectations after main merge (…
88f8c7a
…psql parity counts)
@dezren39

dezren39 commented Nov 24, 2026

Copy link
Copy Markdown
Member

PR-SWEEP (xaltha, queue task 23152, 2026-11-24): main merged in, conflicts resolved, verification re-dispatched.

  • Merged origin/main (66858a2) into this branch — merge commit d56239aee, fast-forward push, no force push. Conflicts only in pm-stack/scripts/kaneo-cutover.sh and kaneo-cutover.test.sh, as the sweep packet predicted.
  • Resolution preserves both sides: the PR's backup-freshness gate (--backup-record-file / --max-backup-age-hours, restore-point check before any database access, backup tests) and main's rollback mode (--unreachable refused in rollback, rollback tests). Diff vs current main is again exactly this PR's 5 files.
  • First remote verification (fleet-command run 45452671297, bash pm-stack/scripts/kaneo-cutover.test.sh): all backup-gate and rollback checks passed; 2 failures were stale log expectations in the merged test file (main expected only pg_dump:source pg_restore:target, the merged script also logs psql psql parity counts). Fixed in 88f8c7a58.
  • Re-verification run 45455259648 was still in progress at this lane's cutoff (runner congestion). Do not merge until that run is green; then merge and record the disposition on Open-PR clearance programme 2026-11-24: every open PR merged, fixed+merged, or tasked #14166.
All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39
dezren39 merged commit b69026d into main Nov 24, 2026
2 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the code-i-3989-backup-gate-20261124 branch November 24, 2026 18:19
@dezren39 dezren39 mentioned this pull request Nov 26, 2026
impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816
Open
4 tasks
developing-today-fleet Bot pushed a commit that referenced this pull request Nov 27, 2026
@dezren39
pm-stack: require a fresh verified backup before Grist/Pad final
8b6273e
grist-pad-sync.sh --mode final now carries the same consumer gate
kaneo-cutover.sh promote gained in #14034: the latest backup record
must describe a complete generation with verified local, R2, and
Drive copies finished within 36h (override via
--max-backup-age-hours for a documented window decision), checked
via restore-point-check.py before any copy runs. Refusal is exit 3
with a REFUSED receipt naming the restore point and copies nothing;
--backup-record-file is required for final (exit 2 otherwise).
Receipts record the restore-point check output on final.

Issue #3989 (slice): after this PR, a fenced Grist/Pad final with a
stale or unverified backup generation refuses instead of syncing.
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
pm-stack: require a fresh verified backup before Grist/Pad final #16240
Merged
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.

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.