Skip to content

[patch] Update PR validation to verify all _cli_image_digest values are the same - #516

Merged
tomklapiscak merged 9 commits into
mainfrom
clidigestcheck
Jul 28, 2026
Merged

[patch] Update PR validation to verify all _cli_image_digest values are the same#516
tomklapiscak merged 9 commits into
mainfrom
clidigestcheck

Conversation

@tomklapiscak

@tomklapiscak tomklapiscak commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

_cli_image_digest being updated in a single file without being changed in all files is a recurring pain point - especially in airgapped envs where not all CLI image releases are available.

This PR prevents this issue from happening again by failing PR checks if a developer attempts to update one _cli_image_digest value without updating all of the others (i.e. using the provided set-cli-image-digest.sh script).

Based on feedback from the SaaS squad, this check has been deliberately omitted from pre-commit hooks - this is to reduce friction by allowing devs to quickly test a single Job update in isolation during the development process.

@tomklapiscak
tomklapiscak requested a review from rbinns July 28, 2026 09:33
Deliberately permitting commits where only a single digest has been updated to reduce friction when devs want to quickly update a single Job for testing
@tomklapiscak
tomklapiscak requested a review from mnivedithaa July 28, 2026 10:57
@tomklapiscak tomklapiscak changed the title [patch] Update precommit/build checks to verify all _cli_image_digest values are the same [patch] Update PR validation to verify all _cli_image_digest values are the same Jul 28, 2026
@tomklapiscak
tomklapiscak merged commit 4855399 into main Jul 28, 2026
3 checks passed
@mnivedithaa
mnivedithaa deleted the clidigestcheck branch July 28, 2026 11: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.

3 participants