github: Add native stack opt-out - #1399
Draft
abhinav wants to merge 1 commit into
Draft
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-stacks-config
branch
from
August 12, 2026 02:43
d77f79b to
7d38e83
Compare
abhinav
force-pushed
the
github-stacks-config
branch
from
August 12, 2026 03:06
7d38e83 to
e657c2a
Compare
abhinav
force-pushed
the
github-stacks-config
branch
2 times, most recently
from
August 12, 2026 04:29
95468c5 to
c5aad39
Compare
abhinav
marked this pull request as ready for review
August 12, 2026 04:29
abhinav
marked this pull request as draft
August 15, 2026 13:56
abhinav
force-pushed
the
github-stacks-config
branch
from
August 15, 2026 13:56
c5aad39 to
bb92c58
Compare
This was referenced Aug 15, 2026
abhinav
force-pushed
the
github-stacks-config
branch
from
August 23, 2026 13:40
bb92c58 to
bc42e2a
Compare
abhinav
force-pushed
the
github-stacks-config
branch
from
August 24, 2026 04:08
bc42e2a to
fde0190
Compare
GitHub native stack APIs may be unavailable or undesirable for a repository. Add the configuration-only `spice.forge.github.stacks` mode, enabled by default, and snapshot its value when constructing the repository. When the mode is `off`, reject both stack update and merge-range planning with `ErrUnsupported` before inspecting provider state. Submit can then apply ordinary base edits, while merge can retain its per-change fallback. No command-line flag or environment variable is advertised for this policy.
abhinav
force-pushed
the
github-stacks-config
branch
from
August 24, 2026 12:41
fde0190 to
148a8c2
Compare
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 native stack APIs may be unavailable or undesirable for a
repository. Add the configuration-only
spice.forge.github.stacksmode,enabled by default, and make
offreport the optional forge operationsas unsupported before any gateway access.
Submit can then skip stack updates, while merge uses its existing ordinary
pull request fallback. No command-line flag or environment variable is
advertised for this policy.