github: Add native stack gateway operations - #1396
Merged
Merged
Conversation
Owner
Author
|
This change is part of the following stack:
Change managed by git-spice. |
This was referenced Aug 10, 2026
abhinav
force-pushed
the
github-native-stack-gateway
branch
2 times, most recently
from
August 12, 2026 03:06
6b58d43 to
a284736
Compare
abhinav
marked this pull request as ready for review
August 12, 2026 03:10
abhinav
force-pushed
the
github-native-stack-gateway
branch
from
August 12, 2026 04:19
a284736 to
7ef5fce
Compare
abhinav
marked this pull request as draft
August 15, 2026 13:56
abhinav
force-pushed
the
github-native-stack-gateway
branch
from
August 15, 2026 13:56
7ef5fce to
99b0291
Compare
This was referenced Aug 15, 2026
abhinav
force-pushed
the
github-native-stack-gateway
branch
3 times, most recently
from
August 23, 2026 14:39
5242f46 to
54c3fd3
Compare
abhinav
marked this pull request as ready for review
August 23, 2026 14:47
GitHub exposes native stack and asynchronous merge operations through REST alongside the existing GraphQL reads. Keep both transports behind Gateway so forge callers use repository-domain operations and the wire representations remain private. Expose only the stack mutations and asynchronous merge state needed by the forge layer. Attach to an existing pending merge without changing its requested behavior. Stack reconciliation needs current bases, head repository identity, locked member state, and native stack membership. Load that projection in input order with batched GraphQL queries, resolve each distinct stack once, detect API availability, and provide explicit stack dissolution for structural updates.
abhinav
force-pushed
the
github-native-stack-gateway
branch
from
August 24, 2026 03:13
54c3fd3 to
dcd3bef
Compare
stack merge was automatically disabled
August 24, 2026 12:40
Pull Request is not mergeable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub's native stack and asynchronous merge APIs require REST
alongside the existing GraphQL operations. Keep both protocols behind
one Gateway so callers use repository-domain operations instead of
transport clients.
Expose only the stack mutations and asynchronous merge state needed by
the forge layer. Attach to existing pending merges by operation ID
without changing merge behavior.
Stack reconciliation needs only pull request state, head repository
identity, and native stack membership. Add a compact batch lookup that
preserves input order, leaves missing pull requests nil, and loads each
distinct native stack once instead of loading full pull request
metadata.