Re-pull release is refused as tag-missing: GitHub rejects commits/tags/<tag>

Open Beginner friendly
#2,101 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github, typescript
Domain
cli, release

Research direction

Start at the re-pull release step that reads a tag’s commit and trace how it constructs the GitHub API request; the issue does not name the source file or test. Compare the tag lookup path with the working API forms described here, then run the relevant re-pull tests against a response that matches GitHub’s 422 behavior. Done when a merged re-pull with an existing tag no longer reports tag-missing.

Written by the indexing model from the issue text.

Description

The release step of a re-pull reads the tag's commit at /commits/tags/<tag> with Accept: application/vnd.github.sha. The real GitHub API answers 422 (No commit found for SHA: tags/v2.0.0) to that spelling; /commits/refs/tags/<tag> and /commits/<tag> both answer the commit. So nemar admin repull resume refuses every merged re-pull with tag-missing, although the tag exists and points at the merge commit. Seen on on003645 (record 2) and on004362 (record 3) on 2026-11-08, both stuck at merged. The re-pull stand-ins accepted the short form, so the suites passed. Blocks enabling AUTO_REPULL_ENABLED and AUTO_REPULL_MERGE_ENABLED, because an automatic merge would mint a DOI and then fail to release.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
6h 52m
Merged PRs (30d)
224

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nemarOrg/nemar-cli

All issues in nemarOrg/nemar-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.