Add actionable commands to pull request comments
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- github, typescript
- Domínio
- backend-api-design
Direção de pesquisa
Start with the pull request comment handler that turns configured mentions into review jobs, then read the existing review category and repository settings code. Issues #155 and #156 split command parsing and finding responses into separate work; inspect those before choosing a slice. Done means supported commands and invalid-command replies work with configured mentions, existing full reviews still work, and tests, docs, typecheck, and lint cover the changed behavior across affected runtimes.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Goal
Let developers ask Codra to do different things from a pull request comment. Today, a new comment that contains the configured Codra mention starts the same full review, regardless of the rest of the comment.
What should change
Support a small set of clear commands after the configured mention:
@codra-app reviewstarts a full review.@codra-app review focus correctnessreviews one supported category. The user can choose any category Codra already supports.@codra-app explain <finding>explains a finding.@codra-app address <finding>suggests a way to fix a finding in a reply.
The examples use @codra-app, but commands must also work with the mention trigger configured for that repository. The address command suggests a change only. Codra must not edit files, push commits, or make changes to a branch.
Current behavior and context
Codra handles GitHub pull request comments and turns a matching mention into a review job. It does not currently interpret command words after the mention. Review categories and repository settings already exist, so reuse those instead of adding a new category or a separate security command.
Work breakdown
- #155 Parse review commands and support category focused reviews
- #156 Explain findings and suggest fixes from PR comments
Done when
- Supported commands are recognized after the repository's configured mention.
- Existing mention based full reviews continue to work.
- Invalid or incomplete commands receive a short, useful response.
- The commands and examples are documented.
- Tests cover command parsing and the resulting behavior.
Before closing
-
npm run typecheck,npm test, andnpm run lintall pass. - Any backend changes work in both Cloudflare Workers and Node/Docker.
- Tests cover the changed behavior in each affected runtime.
- Linguagem predominante
- TypeScript
- Estrelas
- 125
- Forks
- 23
- Merge médio
- 2d 13h
- PRs com merge (30d)
- 12
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de devarshishimpi/codra
-
bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
devarshishimpi/codra#178 ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
devarshishimpi/codra#176 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
devarshishimpi/codra#186 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
devarshishimpi/codra#185 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 58/100
devarshishimpi/codra#184 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de devarshishimpi/codra
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
hemilabs/ui-monorepo#2711 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
code-yeongyu/senpi#6929 ·
Mantenedores costumam responder em até 1 dia
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
lingdojo/kana-dojo#34261 · 1 comentário · 5 reações ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
embedpdf/embed-pdf-viewer#1116 ·
Mantenedores costumam responder em até 1 dia
-
Revise communication normsAbertacurrent task
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
Sunday-School-Software/Sunday-School-Scheduler#87 ·
Mantenedores costumam responder em até 1 dia