Add actionable commands to pull request comments
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github, typescript
- Bereich
- backend-api-design
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 125
- Forks
- 23
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 12
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus devarshishimpi/codra
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
devarshishimpi/codra#178 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
devarshishimpi/codra#176 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
devarshishimpi/codra#186 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
devarshishimpi/codra#185 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 58/100
devarshishimpi/codra#184 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in devarshishimpi/codra
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
hemilabs/ui-monorepo#2711 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
code-yeongyu/senpi#6929 ·
Maintainer antworten meist innerhalb von 1 Tag
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
lingdojo/kana-dojo#34261 · 1 Kommentar · 5 Reaktionen ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
embedpdf/embed-pdf-viewer#1116 ·
Maintainer antworten meist innerhalb von 1 Tag
-
current task
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Sunday-School-Software/Sunday-School-Scheduler#87 ·
Maintainer antworten meist innerhalb von 1 Tag