Skip to content

feat(backlog): the hourly tick publishes a drive whose audit passed - #304

Merged
joepetjr merged 1 commit into
mainfrom
feat/backlog-publishes-audited-drive
Nov 10, 2026
Merged

joepetjr merged 1 commit into
mainfrom
feat/backlog-publishes-audited-drive

Conversation

@joepetjr

Copy link
Copy Markdown
Contributor

What

health backlog now publishes its region's audited drive. When the region's auditing drive's newest audit job (gms-backlog-<project> or a heal resume of it) succeeded, the call runs health publish for it with the tick's own roots and Waypost's default lead window.

  • launched → published: <project> for <slot>
  • claim miss (no claim: …, e.g. outside_lead_window) → noop, "audit passed: waits for its Waypost slot: …"; the drive stays auditing and a later hourly tick retries
  • any other publish refusal → refused ("publish refused: …", exit 2)
  • running / no record / failed / OST-gate audits are never published; --supersede of the drive is unchanged; --dry-run asks the publisher's dry run

Why

2026-11-10: Ireland's Clonakilty audit passed at 06:20, then held the region slot ("audit in progress") until a hand-run health publish at 09:39, refused outside_lead_window (slot Sun 11-15 2 PM ET; window opens Thu 11-12 2 PM ET). JP approved having the hourly check publish audited drives once the window opens.

Tests

8 new cases in tests/test_health_backlog_launch.py (red before: run_backlog() got an unexpected keyword argument 'publish'), 1 CLI wiring case in tests/test_health_backlog_cli.py. Health suites: 234 passed; all tests/test_health*.py + publish suites: 1122 passed. ruff check/format clean.

Docs: docs/pipeline/156-health-check.md (new Publish. paragraph; the stale "no cron calls it" line corrected). Changelog fragment added.

health backlog hands its region's auditing drive to health publish once the newest audit job succeeded. A claim outside Waypost's lead window is a noop retried next tick; any other publish refusal is a refusal. Clonakilty (11-10) sat audited until a hand-run publish, refused outside_lead_window.
@joepetjr
joepetjr merged commit 2cf894c into main Nov 10, 2026
10 checks passed
@joepetjr
joepetjr deleted the feat/backlog-publishes-audited-drive branch November 10, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant