Skip to content

fix(ci): fall back to ghcr.io when the registry cache is unavailable - #2695

Closed
shikanime wants to merge 1 commit into
mainfrom
fix/registry-cache-fallback
Closed

fix(ci): fall back to ghcr.io when the registry cache is unavailable#2695
shikanime wants to merge 1 commit into
mainfrom
fix/registry-cache-fallback

Conversation

@shikanime

Copy link
Copy Markdown
Member

Issues liées

#2694


Quel est le comportement actuel ?

L'étape Initialize application environment for tests du workflow Playwright tire les 5 images applicatives exclusivement depuis le registre de cache interne registry-cache-ghcr:5000.
Depuis le 2026-09-07, ce cache répond 500 Internal Server Error au transfert des blobs : chaque run Merge Queue échoue sur les 4 shards, alors que la CI de branche reste verte et que ghcr.io sert les mêmes tags anonymement.

Quel est le nouveau comportement ?

Chaque image est d'abord tirée depuis le cache ; en cas d'échec, un avertissement ::warning:: est émis et le pull est retenté directement sur ghcr.io, avant l'étiquetage dso-console/<img>:ci inchangé.
La file de merge se rétablit donc seule pendant que le cache est indisponible, et l'annotation rend chaque bascule visible dans les logs du job.
Le coût nominal est nul : en régime établi le cache répond et le comportement reste identique.

Cette PR introduit-elle un breaking change ?

Non.

Autres informations

Le correctif est un containment côté workflow ; le rétablissement du service registry-cache-ghcr (pod + stockage) reste à instruire par les owners plateforme githubrunners, voir le commentaire d'analyse sur #2694.

The playwright init step pulls application images from the internal
pull-through cache registry-cache-ghcr:5000. Since 2026-09-07 the cache
serves HTTP 500 on blob transfer, blocking the whole merge queue while
branch CI stays green and upstream ghcr.io serves the same tags
anonymously. Pull each image from the cache, and on failure emit a
warning annotation and pull directly from ghcr.io so the queue
self-heals while the platform owners restore the cache.

Refs #2694

Co-authored-by: Automata <automata@shikanime.studio>
Signed-off-by: William Phetsinorath <william.phetsinorath-open@interieur.gouv.fr>
Change-Id: I6035050c7d666c84b08ae7a16a1ef0486a6a6964
@shikanime shikanime added bug Something isn't working CI/CD CI/CD stuffs labels Sep 8, 2026
@shikanime shikanime self-assigned this Sep 8, 2026
@shikanime shikanime added this to the 9.25.1 milestone Sep 8, 2026
@github-actions github-actions Bot added the built label Sep 8, 2026
@cloud-pi-native-sonarqube

Copy link
Copy Markdown

@shikanime shikanime modified the milestones: 9.25.1, 9.25.2 Sep 8, 2026
@shikanime shikanime closed this Sep 8, 2026
@shikanime shikanime removed this from the 9.25.2 milestone Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working built CI/CD CI/CD stuffs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant