MetaMask / MetaMask/auto-changelog

It is possible to add new headers for nonexistent releases

Open
#211 0 comments 0 reactions 0 assignees View on GitHub
bug team-wallet-framework wf-bugs
Dominant language
TypeScript
Stars
8
Forks
8
PR merge metrics
No merged PRs in 30d

Description

[This commit in `core`](https://github.com/MetaMask/core/commit/742e7d83ca4470cee04d3e5cede0f7eaf6744c34) added a header for an upcoming release even though that release had not been cut yet. This shouldn't be possible.

## Acceptance Criteria

- When running `auto-changelog validate` in a repo against a changelog which has a header for a release for which there is no matching tag, a validation error should be produced.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running `auto-changelog validate` against a changelog containing a release header without a matching tag, then trace the validation entry point and its existing tests. Done means validation reports an error for that header while preserving current behavior for headers with matching tags.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.