Copilot CLI: confirm the agentStop hook sends the agent back on a broken test
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 72/100
- Type d'issue
- Documentation
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- github, node.js, typescript
- Domaine
- developer-experience, testing-qa
Piste de recherche
Lis d'abord docs/agent-installation.md#github-copilot, puis exécute npx "@diffci.com/diffci@latest" init dans un dépôt jetable avec une suite de tests et inspecte le .github/hooks/diffci.json généré pour voir comment le gestionnaire agentStop appelle diffci agent-stop --agent copilot. Exécute chaque scénario dans Copilot CLI et, si tu peux, enveloppe la commande du hook pour capturer sa charge utile stdin. Terminé signifie un rapport publié couvrant la version de Copilot CLI, l'OS, les résultats des étapes 3 et 4, la charge utile stdin expurgée et tout écart par rapport à la doc.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Part of #132. Nobody has run DiffCI's GitHub Copilot setup in a real session yet. This is the first check, and the one that matters most: does Copilot CLI's agentStop hook send the agent back when its change breaks a test?
You need: Copilot CLI signed in to an account with Copilot, Node.js, and any small repository with a test suite (JS/TS, Python or Go).
Steps
- In the repository, run
npx "@diffci.com/diffci@latest" initand commit nothing yet. Check that.github/hooks/diffci.jsonexists with anagentStophandler. - Start Copilot CLI in the repository and ask it to make a change that breaks an existing test (for example, change a function's return value without updating its test).
- When the agent ends its turn, the hook runs
diffci agent-stop --agent copilot. Expected: the agent gets another turn, with DiffCI's failing tests as the reason, and fixes them. After 3 failed attempts in a session, it should hand back to you. - Repeat with a change that keeps the tests passing. Expected: the agent stops normally, with no extra turn.
Please post
- Copilot CLI version, OS, and the language of the repository.
- What happened in steps 3 and 4: did the agent continue, what reason did it see, and did it stop when it should?
- The stdin payload the hook received, if you can capture it (for example by wrapping the command in the hook file to write stdin to a file). Remove anything private first.
- Anything that didn't match
docs/agent-installation.md#github-copilot.
A report is a contribution: it is credited like a PR, and sustained work on the Copilot integration is how the Area maintainer tier is offered (CONTRIBUTING.md).
- Langage dominant
- TypeScript
- Étoiles
- 0
- Forks
- 4
- Merge moyen
- 18 h 41 min
- PR mergées (30 j)
- 48
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de DiffCI/core
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Planner: splitParts regex is quadratic on a quote followed by many backticks, so the fuzz test fails at randomPeut-être pris @FredApps l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Les mainteneurs répondent en général sous 1 jour
-
Agent tools: changed_files lists only the new path of a renamed filePeut-être pris @FredApps l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
DiffCI/core#243 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
adapter good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de DiffCI/core
Issues similaires
-
agent-ready area: ui-server priority: p3 type: test
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
schlessera/brain-kit#4249 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation tool triaged
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
can1357/oh-my-pi#19608 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
dependencies tech-debt
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
bcgov/nr-waste-plus#1549 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
blixvip/solana-token-meta#17 ·
-
enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
blixvip/solana-tx-parse#18 ·