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 — Add five-copy freshness readout for #8584 backups by dezren39 · Pull Request #14205 · 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

Task 22616 slice of #8584.

What: infra/github-backup/bin/freshness_readout.py + hermetic tests (8/8). Judges the five canonical copies (turso_export, d1_copy, cloudflare_rehost, plain_mirror, r2_bundles) against per-copy targets from a JSON status doc; missing/never-verified/over-target/invalid fail loudly, unknown flags exit 2 per #3352. --format json feeds a scheduled probe for auto-filing.

Demo against current state: 4/5 PASS, cloudflare_rehost STALE (never verified) — honest, exit 1.

Not in this PR: the Cloudflare rehost surface itself (open question from #8575, needs Drew's call on what 'rehosting' means — Cloudflare has no native git hosting), the scheduled workflow wiring, or the live status-doc builder. Follow-on recommended.

Closes nothing; advances #8584 legs 2/2 readout half. Tests: python3 -I infra/github-backup/tests/test_freshness_readout.py (8/8 OK).

{
  "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-24T08:24:18Z",
    "session_id": "ses_e5df36e5dceffee2DvYDne6Rpm",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-22616-freshness",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-22616-freshness",
      "repo": "developing-today/code",
      "branch": "queue/22616-8584-freshness-readout",
      "sha": "fcdc99fe56b3caa4498a59c032390573e4ec3bd9"
    },
    "auth_subject": "oc-code-06",
    "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
Add five-copy freshness readout for #8584 backups
fcdc99f
Judges turso_export, d1_copy, cloudflare_rehost, plain_mirror and
r2_bundles against per-copy freshness targets from a JSON status doc.
Missing, never-verified, over-target and invalid copies fail loudly
(exit 1); unknown CLI flags are usage errors (exit 2, #3352). Hermetic,
stdlib only; --format json feeds a scheduled probe that auto-files
staleness issues. The Cloudflare rehost surface itself remains Drew's
open question from #8575 — an absent rehost entry reports STALE rather
than passing silently.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

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 58 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: 0e6f4741-e704-4086-bd07-4952bfa3a43c
Commits

Reviewing files that changed from the base of the PR and between e9f9845 and fcdc99f.

Files selected for processing: 2

  • infra/github-backup/bin/freshness_readout.py
  • infra/github-backup/tests/test_freshness_readout.py
  • 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
Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 #8584
Closed
Add scheduled five-copy freshness probe + Cloudflare rehost evaluation for #8584 #14287
Merged
@dezren39

dezren39 commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Follow-up stacked on this PR: #14287 adds the producer half of the freshness leg (scheduled probe that writes this readout's status doc + alert-issue auto-filing) and the Cloudflare rehost evaluation. Merge order: this PR first, then retarget #14287 to main. Evidence and per-leg state are recorded on #8584 (comment 7128575409).

All reactions

Sorry, something went wrong.

Uh oh!

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

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

Uh oh!

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

@dezren39
dezren39 deleted the queue/22616-8584-freshness-readout branch November 24, 2026 10:18
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.