Skip to content

feat(watch): skip issues with open PRs; optional project filter - #33

Merged
xeaser merged 2 commits into
mainfrom
feat/ralph-skip-open-pr
Aug 30, 2026
Merged

feat(watch): skip issues with open PRs; optional project filter#33
xeaser merged 2 commits into
mainfrom
feat/ralph-skip-open-pr

Conversation

@xeaser

@xeaser xeaser commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • watch --execute no longer runs a labeled issue that already has an open linked PR (closingIssuesReferences, or body closes / fixes / mentions #N). Drafts count; a bare #N does not.
  • Skip is recorded on ralph-status.json as Health.Skipped (reason open-pr). LastSummary includes skipped=N.
  • --force and --retry-label (default ralph-retry) re-enable a skipped issue.
  • Optional --project N (GitHub Project v2) and --column (Status). --column without --project is exit 2. Without --project, --label behavior is unchanged.
  • Helpers live in internal/githubissues. Tests use fakes only (no live GitHub).

Beads: squad-amq (canonical spec). Children squad-amq.1, squad-amq.2.

Test plan

  • go test ./internal/watch ./internal/githubissues ./internal/cli and go test ./...
  • task ci locally except race (Dev-Cpp MinGW race link is a known local false fail)
  • go test -race -count=1 ./... with WinLibs gcc
  • gofmt / vet / lint / vuln / build / actionlint
  • GitHub Actions on this PR

@xeaser
xeaser merged commit 3637142 into main Aug 30, 2026
10 checks passed
@xeaser
xeaser deleted the feat/ralph-skip-open-pr branch August 30, 2026 09:02
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.

1 participant