Repository navigation
docs: o /healthz respondia uma coisa e a wiki anunciava outra - #4
Merged
Merged
Conversation
A pagina do painel e a de diagnostico documentavam OMNIROUTE_SERVICE_UNREACHABLE; o servidor responde GATEWAY_SERVICE_UNREACHABLE. Nada quebra por causa disso: o painel funciona, o healthcheck funciona, os testes passavam. Quem perde e quem monta um alerta sobre a string documentada -- ele nunca dispara, e o silencio parece saude. Corrigida a documentacao para o valor real, e nao o contrario: mudar o codigo quebraria quem ja monitora a resposta que ele de fato devolve. Novo teste: cada resposta que o /healthz produz tem de aparecer na documentacao, e nenhuma pagina pode citar resposta que o codigo nunca devolve. Verificado que ele pega a regressao -- reintroduzir a string antiga numa copia falha o teste, com arquivo e linha.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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 página do painel e a de diagnóstico documentavam
OMNIROUTE_SERVICE_UNREACHABLE. O servidor respondeGATEWAY_SERVICE_UNREACHABLE.Nada quebra por causa disso: o painel funciona, o healthcheck funciona, os testes passavam. Quem perde é quem monta um alerta sobre a string documentada — ele nunca dispara, e o silêncio parece saúde.
Corrigi a documentação para o valor real, e não o contrário: mudar o código quebraria quem já monitora a resposta que ele de fato devolve.
Novo teste
Cada resposta que o
/healthzproduz tem de aparecer na documentação, e nenhuma página pode citar resposta que o código nunca devolve. As duas direções, porque cada uma falha de um jeito diferente.Verificado que pega a regressão: reintroduzir a string antiga numa cópia descartável falha o teste, apontando arquivo e linha.
https://claude.ai/code/session_01Dw2Zc66wvY8QBZJmPBeMsT