You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: harden reruns and pin checks of release workflows #92
Sourcery's review of elixir-cloud-aai/drs-filer#130 (release workflow ported from trs-filer) found two gaps that apply to every repo with the same release.yml and scripts/check_release_pins.py: trs-filer, proTES, cloud-registry and drs-filer.
What?
Re-running all jobs of an already published (immutable) release:publish moves the X.Y.Z (and possibly latest) image tag to a new digest in "Tag image" before "Create release" (release_assets.py state) rejects the re-packaged chart. The run fails, but the image tag already points to a digest that no release contains. Fix: determine the release state before "Attest build provenance" / "Tag image", and fail early (or skip retagging) for a published release whose assets would change.
check_release_pins.py checks requirement strings only: a [tool.uv.sources] override (VCS, URL or path) or a non-registry source in uv.lock passes the check and ends up in the image. Fix: reject such sources too.
Either move the shared parts into an action or reusable workflow here, or fix each repo (one PR per repo, sub-issues of this one).
Done when
A rerun of a published release fails before any image tag moves, in every repo with this workflow (tested).
The pin check rejects [tool.uv.sources] overrides and non-registry lock sources (tested).
Done: both fixes are merged, with tests (tests/test_release_assets.py, tests/test_check_release_pins.py, tests/test_workflows.py), in every repo with this release workflow:
Activity
test: require the FOCA commit in this lock flagged
docs: warn against full re-runs of older releases
docs: drop release version from re-run warning
uniqueg commentedon Nov 19, 2026
Done: both fixes are merged, with tests (
tests/test_release_assets.py,tests/test_check_release_pins.py,tests/test_workflows.py), in every repo with this release workflow:proWES gets its release workflow in elixir-cloud-aai/prowes#116, ported from proTES with both fixes included.