Skip to content

Part I — Quarterly reruns: history on the page, PR instead of push, staleness report - #11

Merged
DeviousCardi merged 1 commit into
mainfrom
quarterly-reruns
Sep 9, 2026
Merged

DeviousCardi merged 1 commit into
mainfrom
quarterly-reruns

Conversation

@DeviousCardi

Copy link
Copy Markdown
Owner

Summary

Part I of PLAN-1.0.md. Branched from main directly (not from ci-action),
so this PR is independent of #10 and can be reviewed/merged in either order.

  • .github/workflows/matrix.yml — the scheduled run now covers every
    suite this repository publishes, and instead of only uploading an
    artifact, opens a pull request adding results/<date>/<suite>/matrix.*
    never pushed straight to main, since bumping every image tag and
    re-confirming each adapter by hand is a maintainer's own step.
  • Matrix::to_html (src/matrix.rs) gains history: Option<&History>:
    a cell whose verdict changed from the most recent prior run of the same
    suite says so and links back to it. find_previous_run (src/main.rs)
    locates that prior run under results/, picking the most recent one
    strictly before the run being rendered.
  • tools/check_confirmation_age.py — reads the "Confirmed by hand
    against <image> on <date>" comment every adapter already opens with,
    and reports how old each one is. Never fails the job; its report goes into
    the quarterly pull request body. Run against this repository's own
    adapters, it correctly flagged parseable.yaml: an 0.2-era adapter that
    predates the confirmation-comment convention and genuinely has no date to
    report — left as found rather than backfilled with a guessed date.

Verified: unit tests for find_previous_run and the HTML diff annotation,
plus an end-to-end run through the actual render CLI against two hand-built
quarters, confirming the link and the "changed from ALTER" text in the real
output.

172 tests (this branch, standalone), 0 clippy warnings, corpus gate passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_018k65nFSzuwsHwYnpSHNaeK

…report (Part I)

`.github/workflows/matrix.yml`: the scheduled run now covers every suite this
repository publishes (`otlp-logs`, `es-bulk`, `remote-write`, `otlp-metrics`,
`loki-push`), and instead of only uploading an artifact, opens a pull request
adding `results/<date>/<suite>/matrix.{json,md,html}` — never pushed straight
to main, since bumping every image tag and re-confirming each adapter by hand
is a maintainer's own step, not something a workflow can do for them.

`Matrix::to_html` (`src/matrix.rs`) gains `history: Option<&History>`: given
the most recent prior run of the same suite, a cell whose verdict changed
says so and links back to it — the strongest evidence this project can offer
that a finding was acted on is a cell moving from `ALTER` to `PASS` with the
version it changed at. `find_previous_run` (`src/main.rs`) locates that prior
run under `results/`, picking the most recent one strictly before the run
being rendered, so a same-day rerun never compares against itself. Wired into
both `render` and `matrix`.

`tools/check_confirmation_age.py`: reads the "Confirmed by hand against
`<image>` on `<date>`" comment every adapter already opens with (rather than
adding a second machine-only field that could drift from it) and reports how
old each one is. Never fails the job — a stale adapter needs a maintainer's
eyes, not a red build — and its report goes into the quarterly pull request
body, so a backend that could not be re-confirmed this quarter is shown with
its last date rather than silently carried forward as current. Run against
this repository's own adapters, it correctly flagged `parseable.yaml`: an
0.2-era adapter that predates the confirmation-comment convention and
genuinely has no date to report — left as found rather than backfilled with
a guessed date, which this project's own rule against confirming from memory
forbids.

Verified: unit tests for `find_previous_run` (most-recent-before-today
chosen, same-day never compares against itself, wrong suite never matches,
no `results/` directory at all is simply no history) and for the HTML diff
annotation; and an end-to-end run through the actual `render` CLI against two
hand-built quarters, confirming the link and the "changed from ALTER" text
appear in the real output, not only in a unit test's assertions.

174 tests, 0 clippy warnings, corpus gate passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018k65nFSzuwsHwYnpSHNaeK
@DeviousCardi
DeviousCardi merged commit c82b16e into main Sep 9, 2026
3 checks passed
@DeviousCardi
DeviousCardi deleted the quarterly-reruns branch September 9, 2026 08:33
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