oliver-zehentleitner / maity

release-hub: replace the check job's full test rerun with a ci-ok lookup on the tagged commit

Sign in to report

tsk-qcsd79map0yq Done An agent

Owner decision (Oliver, seq 97189, answering lotse 97177): "ja bitte".

Today release-hub.yml's check job reruns the whole hub suite on SQLite (make install && make check, 6456 tests) for the tagged commit. That commit has already passed ci, including PostgreSQL, so the rerun only costs time. It took most of the v0.1.0a1 release run on 2026-11-09.

Wanted:

  • check becomes a lookup: the tagged commit must have a successful ci-ok check run (and, because hub-mariadb runs only on main, a successful hub-mariadb run on that commit or a later main commit that contains it; propose which). Read-only API permissions, no new secrets.
  • A tag on a commit without green ci-ok stops the release before publish, with a clear message saying which check is missing.
  • build (sdist and wheel, release-check/check_dist on the built files) stays as it is: it tests the product itself.
  • Same idea for release-cli.yml if it reruns the CLI suite; say so in the PR.
  • Keep the Why entry: why the release trusts ci's result instead of rerunning it, and what guards a tag on an untested commit.

Boundary: no change to trusted publishing, the pypi/ghcr environments or their approvals.
After #1541.