fix(coverage-floor): pass --head/--base to gh pr create after PAT push#57
Merged
Merged
Conversation
The previous PAT-based push sets the upstream tracking to the PAT-embedded URL (not `origin`), so `gh pr create` can't autodetect the head branch. Errored on wxa-graph install: > aborted: you must first push the current branch to a remote, > or use the --head flag Fix: pass --head $BRANCH and --base $GITHUB_REF_NAME explicitly. Caught on whois-api-llc/wxa-graph during the first end-to-end test of the PAT-based seed flow. Branch was pushed successfully; just the PR open step failed. Manually recovered (opened PR #88 with the already- pushed branch). Future installs use this fix. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Coverage Floor — mode:
|
|
No issues found. The explicit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
The PAT-based seed flow (#56) pushes the seed branch via PAT-embedded URL:
This sets upstream tracking to the PAT URL, not
origin.gh pr createcan't autodetect head from that and errors:Caught on whois-api-llc/wxa-graph during the first end-to-end test of the new seed flow. Branch was pushed (no error); only the gh pr create step failed.
Fix
Pass
--head $BRANCHand--base $GITHUB_REF_NAMEexplicitly.Manual recovery already done
PR opened manually on wxa-graph (#88, branch already-pushed). Future installs use this fix.
Auto-merge rationale
ci-workflows policy — manual click after Claude Review approves.
🤖 Generated with Claude Code