Skip to content

fix: regenerate finds a sample branch by its exact ref - #14

Merged
Vovanda merged 1 commit into
fullfrom
fix/exact-branch
Oct 5, 2026
Merged

Vovanda merged 1 commit into
fullfrom
fix/exact-branch

Conversation

@Vovanda

@Vovanda Vovanda commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

git ls-remote --heads origin full-alt matches refs by their tail, so feat/full-alt (the branch of #13, still on the remote after the merge) passed for full-alt: the job took the existing-branch path, git checkout full-alt failed, and the first generation of full-alt failed (run 37263609408). It now asks for refs/heads/<branch>.

Checked against this repository with a decoy branch tmp/decoy-check, since deleted: the bare name decoy-check is found, refs/heads/decoy-check is not, refs/heads/full-alt is. Running regenerate itself would regenerate every sample branch, so the step is checked on the command alone.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NczLWHuimhqeSmGQ2jjX8X

- regenerate.yml asks git ls-remote for refs/heads/<branch>: a bare name matched by its tail, so the branch
  of a pull request, feat/full-alt, passed for full-alt, the job checked out a branch that did not exist
  and the first generation of full-alt failed
- checked against the remote with a decoy tmp/decoy-check: the bare name finds decoy-check, the exact ref
  does not, and finds full-alt, which exists
@Vovanda
Vovanda merged commit ea4abc6 into full Oct 5, 2026
3 checks passed
@Vovanda
Vovanda deleted the fix/exact-branch branch October 5, 2026 04:54
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