Repository navigation
fix: auto-changelog improvements to prepare for AI-powered release workflows in MetaMask clients - #127
Merged
Conversation
HowardBraham
force-pushed
the
changelog-ai
branch
from
October 22, 2026 19:48
d9bc4e4 to
8eea428
Compare
mcmire
reviewed
Oct 22, 2026
|
|
||
| ### Fixed | ||
|
|
||
| - Improvements to prepare for AI (#127) |
Contributor
There was a problem hiding this comment.
What do you think about using imperative tense and using a link for the PR to match the rest of the changelog?
Also, what are your thoughts on being more descriptive about what the improvements are? And how exactly are we preparing for AI, what does that mean?
Taking a guess, maybe something like this?
Suggested change
| - Improvements to prepare for AI (#127) | |
| - Improve populating changelogs from commits/PRs to prepare for AI-powered release workflows in MetaMask clients ([#127](https://github.com/MetaMask/release-tools/pull/127)) | |
| - Handle extracting the PR number from a Runway-generated cherry-pick commit subject even when the subject has been hard-wrapped | |
| - Don't skip a PR that has a non-empty `CHANGELOG entry:` line even when it also has a `no-changelog` label | |
| - Handle parsing the PR number from a malformed link |
| }); | ||
|
|
||
| it('keeps an authored entry when the PR has a no-changelog label', async () => { | ||
| nock.cleanAll(); |
Contributor
There was a problem hiding this comment.
We need to automatically set up Nock to clean all mocks after each test like in other repos so we don't have to do this kind of bookkeeping. Oh well...
| if (!github) { | ||
| await initOctoKit(); | ||
| } | ||
| await initOctoKit(); |
Contributor
There was a problem hiding this comment.
Would this mean each time getPrLabels is called, we make a new instance of Octokit? Is that desirable?
…ludes both an original PR and its own PR
- suite-level nock.cleanAll() calls - cached Octokit initialization
HowardBraham
enabled auto-merge
October 22, 2026 21:47
mcmire
approved these changes
Oct 22, 2026
JadeCong
pushed a commit
to CloudEngineHub/metamask-extension
that referenced
this pull request
Oct 29, 2026
…MetaMask#47463) ## **Description** This is the very last step in a chain of PRs to turn on fully-autonomous CHANGELOG generation in Extension. ## **Changelog** CHANGELOG entry: null ## **Related issues** ### Previous PRs in the chain #### release-tools/auto-changelog MetaMask/release-tools#127 MetaMask/release-tools#130 #### github-tools MetaMask/github-tools#300 MetaMask/github-tools#301 MetaMask/github-tools#303 <!--## **Manual testing steps** ## **Screenshots/Recordings** ## **Pre-merge author checklist** ## **Pre-merge reviewer checklist**--> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Workflow-only change that adds a CI secret env var and removes an action input; no runtime extension code or user-facing behavior changes. > > **Overview** > Turns on the **AI changelog proofreader** for release changelog automation by passing **`AI_ANALYZER_LITELLM_KEY`** into the `update-release-changelog` GitHub Action (same LiteLLM secret pattern as other AI workflows). > > Also **drops the explicit `previous-version-ref: 'null'`** input so previous-version resolution is handled by the updated action rather than being hard-coded in this repo. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c801241. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
darkwing
pushed a commit
to darkwing/metamask-mobile
that referenced
this pull request
Oct 29, 2026
…MetaMask#38444) ## **Description** This is the very last step in a chain of PRs to turn on fully-autonomous CHANGELOG generation in Mobile. ## **Changelog** CHANGELOG entry: null ## **Related issues** ### Previous PRs in the chain #### release-tools/auto-changelog MetaMask/release-tools#127 MetaMask/release-tools#130 #### github-tools MetaMask/github-tools#300 MetaMask/github-tools#301 MetaMask/github-tools#303 <!--## **Manual testing steps** ## **Screenshots/Recordings** ## **Pre-merge author checklist** ## **Pre-merge reviewer checklist**--> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Changes how release and OTA hotfix changelogs are produced in CI; misconfiguration could break changelog PRs or tags, though behavior is intended to match the removed script via github-tools v1. > > **Overview** > Mobile release changelog automation no longer runs the local **`run-update-release-changelog-mobile.sh`** wrapper or manual **github-tools** checkout, Node setup, and **`yarn`** steps. **`create-release-pr.yml`** (OTA hotfix path) and **`update-release-changelog.yml`** now call **`MetaMask/github-tools/.github/actions/update-release-changelog@v1`**, which owns branch checkout, version derivation from **`release/X.Y.Z`** / **`release/X.Y.Z-ota`**, and concurrent Runway updates on the release branch. > > This PR also threads **`AI_ANALYZER_LITELLM_KEY`** from **`auto-create-release-pr.yml`** into **`create-release-pr.yml`** as an optional reusable-workflow secret and passes it into both changelog action steps so the new AI changelog proofreader can run during autonomous **`CHANGELOG.md`** generation. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 1abeae5. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: howard <howard@example.com>
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.
Adds the following five improvements to auto-changelog, to prepare for AI-powered release workflows in MetaMask clients:
- bump: update a dependency cp-13.4\n4.0\n(#45299)CHANGELOG entry: f[ix: swap source amount becomes undefined](https://github.com/MetaMask/metamask-extension/pull/45469#top)CHANGELOG entry: null (reason)and similarCHANGELOG entry: null (dev tooling only)no-changeloglabelboth an original PR and its own PR
chore: cherry-pick revert a feature (#37564) (#37790)nowlinks to
#37790, rather than incorrectly linking to#37564