Skip to content

fix(cli): use project node ID for GitHub status updates#12

Merged
pmarsceill merged 1 commit intomainfrom
fix/gh-project-sync-update-status
Jan 21, 2026
Merged

fix(cli): use project node ID for GitHub status updates#12
pmarsceill merged 1 commit intomainfrom
fix/gh-project-sync-update-status

Conversation

@pmarsceill
Copy link
Owner

Summary

  • Fixed map task sync gh-project failing to update item status on GitHub after task creation
  • The gh project item-edit command requires the GraphQL node ID (e.g., PVT_kwHOAA2t284BNI4p), not the project number
  • Added ID field to ghProject struct and updated updateItemStatus to use it

Test plan

  • All existing tests pass
  • Linter passes
  • Run map task sync gh-project "<project-name>" and verify items move to "In Progress" without errors

🤖 Generated with Claude Code

The gh project item-edit command requires the GraphQL node ID (e.g.,
PVT_kwHOAA2t284BNI4p) not the project number. This was causing status
updates to fail with "Could not resolve to a node" errors after task
creation succeeded.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@pmarsceill pmarsceill merged commit f51f211 into main Jan 21, 2026
5 checks passed
@pmarsceill pmarsceill deleted the fix/gh-project-sync-update-status branch January 21, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant