Repository navigation
fix(ci): conexão FCM nova e hold conferido antes do envio do push e2e (#103) - #106
Merged
Merged
Conversation
A conexão MCS do GMS com o FCM morre ociosa no emulador da CI sem o GMS perceber (Is client connected: true) até o heartbeat seguinte falhar; um envio nesse intervalo só chega depois do reset (51 s na execução 40361611807). O script religa a rede e exige uma conexão aberta depois disso, em até 120 s, antes de cada envio. É uma precondição medida: a espera da bandeja continua em 45 s e não há reenvio.
A renovação da conexão FCM consome tempo do hold de 240 s em que o flutter test mantém o app instalado. Nos modos --e2e-db e --negativos, um envio feito depois do fim do hold falharia como "não chegou". Agora o script falha antes do envio, com uma mensagem própria.
This was referenced Oct 26, 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.
Refs #103. Continua o #105, que entrou em
developsó com a instrumentação.Causa
Is client connected: trueaté o heartbeat seguinte (540 a 600 s) falhar.na_bandeja.Correção
garantir_conexao_fcm:exigir_hold:na_bandejacontinua com 45 s, e não há reenvio. É uma precondição medida.android-e2econtinua informativo.Testes
scripts/qa/ci_push_e2e_test.sh: 47/47, com 7 casos novos da android-e2e: notificação FCM não chega à bandeja do emulador na CI (3 falhas seguidas) #103 vistos falhar antes da implementação.