MetaMask / MetaMask/create-release-branch

Gracefully handle failure to fetch tags

Open
#184 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
9
Forks
7
Avg merge
51m
Merged PRs (30d)
2

Description

This tool will automatically run `git fetch --tags` before starting. Sometimes, however, this step can fail, particularly in the case where a tag was force-pushed. This prevents the developer from being able to create a release.

This tool should detect when fetching tags fails and suggest that the user run `git fetch --tags --force` manually to resolve it (or perhaps offer the option to run it automatically).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the release-startup path that runs `git fetch --tags`, and inspect how fetch failures are currently reported. Reproduce a failed tag fetch, then make the failure actionable by suggesting `git fetch --tags --force` or an automatic retry; verify that successful fetches and failure handling both behave as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.