Skip to content

Add GitHub Ticket port for list, Claim, Done, and Abort#17

Merged
maxBRT merged 1 commit into
mainfrom
wrap/gitops-run-branch
Jul 18, 2026
Merged

Add GitHub Ticket port for list, Claim, Done, and Abort#17
maxBRT merged 1 commit into
mainfrom
wrap/gitops-run-branch

Conversation

@maxBRT

@maxBRT maxBRT commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a fakeable ticket.Port (ListReady / Claim / Done / Abort) so the Run loop can drive GitHub-backed Tickets without owning tracker details
  • Implements ticket.GitHub via an injectable gh Exec seam: GraphQL list with Priority-then-oldest ordering and optional feature-label filter; Claim/Abort flip ready-for-agentin-progress; Done closes the issue
  • Covers ordering, feature filter, and state transitions with recorded gh responses at that seam (closes GitHub Ticket port: list, Claim, and Done #7)

Test plan

  • go test ./...
  • Confirm ListReady orders High before Low, then oldest within a priority, with unset last
  • Confirm --feature / feature arg keeps only matching Ready for Agent Tickets
  • Confirm Claim/Abort label edits and Done issue close against a real repo when smoke-testing with live gh

Made with Cursor

Gives the Run orchestrator a fakeable Port backed by gh, with priority-then-oldest ordering and feature-label filtering tested at the gh Exec seam.

Co-authored-by: Cursor <cursoragent@cursor.com>
@maxBRT
maxBRT merged commit 254733b into main Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Ticket port: list, Claim, and Done

1 participant