GitHub Copilot integration: testers and contributors wanted (tracking issue)

未关闭
#132 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github, go, node.js, python, typescript, vscode

调研方向

Read docs/agent-installation.md#github-copilot and then packages/diffci-cli/src/client/agent-setup.ts to see exactly what diffci init writes, and agent-stop.ts for the stop-hook behaviour. Pick one checklist item and run its scenario against a real repository, capturing the observed payload or vendor documentation. Done means a PR or report with verified behaviour, or a clear note that the vendor documents nothing. The broad tracking scope and design questions make this unsuitable as a first contribution.

由索引模型根据 Issue 内容生成。

描述

enhancement help wanted integration

DiffCI tells coding agents which tests and checks their change affects, so they verify before pushing. Since CLI 0.3.44, diffci init sets up GitHub Copilot: the diffci-verify skill (Copilot reads .claude/skills), the MCP server in the root .mcp.json for VS Code, and an agentStop hook in .github/hooks/diffci.json that sends the agent back when its change breaks tests. Setup: docs/agent-installation.md#github-copilot. None of this has been tried in a real Copilot session yet, and this area is open for contributors.

Steps (each is one PR or one report; take any):

  • #135 Copilot CLI: run diffci init, break a test, and confirm the agentStop hook blocks with the failure as the next prompt. Post the stdin payload you saw.
  • Copilot cloud agent: add the MCP JSON from the docs in repository settings and confirm the agent calls diffci_run_affected_tests before opening a PR.
  • VS Code agent mode: find out whether VS Code runs .github/hooks/*.json (GitHub's docs don't say), and whether the root .mcp.json loads without the experimental setting.
  • copilot-setup-steps.yml examples for common stacks (Node, Python, Go) so DiffCI can run the repository's tests in the cloud agent.
  • Use stop_hook_active from Copilot's payload alongside DiffCI's own attempt limit, if it helps.

Ground rules

  • When DiffCI cannot verify, the agent is told so and is never held: a failed setup must not look like a pass, and a pass must not be invented.
  • Verified behaviour only: link the vendor doc or show the payload you observed. If a vendor documents nothing, say so here rather than guessing.
  • Code lives in packages/diffci-cli/src/client/agent-setup.ts (what diffci init writes) and agent-stop.ts (the stop hook). Discuss design questions here, so every step stays consistent.

Area maintainer. Sustained work on this integration is how the Area maintainer tier is offered: named in the README and the docs, asked to review PRs that touch it, and co-author of the write-up when it ships.

Use Copilot and want to help, or have a repository we could test against? Say so below.

主要语言
TypeScript
星标
0
派生
4
平均合并
18 小时 41 分钟
30 天内合并 PR
48

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DiffCI/core 的其他 Issue

查看 DiffCI/core 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。