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 — feat(github-backup): deduplicated GitHub alerts for the hosted freshness report (#15001 slice 2) by dezren39 · Pull Request #15159 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

Summary

Slice 2 of #15001 (the alerting half Felix's slice-1 note queued next; slice 1's hosted comparison engine landed in PR #15130).

  • New infra/github-backup/bin/hosted_alerts.py: consumes the slice-1 hosted_freshness.py report and plans GitHub issue actions per (leg, repo) — create when an unhealthy pair has no open alert, update in place when evidence changes, noop when re-planning the same run, resolve (comment + close) when a later run verifies the pair fresh again.
  • Dedup key is a machine-readable body marker (<!-- hosted-freshness-alert: leg=… repo=… -->), never title text, so exactly one open alert exists per unhealthy pair.
  • stale / missing / partial / failed stay distinct in title and body; every alert carries status, detail, SLO, and the report's run identity + generation time as evidence. The inventory-global d1_export leg alerts under repo -; the source leg is not alerted on its own (a failed source check already fails every copy leg).
  • Dry-run by default (prints the plan as JSON); --apply executes via gh api with an injectable executor. Strict argument parsing before any file/network access (Design: unknown means stop — one strict argument contract for the repo's operator scripts #3352 contract). No schedule is added and no live alerting is wired yet — that lands with the missed-run watchdog slice, per the design.

Evidence

  • Before: on origin/main the report filed nothing (slice-1 module docstring: 'this module files nothing'); no alert planner existed.
  • After: remote verification via the fleet-command workflow fallback (queue dispatch blocked by TLS defect fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185), run 45648754646 on developing-today/fleet, conclusion success: test_hosted_alerts.py (10 tests: create per status, dedup update, same-run noop, resolve on re-verification, d1 global leg, apply dispatch) and test_hosted_freshness.py both pass against head 54a4bdc. Conclusions read as metadata only; no CI logs read.
  • The new test file is auto-discovered by github-backup-tests.yml's tests/test_*.py glob, so it runs in the existing suite with no registry change.

Merge Danger

  • Low: two new files only, no existing file touched. The module is not invoked by any workflow yet, so merging changes no live behaviour; --apply is opt-in per invocation.

Refs #15001 — remaining on the issue: external missed-run watchdog + tested signal, cron schedule + registry entry, hosted-workflow credential provisioning.


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
feat(github-backup): deduplicated GitHub alerts for hosted freshness …
54a4bdc
…report (#15001 slice 2)

hosted_alerts.py plans create/update/resolve/noop actions per
(leg, repo) from the slice-1 hosted_freshness report, keyed by a
body marker so exactly one open alert exists per unhealthy pair.
Successful re-verification resolves the alert; stale/missing/
partial/failed stay distinct and every alert carries run identity.
Dry-run by default; --apply executes via gh api with an injectable
executor. Hermetic planner tests cover create/dedup/noop/resolve.
This was referenced Nov 25, 2026
feature: independently monitor backup freshness and missed hosted runs #15001
Closed
audit: open-issue graph hygiene — blockers, children, labels, splits #14863
Open
@developing-today-fleet
developing-today-fleet Bot merged commit 5b6827e into main Nov 26, 2026
2 checks passed

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/15001-hosted-alerts branch November 26, 2026 06:13
This was referenced Nov 26, 2026
feat(github-backup): missed-run watchdog for the hosted freshness probe (#15001 slice 3) #15410
Merged
design: de-single-point the backup plane's laptop leg (mirrors, R2 bundles, rehost publisher, freshness probe, queue export) #14964
Closed
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.