test: integrate AI test plan into RC build comments#28951
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8103503. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
None of these changes affect:
These are purely release pipeline automation changes. No E2E tests are needed to validate them. Performance Test Selection: |
|




Description
Integrates AI test plan generation directly into RC build comments
Changes
What it does
Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MCRM-69
Manual testing steps
Screenshots/Recordings
Before
#28355 (comment)
After
Should match Extension RC PR comment:
MetaMask/metamask-extension#41626 (comment)
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Changes the release CI workflow behavior and permissions (auto-triggering RC builds, generating content via external AI providers, and pushing to
gh-pages), which could affect release pipeline reliability and repository writes if misconfigured.Overview
RC builds are now fully automatic for release branches with an open PR. The
build-rc-auto.ymlworkflow no longer gates builds on anauto-rc-buildslabel; instead it finds the associated PR and proceeds when one exists.RC build announcements now optionally include an AI-generated test plan inline. The workflow replaces
scripts/post-rc-build-comment.mjswith a new TypeScriptscripts/build-announce/runner that posts the build links, generates/parsesrelease-test-plan.jsonviatests/tools/e2e-ai-analyzerwhen AI provider keys are present, formats results into collapsible markdown sections, and minimizes older RC announce comments.Test plan hosting is consolidated into the RC build workflow. The standalone
generate-rc-test-plan.ymlcomment-triggered workflow is removed, and the RC workflow now attempts (best-effort) to commit the generated JSON to thegh-pagesbranch undertest-plans/for later automation/links.Reviewed by Cursor Bugbot for commit 3f0ea37. Bugbot is set up for automated code reviews on this repo. Configure here.