Skip to content

[registry] Invalidate checker queue on image list changes - #17472

Merged
RaveNoX merged 9 commits into
mainfrom
fix-registry-checker
Jan 19, 2026
Merged

RaveNoX merged 9 commits into
mainfrom
fix-registry-checker

Conversation

@chupakobra6

@chupakobra6 chupakobra6 commented Jan 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Ensure the registry checker queue is rebuilt when the list of required images (Deckhouse or modules) changes, preventing validation of outdated image tags.

Why do we need it, and what problem does it solve?

Previously, the registry checker cached the validation queue based solely on registry connection parameters. Changing the Deckhouse version (image tag) or module versions did not trigger a queue rebuild. This caused persistent errors about missing old image tags even after a successful update. This fix ensures the checker always validates the actual input image list state

Why do we need it in the patch release (if we do)?

This PR fixes validation of input image list changes in the registry checker.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: registry
type: fix
summary: Fixed validation of input image list changes in the registry checker.
impact_level: default

@chupakobra6 chupakobra6 self-assigned this Jan 15, 2026
@github-actions github-actions Bot added the go Pull requests that update Go code label Jan 15, 2026
Igor Koshensky added 4 commits January 15, 2026 14:30
Igor Koshensky added 4 commits January 16, 2026 13:11
Signed-off-by: Igor Koshensky <[email protected]>
Signed-off-by: Igor Koshensky <[email protected]>
Signed-off-by: Igor Koshensky <[email protected]>
@chupakobra6 chupakobra6 added this to the v1.75.0 milestone Jan 16, 2026
@chupakobra6
chupakobra6 marked this pull request as ready for review January 16, 2026 12:20
@chupakobra6
chupakobra6 requested a review from RaveNoX as a code owner January 16, 2026 12:20
@chupakobra6 chupakobra6 added the e2e/run/yandex-cloud Run e2e tests in Yandex Cloud label Jan 16, 2026
@deckhouse-BOaTswain

deckhouse-BOaTswain commented Jan 16, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e: Yandex.Cloud for deckhouse:fix-registry-checker succeeded in 35m38s.

Workflow details

Yandex.Cloud-WithoutNAT-Containerd-1.32 - Connection string: ssh [email protected]

🟢 e2e: Yandex.Cloud, Containerd, Kubernetes 1.32 succeeded in 34m25s.

@github-actions github-actions Bot removed the e2e/run/yandex-cloud Run e2e tests in Yandex Cloud label Jan 16, 2026
@RaveNoX RaveNoX assigned vadimartynov and unassigned chupakobra6 Jan 19, 2026
@vadimartynov vadimartynov added e2e/run/yandex-cloud Run e2e tests in Yandex Cloud e2e/run/eks Run e2e tests in Amazon EKS labels Jan 19, 2026
@deckhouse-BOaTswain

deckhouse-BOaTswain commented Jan 19, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e: EKS for deckhouse:fix-registry-checker succeeded in 28m26s.

Workflow details

🟢 e2e: EKS, Containerd, Kubernetes 1.32 succeeded in 27m10s.

@deckhouse-BOaTswain

deckhouse-BOaTswain commented Jan 19, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e: Yandex.Cloud for deckhouse:fix-registry-checker succeeded in 36m28s.

Workflow details

Yandex.Cloud-WithoutNAT-Containerd-1.32 - Connection string: ssh [email protected]

🟢 e2e: Yandex.Cloud, Containerd, Kubernetes 1.32 succeeded in 35m18s.

@github-actions github-actions Bot removed e2e/run/eks Run e2e tests in Amazon EKS e2e/run/yandex-cloud Run e2e tests in Yandex Cloud labels Jan 19, 2026
@vadimartynov
vadimartynov removed their request for review January 19, 2026 14:27
@RaveNoX
RaveNoX merged commit e34c9b5 into main Jan 19, 2026
105 of 119 checks passed
@RaveNoX
RaveNoX deleted the fix-registry-checker branch January 19, 2026 18:26
@RaveNoX

RaveNoX commented Jan 19, 2026

Copy link
Copy Markdown
Contributor

/backport 1.74

@deckhouse-BOaTswain

Copy link
Copy Markdown
Contributor

Failure: cherry-pick commit e34c9b5 to the branch release-1.74 failed. See Job for details.

RaveNoX pushed a commit that referenced this pull request Jan 19, 2026
* Enhance image fingerprint computation in registry queue initialization

Signed-off-by: Igor Koshensky <[email protected]>

* Update checker hook to ensure timely validation of Deckhouse image tags

Signed-off-by: Igor Koshensky <[email protected]>

* Refactor checker hook to utilize full version computation and streamline configuration handling

Signed-off-by: Igor Koshensky <[email protected]>

* Revers checker hook configuration changes

Signed-off-by: Igor Koshensky <[email protected]>

* Fix formatting

Signed-off-by: Igor Koshensky <[email protected]>

* Refactor checker hook to remove unused image fingerprint computation

Signed-off-by: Igor Koshensky <[email protected]>

* Enhance image fingerprint handling

Signed-off-by: Igor Koshensky <[email protected]>

* Fix formatting

Signed-off-by: Igor Koshensky <[email protected]>

* Fix formatting

Signed-off-by: Igor Koshensky <[email protected]>

---------

Signed-off-by: Igor Koshensky <[email protected]>
Co-authored-by: Igor Koshensky <[email protected]>
Signed-off-by: Artur Kraev <[email protected]>
RaveNoX added a commit that referenced this pull request Jan 19, 2026
…17553)

* Enhance image fingerprint computation in registry queue initialization



* Update checker hook to ensure timely validation of Deckhouse image tags



* Refactor checker hook to utilize full version computation and streamline configuration handling



* Revers checker hook configuration changes



* Fix formatting



* Refactor checker hook to remove unused image fingerprint computation



* Enhance image fingerprint handling



* Fix formatting



* Fix formatting



---------

Signed-off-by: Igor Koshensky <[email protected]>
Signed-off-by: Artur Kraev <[email protected]>
Co-authored-by: chupakobra6 <[email protected]>
Co-authored-by: Igor Koshensky <[email protected]>
Glitchy-Sheep pushed a commit that referenced this pull request Jan 26, 2026
* Enhance image fingerprint computation in registry queue initialization

Signed-off-by: Igor Koshensky <[email protected]>

* Update checker hook to ensure timely validation of Deckhouse image tags

Signed-off-by: Igor Koshensky <[email protected]>

* Refactor checker hook to utilize full version computation and streamline configuration handling

Signed-off-by: Igor Koshensky <[email protected]>

* Revers checker hook configuration changes

Signed-off-by: Igor Koshensky <[email protected]>

* Fix formatting

Signed-off-by: Igor Koshensky <[email protected]>

* Refactor checker hook to remove unused image fingerprint computation

Signed-off-by: Igor Koshensky <[email protected]>

* Enhance image fingerprint handling

Signed-off-by: Igor Koshensky <[email protected]>

* Fix formatting

Signed-off-by: Igor Koshensky <[email protected]>

* Fix formatting

Signed-off-by: Igor Koshensky <[email protected]>

---------

Signed-off-by: Igor Koshensky <[email protected]>
Co-authored-by: Igor Koshensky <[email protected]>
@mortelumina98 mortelumina98 changed the title [registry] invalidate checker queue on image list changes [registry] Invalidate checker queue on image list changes Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code status/backport/failed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants