Skip to content

fix: merge/pr-status work with adopted branches#82

Merged
erishforG merged 1 commit intodevelopfrom
feature/81
Apr 16, 2026
Merged

fix: merge/pr-status work with adopted branches#82
erishforG merged 1 commit intodevelopfrom
feature/81

Conversation

@erishforG
Copy link
Copy Markdown
Owner

Summary

  • adopt() auto-detects existing PRs via GitHub API and records synthetic Ship oplog entry
  • pr_status() falls back to branch-based PR lookup for active workspaces when no Ship entries found
  • merge() improved error message mentioning branch name and token check

Closes #81

Test plan

  • parsec adopt TICKET --branch existing-branch with an open PR → prints "Detected existing PR #N"
  • parsec pr-status TICKET after adopt → shows PR status
  • parsec merge TICKET after adopt → merges the PR
  • Without GitHub token → clear error message about PARSEC_GITHUB_TOKEN

🤖 Generated with Claude Code

- adopt() auto-detects existing PRs and records synthetic oplog entry
- pr_status() falls back to branch-based PR lookup for active workspaces
- merge() improved error message mentioning token check

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erishforG erishforG merged commit 71b02c6 into develop Apr 16, 2026
8 checks passed
@erishforG erishforG deleted the feature/81 branch April 16, 2026 05:52
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