Repository navigation
fix(pr-assistant): auto-fix aprende com tentativas anteriores e aproveita edição após timeout - #303
Merged
Merged
Conversation
…and keep timed-out edits Attempts 1-3 on shorts-generator#411 failed for three unrelated reasons that each retry repeated blind: a timeout that threw away a finished edit, a new CSS file the review rejected, and a rewrite of .env.example. Retries now receive the earlier rejection reasons, the prompt states the rules the validators enforce (coverage gates, no whole-file rewrites, no new files, stop early), and a timed-out edit goes through the full gate instead of being discarded. Timeouts are reported as such. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cn6JQLtmA8NV75CtdV373W
Contributor
✅ Revisão aprovada! 🎉🚀Resumo: Nenhum achado se sustentou. 1 alegação(ões) do modelo descartada(s): sem evidência no código ou refutada(s) na verificação. 🔎 AchadosSem pontos bloqueantes. 🎉 Veredito: Comentário consultivo — não bloqueia o merge. 🤖 Revisão automática via 🤖 Origem Automatizada
|
Contributor
|
🎉 Pull Request mesclado com sucesso! O merge deste PR foi realizado automaticamente após a validação de todas as políticas e checks de CI/CD. 🤖 Origem Automatizada
|
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.
Requested by Antonio · project thread
Por quê
As 3 tentativas de auto-fix no shorts-generator#411 falharam por motivos diferentes, e cada retry repetia o erro às cegas:
.env.example(-191/+8).O que muda
previousAttemptFailureslê os motivos das tentativas falhas nos comentários e os injeta no prompt da próxima..env*/lockfiles, cobertura = testes, sem arquivos novos, parar cedo.Verificação
bun test: 329 pass, 0 fail (1 teste novo)bun run typecheck: okGenerated by Claude Code