Project V2: addProjectV2ItemById succeeds but items never persist — account-wide, affects both API and UI #188487
Replies: 7 comments 1 reply
|
Identical issue reported in #188486 by another user on the same day (March 2, 2026) — same symptoms with an org project and a PR instead of a personal project and issues. Appears to be a platform-wide regression in the project items indexing layer, not account-specific. |
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
Resolved — the bug self-resolved approximately 1.5 hours after first occurrence. All items (including ghost items from multiple add attempts) are now visible on the board with correct field values. No action taken on our end — it cleared on its own. Likely related to the PR incident that was active at the same time. |
|
Heads up that this one seems to be back. Hit exactly the same thing on my personal Project V2 today (April 20, 2026), roughly 7 weeks after your original report. Setup is a single-user personal project with one private repo linked, nothing exotic. All 7 built-in workflows enabled including "Auto-add to project". What triggered it, as far as I can tell: during a troubleshooting session I ran a bunch of GraphQL mutations on the same handful of issues in about a 30 minute window. Added an issue via addProjectV2ItemById, deleted it, re-added it, closed the issue, created a duplicate issue, added that one, closed it again, created a third one, and finally added it via the web UI sidebar. Standard stuff, nothing unusual about any individual step. Every single mutation returned success with a fresh item ID. But every single item created during that 30 minute window has stayed invisible in project.items(first: 100). Items created before the window show up fine. Items created after the window, about an hour later through the web UI, also show up fine. Just that specific batch is stuck. The odd part is that the data is clearly there. When I query it from the issue side, repository.issue(N).projectItems returns the item with isArchived false and the correct project id. But when I query the same project from the other direction, project.items(first: 100), totalCount does not increment and the item is missing from the node list. So it is not a pagination thing, it is not an archived thing, the row just never lands in the inverse index. Workarounds I tried that did not help:
One thing that did help, partially: opening the default Table view in the web UI and manually clicking "+ Add item" on the affected issue made it show up in that one view. But the API still does not see it from the project side, so any automation depending on project.items stays broken. My best guess is a stuck materialization for a specific batch of items rather than something breaking at mutation time. The write path works, it's the inverse index that is not catching those rows, and the usual eventual-consistency path is not kicking in. Happy to share API response JSON or screenshots if someone on the team wants to look. |
|
Fresh independent reproduction on 2026-09-23. This appears to be the same fingerprint, and in our case it affects ordinary issues, not PRs. Environment:
What we observed:
In the current reproducible state we have:
We added a read-only verifier that compares those two independent views. On the live project it returns exactly 19 findings, all Public reproduction/verification code and evidence:
Minimal comparison shape: # Project-centric view: missing the item(s)
user(login: "<owner>") {
projectV2(number: <N>) {
items(first: 100) { totalCount nodes { id } }
}
}
# Issue-centric reverse membership: item is present
repository(owner: "<owner>", name: "<repo>") {
issue(number: <issue>) {
projectItems(first: 20) {
nodes { id isArchived project { number } }
}
}
}The discrepancy persisted well beyond a single request/refresh cycle. We are treating the Project listing surface as degraded and not deleting/re-adding the items, since the item nodes and reverse memberships already prove they exist. Happy to provide a smaller sanitized snapshot if useful. |
|
Same fingerprint on 2026-09-23, org-owned Projects V2, ordinary issues (not PRs). Matches this thread and the TeaShaman-cyber comment from earlier today. Environment
What we tried (all “succeed”, none appear on the board)
Observed split (same as March / April / today)Issue #261 (created 2026-09-23T18:14:07Z, project set by the author):
Earlier ghosts on the same project (#255, #256, #259, #260) had the same shape. Deleting those issues and recreating did not increment What this is not
We are not deleting or re-adding further items. The write path and the issue-side reverse membership work; the project-centric index does not accept anything after #254. Happy to share GraphQL JSON if useful. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
Cannot add ANY new items to any Project V2 board on my account. The
addProjectV2ItemByIdGraphQL mutation returns success, but items never appear in the project's items list or the board UI. Existing items (added weeks ago) still work fine.This affects both the API and the web UI — items appear briefly in the UI then vanish on refresh.
Account Details
Evidence
1. Mutation succeeds but items list unchanged
2. Item node exists but is invisible to the project
3. Brand new project board also fails
Created a fresh project, added 29 issues via mutation — all returned success.
totalCount: 0. The problem is account-wide, not specific to one project.4. Issue timeline confirms add/vanish cycle
This cycle repeated 5+ times across API and UI attempts.
5. Web UI behavior
Clicking "+ Add item" → searching for issue → adding it → item appears briefly in the column → disappears on the next render/refresh.
What I've Ruled Out
projectscope, and the UI (no token) also failsImpact
Expected Behavior
Items added via
addProjectV2ItemByIdor the UI should appear inprojectV2.itemsand remain visible on the board.Environment
ghCLI v2.45.0 and web UIAll reactions