Make claude-review rounds on lanes App pull requests converge instead of finding new edge cases in each fix

Aberta
#20,962 5 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github-actions, shell
Domínio
devtools

Direção de pesquisa

Start by identifying the lanes App review workflow and its records for merged pull requests; the issue does not name files, tests, or entry points. Measure at least 20 merged pull requests and report rounds to merge, findings per round, and findings on lines changed by earlier fixes. Use that baseline to choose and implement the smallest supported change, then compare the next 20 pull requests and check post-merge reverts; keep security review blocking.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Context

On lanes App pull requests, each claude-review round on a new head posts new Important findings against the text the previous fix just wrote, so a pull request can need many fix-and-review rounds before its threads are all resolved, and required_review_thread_resolution holds the merge for every round. Measured on 2026-12-03 (unresolved claude-review threads per review round, each round on a new head):

PR Rounds Note
#20886 (code-tidying tidy, Phase H stash handling) 3 → 1 → 2 → 4 the latest round grew; its 4 findings are all on the stash/restore wording the previous rounds added
#20871 (discovery research reread rule) 6 → 2 → 4 → 2
#20867 (performance climb worktrees) 7 → 4 → 2 → 1 the round-4 thread was later resolved by a fixer; no review round has yet come back with zero findings

Each round costs a fix push, a full CI run, both review lanes and a pr-verify verdict, and on 2026-12-03 several rounds also waited an hour or more on GITHUB_TOKEN budget deferrals. #20886 was opened 08:53Z and was still open after 20:00Z.

Proposed work

  • Measure first: over the last N merged lanes App pull requests, count review rounds to merge and Important findings per round, and how many later-round findings sit on lines an earlier fix round wrote.
  • Then pick the smallest lever the data supports, for example: a later review round judges only lines changed since the last reviewed head plus their callers (not a fresh full pass); or findings on residual edge cases of a fix the previous round asked for go to the PR body's ## Follow-ups instead of a blocking thread; or a round cap after which remaining findings are filed as follow-ups.
  • Keep the security-review lane's blocking behavior unchanged.

Acceptance criteria

  • A measurement over at least 20 merged lanes App pull requests reports rounds-to-merge and per-round finding counts, committed to the issue as a table.
  • The chosen change lowers the median rounds-to-merge on the next 20 lanes App pull requests compared with that baseline, with no rise in post-merge reverts.

🤖 Generated with Claude Code

Linguagem predominante
Shell
Estrelas
22
Forks
2
Merge médio
3h 20min
PRs com merge (30d)
956

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de melodic-software/claude-code-plugins

Todas as issues de melodic-software/claude-code-plugins

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.