Repository navigation
Aviso de atualização espera a imagem Docker ser publicada - #134
Merged
Merged
Conversation
A release era criada no GitHub antes do workflow Docker terminar (~20 min). Nesse intervalo o openRSS já mostrava "nova versão", mas o botão Atualizar não fazia nada: o Watchtower ainda não achava imagem nova em latest. - updates.ts: só avisa quando a tag da versão existe no ghcr.io; enquanto a imagem está sendo construída, volta a checar em 15 min (não em 12 h). Instalações a partir do código não esperam a imagem. - docker.yml: a tag de versão também publica latest no mesmo push, e um build novo na main cancela o anterior, para um build atrasado de um commit antigo não sobrescrever latest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
A release é criada no GitHub antes do workflow Docker terminar a imagem multi-arquitetura (~20 min). Nesse intervalo o openRSS já mostrava o aviso de nova versão, mas o botão Atualizar não fazia nada: o Watchtower respondia
updated=0porquelatestainda era a versão anterior. Aconteceu na v0.1.6: release às 22:07, imagem só às 22:29.App (
src/lib/updates.ts)0.1.6) já existe. A tag só aparece depois que todas as plataformas foram enviadas.OPENRSS_INSTALL_METHOD=sourcenão espera a imagem.Workflow Docker
latest, no mesmo push da tag0.1.6. Assim, quando o app vê a versão no registro, o Watchtower já acha a imagem nova emlatest.concurrencypor ref: um build novo na main cancela o anterior. Antes, três pushes seguidos na main rodavam juntos e o último a terminar ficava comlatest, mesmo sendo de um commit mais antigo. Tags de versão nunca são canceladas.Testes: casos para imagem publicada, imagem ainda em build, ghcr.io fora do ar e instalação
source. Lint, typecheck e a suíte inteira (196 testes) passam.🤖 Generated with Claude Code