6 Commits

Author SHA1 Message Date
Sameen Karim 5bb31d68d0 updated feedback url 2026-04-10 02:03:20 -04:00
Sameen Karim d1acbf0092 remote stack checkout 2026-04-09 21:47:55 -04:00
Sameen Karim dcb5885053 Skip pushing branches with queued PRs
Detect merge queue status via the GitHub GraphQL API's mergeQueueEntry
field and temporarily skip queued branches in push, sync, and submit
commands. Unlike merged state (which is persisted permanently), queued
state is transient — held in-memory only via a json:"-" tagged field
on BranchRef. Each command run re-checks queue status from the API, so
if a PR is ejected from the queue it becomes active again on next run.

Changes:
- Add MergeQueueEntry to PullRequest GraphQL struct and PRDetails
- Add IsQueued()/IsSkipped()/QueuedBranches() to stack model
- Update ActiveBranches() family to exclude queued branches
- Skip queued branches in push, sync (rebase + push), and submit
- Add queued icon, style, and QUEUED state label in TUI view
- Add comprehensive tests for queued state handling

Closes github/pull-requests#24019

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 08:24:36 -04:00
Sameen Karim cb7f9fa895 update pr base if not already part of a stack 2026-04-03 11:33:14 -04:00
Sameen Karim bd76d31ef3 early exit if all branches merged 2026-04-03 09:43:47 -04:00
Sameen Karim d4967d8d04 submit command 2026-04-03 04:02:59 -04:00