Copilot CLI: confirm the agentStop hook sends the agent back on a broken test
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 72/100
- Tipo de issue
- Documentação
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- github, node.js, typescript
- Domínio
- developer-experience, testing-qa
Direção de pesquisa
Leia primeiro docs/agent-installation.md#github-copilot, depois execute npx "@diffci.com/diffci@latest" init em um repositório descartável com uma suíte de testes e inspecione o .github/hooks/diffci.json gerado para ver como o handler agentStop invoca diffci agent-stop --agent copilot. Execute cada cenário no Copilot CLI e, se puder, envolva o comando do hook para capturar seu payload de stdin. Pronto significa um relatório publicado cobrindo a versão do Copilot CLI, o OS, os resultados das etapas 3 e 4, o payload de stdin redigido e qualquer desvio da documentação.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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).
- Linguagem predominante
- TypeScript
- Estrelas
- 0
- Forks
- 4
- Merge médio
- 18h 41min
- PRs com merge (30d)
- 48
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Sem 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 DiffCI/core
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Planner: splitParts regex is quadratic on a quote followed by many backticks, so the fuzz test fails at randomTalvez já em andamento @FredApps assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia
-
Agent tools: changed_files lists only the new path of a renamed fileTalvez já em andamento @FredApps assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
DiffCI/core#243 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
adapter good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
Todas as issues de DiffCI/core
Issues semelhantes
-
agent-ready area: ui-server priority: p3 type: test
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
schlessera/brain-kit#4249 ·
Mantenedores costumam responder em até 1 dia
-
documentation tool triaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
can1357/oh-my-pi#19608 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
dependencies tech-debt
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
bcgov/nr-waste-plus#1549 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
blixvip/solana-token-meta#17 ·
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
blixvip/solana-tx-parse#18 ·