Skip to content

feat(github): improve collaboration API parity - #265

Open
SamyPesse wants to merge 18 commits into
vercel-labs:mainfrom
SamyPesse:codex/github-collaboration-api-parity
Open

SamyPesse wants to merge 18 commits into
vercel-labs:mainfrom
SamyPesse:codex/github-collaboration-api-parity

Conversation

@SamyPesse

@SamyPesse SamyPesse commented Sep 21, 2026 •

Copy link
Copy Markdown

Expand the GitHub emulator's repository and collaboration APIs.

Features

  • Create repositories with GitHub App tokens and discover accessible installations and repositories.
  • Add issue, pull-request body, and comment reactions, including paginated GraphQL batches and opaque comment node lookups.
  • Support pending reviews and GraphQL review threads, resolution, and draft/ready transitions.
  • Expose GraphQL mergeCommit { oid } after merge, squash, or rebase, returning null before merging.
  • Add commit-status history and webhooks.
  • Manage user GPG keys with parsed public material, paginated listings, ownership checks, and deletion.
    OAuth GPG scopes, secondary verified emails, and GitHub commit verdicts remain outside this subset.

Fixes

  • Return real pull-request diffs and validate review-comment locations.
  • Preserve reply locations and keep draft reviews and comments private to their authors.
  • Correct review-request lifecycle behavior and PR webhooks for comments, pushes, and retargets.
  • Respect installation grants and permissions, and attribute installation writes to the App bot.

Validation: all 173 GitHub tests pass, including reaction pagination, REST identity parity, deleted-node partial responses, and merge-commit reads before and after merge, squash, and rebase. GitHub build, typecheck, lint (existing warnings only), and changed-source formatting pass.
The branch is rebased on upstream main at 8024425. Application integration journeys pass for merge
and squash commits and for discussion comments added after merging.

SSH signing-key endpoints have moved to the independent #347.

Application validation also covers reaction-only polling across multiple pull requests and issue/review comments (24 synchronization and review journeys pass). A local emulator check loaded 52 subjects, including 104 reactions on one subject, in three GraphQL requests.

@vercel

vercel Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

@SamyPesse is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@SamyPesse SamyPesse changed the title feat(github): support reactions and user installation discovery feat(github): improve collaboration API parity Sep 22, 2026
@vercel-internal-security-reviewer

Copy link
Copy Markdown

Security review details

@SamyPesse
SamyPesse force-pushed the codex/github-collaboration-api-parity branch from 2f63f21 to 98c9441 Compare October 6, 2026 12:20
@SamyPesse
SamyPesse force-pushed the codex/github-collaboration-api-parity branch 2 times, most recently from 4136e9d to a43293e Compare October 14, 2026 21:15
@SamyPesse
SamyPesse force-pushed the codex/github-collaboration-api-parity branch 2 times, most recently from 76a8c91 to ab824d1 Compare October 29, 2026 22:23
@socket-security

socket-security Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​openpgp@​6.3.2991001008870

View full report

@SamyPesse
SamyPesse force-pushed the codex/github-collaboration-api-parity branch from 7f4f5af to d26355a Compare November 14, 2026 14:01

This branch has not been deployed

No deployments
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