Skip to content

93: fix: host-aware GitHub token resolution#95

Merged
erishforG merged 4 commits intodevelopfrom
feature/93
Apr 16, 2026
Merged

93: fix: host-aware GitHub token resolution#95
erishforG merged 4 commits intodevelopfrom
feature/93

Conversation

@erishforG
Copy link
Copy Markdown
Owner

fix: host-aware GitHub token resolution

Shipped via parsec ship 93

erishforG and others added 4 commits April 16, 2026 17:26
Resolve GitHub tokens per-host so parsec works with both github.com and
GHE instances simultaneously. Token priority: config per-host → env vars.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When retrying parsec ship after a partial failure (push OK, PR failed),
amended commits cause non-fast-forward errors. Using --force-with-lease
safely handles this while preventing accidental overwrites.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Before creating a new PR, check if one already exists for the branch.
This prevents 422 errors when retrying parsec ship.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erishforG erishforG merged commit 3ed552e into develop Apr 16, 2026
8 checks passed
@erishforG erishforG deleted the feature/93 branch April 16, 2026 12:37
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