Repository navigation
Conversation
- The alert for a missing ordered tag or a failed publish validation now says that re-running the failed job retries, as it already did for an absent or unverified alias. - The README asks callers to publish the alias from a job of its own after the build, which generates the tag itself and takes only the digest from the build job. Re-running that job builds nothing. - The README no longer offers publishing from the build job, and the alias job needs no time limit of its own.
- The README now says that re-running the alias job retries generation and publication, and that it repairs a failure only once its cause has passed.
- The README now says that re-running the alias job can recover from a transient failure to generate the tag, publish the alias or verify it, instead of promising a repair.
Z3r0Sum
marked this pull request as ready for review
November 24, 2026 18:53
Contributor
Author
|
@PostHog review |
|
@Z3r0Sum PostHog Review is reviewing this pull request. |
|
✅ Security review complete — No findings above the confidence threshold, in 4 min. Add the |
There was a problem hiding this comment.
PostHog Review · Standard · reviewed 8edc5dc: 1 Should fix.
See this review and its findings in PostHog Review. Comment @posthog review --deep for a Deep review. A Deep review takes longer and looks deeper than a Standard review.
- The README now asks callers to set a time limit on the alias job of at least twice the action's two budgets together, 30 minutes today. With no limit a job hung in the checkout or the registry login holds its runner for six hours. - It also says that the other jobs run because they depend on the build, and that the job-level mark only keeps the run from failing.
- The README now says the 30 minute limit is about twice the two budgets together, which are 905 seconds, and not at least twice. - It says a hung alias job delays the next build only where a concurrency group queues that run behind it.
- The README now gives one rule: the alias job is not marked, so a failed alias job fails the run, also when it fails before the step that alerts. - The one exception is a workflow in which something else reads the alias job's result and alerts on it.
langesven
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
container-image-metadataaction cannot confirm the ordered release alias, its alert tells the reader what to do. For a missing ordered tag (tag-unavailable) and for inputs that fail validation it said "Re-run all jobs". That instruction cannot be followed: a re-run of all jobs builds the image again, the rebuild has another digest, and a registry that keeps its tags immutable refuses to push a tag that already exists. The run fails at the push and never reaches the alias.Changes
integrity-mismatch, which keeps "A re-run cannot clear it". In the script this is one assignment in the last step, from the variable the other results already use.tags,labelsandannotations, and its only output is the digest. The alias job runs after it: it checks out, logs in to the registry, calls the action to generate the ordered tag and calls it again to publish and check. Re-running that job retries generation and publication and builds nothing.continue-on-error. Nothing depends on it, so the jobs that depend on the build run whatever it does, and a failed alias job fails the run. That also covers a failure before the step that alerts, such as the checkout or the registry login, where no message is sent. The one exception is a workflow in which something else reads the alias job's result and alerts on it.timeout-minutesof about twice the action's two phase budgets together, which is 30 minutes for today's 905 seconds. A limit below the budgets can end the job before the step that alerts. With no limit, a job that hangs in the checkout or the registry login holds its runner for six hours.ordered-release-tagis returned by the generate invocation, not a pre-build one.publish-ordered-release-tagnow says that a job's time limit sits above the phases it runs.The action's phases, inputs, defaults, outputs, steps and conditions are unchanged.
What this looks like in a PR
A caller's alias job, after this change:
For a missing tag the annotation now reads
tag-unavailable. Kargo creates no Freight for this build, so deploys stay on the previous build. Re-running the failed job retries.The same sentences go to Slack when a token is passed.How to review this PR
action.yml: three changed places. One line of the last step's script (retry="$rerun_job"in the validation branch) and two input descriptions. A structural comparison of the parsed file againstmainshows nothing else.README.md: read "What a caller must do" and the example under it first, then the result table row fortag-unavailable, the paragraph under the table and "Time budget". Three older sentences that assumed the tag is generated before the build were adjusted.continue-on-errorvariants with one rule.Not in this change, and why
tag-unavailable, so a caller that numbers its own tags is never given the action's numbering.tag-unavailablein the message. It names the result only, and the cause is in the generate step's warning in the same job's log.images) stays, and a worked matrix example waits for the first caller that needs one.How did you test this?
main's, extracted and run under bash with a recordingcurlstand-in. Fortag-unavailableand a missing digest the annotation and the message body end with the new sentence here and the old one onmain. Forabsent,unknown,integrity-mismatch, a confirmed alias and an empty result the output is byte-identical. A synthetic token appears in no captured output or argument list.shellcheck -s bashon the last step: no findings before or after.actionlint, andactionlintrejects it when the alias job reads a build output that no longer exists. A script over the parsed example confirms two jobs, a digest-only build output, a build call with neither ordered flag, two calls in the alias job (generate, then publish),timeout-minutes: 30on it and nocontinue-on-error.node --testsuites pass.main: the first caller's build confirmed its alias, a re-run of its combined build-and-alias job was refused at the push, and a failed job inside a green run was re-run alone, ran by itself and alerted again.Rollback