Skip to content

github: Add native stack opt-out - #1399

Merged
abhinav merged 1 commit into
mainfrom
github-stacks-config
Oct 24, 2026
Merged

abhinav merged 1 commit into
mainfrom
github-stacks-config

Conversation

@abhinav

@abhinav abhinav commented Aug 10, 2026

Copy link
Copy Markdown
Owner

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 make off report the optional forge operations
as 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.

@abhinav
abhinav force-pushed the github-stacks-config branch from d77f79b to 7d38e83 Compare August 12, 2026 02:43
@abhinav
abhinav force-pushed the github-stacks-config branch from 7d38e83 to e657c2a Compare August 12, 2026 03:06
@abhinav
abhinav force-pushed the github-stacks-config branch 2 times, most recently from 95468c5 to c5aad39 Compare August 12, 2026 04:29
@abhinav abhinav added the skip changelog PRs that don't need a changelog. label Aug 12, 2026
@abhinav
abhinav marked this pull request as ready for review August 12, 2026 04:29
@abhinav
abhinav marked this pull request as draft August 15, 2026 13:56
@abhinav
abhinav force-pushed the github-stacks-config branch from c5aad39 to bb92c58 Compare August 15, 2026 13:56
@abhinav
abhinav force-pushed the github-stacks-config branch from bb92c58 to bc42e2a Compare August 23, 2026 13:40
@abhinav
abhinav force-pushed the github-stacks-config branch from bc42e2a to fde0190 Compare August 24, 2026 04:08
@abhinav
abhinav force-pushed the github-stacks-config branch from fde0190 to 148a8c2 Compare August 24, 2026 12:41
@abhinav
abhinav force-pushed the github-stacks-config branch from 148a8c2 to 7500092 Compare October 13, 2026 13:42
@abhinav
abhinav marked this pull request as ready for review October 19, 2026 01:31
@abhinav
abhinav force-pushed the github-stacks-config branch 2 times, most recently from 6b333fa to 1a28e74 Compare October 19, 2026 01:39
Base automatically changed from github-merge-range to main October 19, 2026 01:45
@abhinav
abhinav force-pushed the github-stacks-config branch from 1a28e74 to e5cfce9 Compare October 19, 2026 01:45
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
abhinav force-pushed the github-stacks-config branch from e5cfce9 to d345fb7 Compare October 19, 2026 01:46
@abhinav
abhinav merged commit e3db5dc into main Oct 24, 2026
22 checks passed
@abhinav
abhinav deleted the github-stacks-config branch October 24, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog PRs that don't need a changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant