8 Commits

Author SHA1 Message Date
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 0c088446ed clean up go.mod 2026-03-24 17:57:45 -04:00
Sameen Karim 487f148ff2 Fix workflow permissions warning 2026-03-12 20:20:54 -04:00
Sameen Karim b7c15c1da6 interactive terminal ui for view 2026-03-12 01:26:51 -04:00
Sameen Karim 2536e9a5d4 view stack 2026-02-17 19:35:26 -05:00
Sameen Karim 8ade8bc521 stack init and add 2026-02-17 12:09:24 -05:00
Sameen Karim de5a93709c basic terminal setup 2026-02-13 07:57:36 -05:00
Sameen Karim c6da4fcc1a init gh cli extension 2026-02-05 00:29:25 -05:00