-
Notifications
You must be signed in to change notification settings - Fork 13
Comparing changes
Open a pull request
base repository: github/gh-stack
base: v0.0.2
head repository: github/gh-stack
compare: v0.0.3
- 13 commits
- 65 files changed
- 9 contributors
Commits on Apr 22, 2026
-
Bump astro in /docs in the npm_and_yarn group across 1 directory (#60)
Bumps the npm_and_yarn group with 1 update in the /docs directory: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro). Updates `astro` from 6.0.8 to 6.1.8 - [Release notes](https://github.com/withastro/astro/releases) - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md) - [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro) --- updated-dependencies: - dependency-name: astro dependency-version: 6.1.8 dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a853a21 - Browse repository at this point
Copy the full SHA a853a21View commit details
Commits on Apr 23, 2026
-
Guard GraphQL PR number conversion against int32 overflow (#56)
* Initial plan * fix: validate int range before GraphQL Int conversion Agent-Logs-Url: https://github.com/github/gh-stack/sessions/dbb2b50f-34fb-4957-ac08-e19c1f96ba41 Co-authored-by: skarim <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: skarim <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad21053 - Browse repository at this point
Copy the full SHA ad21053View commit details
Commits on May 4, 2026
-
docs: stack object in pull_request webhooks (#67)
* Initial plan * Add CI integration guide documenting stack object in pull_request webhook events Agent-Logs-Url: https://github.com/github/gh-stack/sessions/cf10db22-af0b-45c3-95d6-de9ef313d624 Co-authored-by: willsmythe <[email protected]> * clean up webhooks content * improve workflow code sample Co-authored-by: Copilot Autofix powered by AI <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: willsmythe <[email protected]> Co-authored-by: Sameen Karim <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad56830 - Browse repository at this point
Copy the full SHA ad56830View commit details
Commits on May 5, 2026
-
* git primitives for modify cmd * extract reusable TUI parts * modify cmd * recreate stack after modify * add checks to prevent other modifications while modify is applying * modify continue for resuming after resolving conflicts * fix bug with duplicate stack entries after modifying * reuse conflict resolution help msg from rebase * additional confirmation before overwriting stack on remote * fix recreate order of operations Co-authored-by: Copilot <[email protected]> * move base commit instead of cherry picking for fold up * check to ensure we aren't left with zero branches * unify and dedupe across view and modify tui * more detailed help instructions Co-authored-by: Copilot <[email protected]> * only recommend submit if stack exists on remote Co-authored-by: Copilot <[email protected]> * tests for modify tui, apply modifications, submit modifications * refactor submit for regular and pending modifications * rename recover to abort Co-authored-by: Copilot <[email protected]> * docs for modify cmd * tui styling updates * updated tui screenshot * addressing review comments * Fix 4 bugs from code review Bug 1: Move RevParseMap error check before using originalRefs. The error from git.RevParseMap() was deferred past iteration of originalRefs, which could panic on a nil map. Bug 2: Differentiate cherry-pick vs rebase conflicts in modify. Cherry-pick conflicts don't save state as 'conflict' phase, so --continue won't work. Now prints --abort-only instructions for cherry-pick conflicts. Bug 3: Unwind now cleans up branches created by renames. After restoring snapshot branches, Unwind deletes renamed branch names that don't belong to the original snapshot. Bug 4: Simplify push message in submit command. Changed from 'Pushing N branches to remote...' to 'Pushing to remote...' since individual branches may fail. Co-authored-by: Copilot <[email protected]> * Fix 7 nit issues from code review 11: Add named constants for phase strings (PhaseApplying, PhaseConflict, PhasePendingSubmit) in state.go; replace remaining raw literals in state.go CheckStateGuard. 14: Fix bottomLines comment mismatch — listed 3 items but value is 2. 15: Extract magic number 88 to MinWidthForArt constant in header.go. 16: Remove unused stackview import anchor in model.go — the import is used via types.go where BranchNode is embedded. 17: Simplify CheckStackLinearity parent resolution — ActiveBaseBranch already handles skipping merged branches. 18: Fix rename undo matching any rename — add NewName check so only the specific rename being undone is matched. 20: Add TestUndoRename and TestUndoRename_DoesNotAffectOtherRenames to validate rename undo behavior. Co-authored-by: Copilot <[email protected]> * Make cherry-pick conflicts recoverable via --continue Previously, cherry-pick conflicts during fold-down operations could only be resolved with --abort. Now they save full conflict state (phase, conflict type, fold branch/target, remaining branches) to the state file, enabling recovery via 'gh stack modify --continue'. Changes: - Add ConflictType field to StateFile (rebase or cherry_pick) - Add FoldBranch/FoldTarget fields for cherry-pick context - Add CherryPickContinue to git package (cherry-pick --continue) - Save cherry-pick conflict state in ApplyPlan with remaining branches - ContinueApply handles both rebase and cherry-pick conflicts - Unified conflict messaging in cmd/modify.go (both types show --continue) - Updated test to verify cherry-pick conflict state is saved correctly * Apply suggestions from code review Co-authored-by: Luke Ghenco <[email protected]> Co-authored-by: Sameen Karim <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Luke Ghenco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a268fc - Browse repository at this point
Copy the full SHA 7a268fcView commit details -
Bump postcss in /docs in the npm_and_yarn group across 1 directory (#73)
Bumps the npm_and_yarn group with 1 update in the /docs directory: [postcss](https://github.com/postcss/postcss). Updates `postcss` from 8.5.8 to 8.5.14 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.8...8.5.14) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.14 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for de00856 - Browse repository at this point
Copy the full SHA de00856View commit details
Commits on May 7, 2026
-
* update faq content * clarify auth requirement for cli * docs on rebase stack button behavior * update header level Co-authored-by: Copilot Autofix powered by AI <[email protected]> * clarify TUI acronym --------- Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3700f4e - Browse repository at this point
Copy the full SHA 3700f4eView commit details
Commits on May 11, 2026
-
simplify unstack to only target the active stack (#74)
* rm arg from unstack so it only targets active stack * fix typo Co-authored-by: Copilot Autofix powered by AI <[email protected]> --------- Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03fe8ea - Browse repository at this point
Copy the full SHA 03fe8eaView commit details -
run fetch before push operations (#75)
* run fetch before push operations * ignore if ref doesn't exist on remote * rm fetch from link * more durable fetch by trying all first and falling back to individual fetches * run fetch before sync
Configuration menu - View commit details
-
Copy full SHA for d1e9d14 - Browse repository at this point
Copy the full SHA d1e9d14View commit details -
open PRs as draft by default (#76)
* open prs as draft by default * apply suggested docs updates from code review Co-authored-by: Copilot Autofix powered by AI <[email protected]> --------- Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1333040 - Browse repository at this point
Copy the full SHA 1333040View commit details -
use PR template when opening PRs (#77)
* use pr template when opening prs * add a helper to clearly distinguish between filesystem errors and actual test failures
Configuration menu - View commit details
-
Copy full SHA for b71b10c - Browse repository at this point
Copy the full SHA b71b10cView commit details -
Remove unused GraphQL fields to reduce API rate limit consumption (#78)
Audit all 7 GraphQL operations and remove fields that are fetched but never used in Go code: - Remove FindAnyPRForBranch: entire function is dead code (zero call sites) - FindPRForBranch: remove title, state, headRefName, merged (4 fields) - CreatePR: remove title, state, headRefName, baseRefName, isDraft (5 fields) - FindPRDetailsForBranch: remove id, title, headRefName, baseRefName, comments { totalCount } (4 fields + 1 nested object) - FindPRByNumber: remove title (1 field) Also remove Title from PullRequest struct, and Title + CommentsCount from PRDetails struct since they are no longer populated or read. Total: ~15 unused fields removed across 5 queries, 1 dead query deleted, and 1 unnecessary nested object (comments) eliminated. Co-authored-by: Copilot <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 9d2c442 - Browse repository at this point
Copy the full SHA 9d2c442View commit details -
Optimize view/modify TUI load time with parallel fetching (#79)
- Deduplicate API calls: syncStackPRs now returns PRDetails for LoadBranchNodes to reuse, eliminating redundant FindPRDetailsForBranch calls - Parallelize API calls in syncStackPRs (capped at 6 concurrent requests) - Parallelize git operations in LoadBranchNodes (capped at 4 concurrent) - Show "Loading stack..." indicator for interactive sessions Co-authored-by: Copilot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8cddfd4 - Browse repository at this point
Copy the full SHA 8cddfd4View commit details -
improve agent friendliness of view --json (#80)
* return exit codes instead of interactive prompt for view json mode * increment skill file version
Configuration menu - View commit details
-
Copy full SHA for 8dbd7c6 - Browse repository at this point
Copy the full SHA 8dbd7c6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.0.2...v0.0.3