Copilot coding agent breaks commit syncs
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
Read app/jobs/shipit/github_sync_job.rb around lines 55-61, then use the linked rubygems.org pull request and the shown gh api users/Copilot response to understand the failure. Determine how the sync handles an author lookup returning 404, and define completion as preventing this Copilot-authored merge from marking the Shipit Stack inaccessible, with regression coverage.
Written by the indexing model from the issue text.
Description
👋🏻 Hello from rubygems.org
We recently had our first PR generated from the new Copilot coding agent, which, when merged, caused our Shipit Stacks to immediately break and be marked as inaccessible from:
The GitHub API makes it seem like the GitHub Copilot user is a real author, but it seems as though the API to get the Copilot user will just return 404.
$ gh api repos/rubygems/rubygems.org/pulls/5929 | jq .user
{
"login": "Copilot",
"id": 198982749,
"node_id": "BOT_kgDOC9w8XQ",
"avatar_url": "https://avatars.githubusercontent.com/in/1143301?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Copilot",
"html_url": "https://github.com/apps/copilot-swe-agent",
"followers_url": "https://api.github.com/users/Copilot/followers",
"following_url": "https://api.github.com/users/Copilot/following{/other_user}",
"gists_url": "https://api.github.com/users/Copilot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Copilot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Copilot/subscriptions",
"organizations_url": "https://api.github.com/users/Copilot/orgs",
"repos_url": "https://api.github.com/users/Copilot/repos",
"events_url": "https://api.github.com/users/Copilot/events{/privacy}",
"received_events_url": "https://api.github.com/users/Copilot/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
}
❯ gh api users/Copilot
{
"message": "Not Found",
"documentation_url": "https://docs.github.com/rest",
"status": "404"
}
gh: Not Found (HTTP 404)
I'm not particularly sure what we could do to handle this particular scenario, and we've since disabled the Copilot agent on rubygems.org. I figured the best first step would be to get your reaction and see what happens from there.
- Dominant language
- Ruby
- Stars
- 1.5k
- Forks
- 158
- Avg merge
- 18h 55m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Shopify/shipit-engine
-
Difficulty 5/5 Over a week Newbie friendliness 48/100
Shopify/shipit-engine#1513 ·
-
Stack page links deploys/rollbacks to tasks#show, which 500s on @task.definition.id (nil for deploys)Possibly taken @efegokdemir claimed this 29 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 72/100
Shopify/shipit-engine#1488 · 1 comment · 2 reactions ·
-
Ship labelOpen
Difficulty 5/5 Over a week Newbie friendliness 10/100
Shopify/shipit-engine#1461 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Shopify/shipit-engine#1446 · 3 comments ·
-
Adding stack from unknown github org should failPossibly taken @efegokdemir claimed this 21 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
Shopify/shipit-engine#1437 ·
All issues in Shopify/shipit-engine
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TarteelAI/quranic-universal-library#1111 ·
Maintainers usually reply within 1 day
-
Generated cask uses deprecated `postflight` stanza; Homebrew 7 warns on every commandPossibly taken @k4kratik claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
sachincool/cruft#4 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
riscv/riscv-unified-db#2859 ·
Maintainers usually reply within 2 days
-
agent-driven deployment documentation future releases nice to have
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
changesets
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openstreetmap/openstreetmap-website#7629 · 1 comment ·
Maintainers usually reply within 1 day