Conversation
Signed-off-by: dan437 <80175477+dan437@users.noreply.github.com>
|
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsAll 4 changed files are GitHub Actions/Workflows configuration files located in the
These changes are purely CI/CD automation infrastructure for integrating Cursor AI into the development workflow. They:
Since these changes have zero impact on the MetaMask Mobile application or its E2E test infrastructure, no E2E tests need to be run. |
| 2. Key implementation decisions | ||
| 3. Any potential risks or considerations for reviewers | ||
|
|
||
| Do NOT create the pull request yourself - the workflow will handle that. |
There was a problem hiding this comment.
That uppercase NOT made me laugh, like it's not gonna obey your command 😄
|
NicolasMassart
left a comment
There was a problem hiding this comment.
Nice workflow.
Not critical but there's a lot of places where commands could fail silently and let the workflow continue just to fail later.
You could stop it early by adding error checks for gh issue view, cursor-agent execution, and git push as well as error handling for base64 encoding operations, branch creation or install Cursor CLI.
The current implem works, but if anything fails, it will not really be easy to debug



Description
When a ticket is assigned to metamaskbot (cursorbot in the future), it will open a PR.
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Introduces automated Cursor-driven issue implementation and consolidates Cursor setup as a reusable action.
/.github/actions/cursor-cli-setupto configure Cursor permissions (read-only/read-write), install CLI, and output base64-encodedissuedata/.github/workflows/cursorbot.ymltriggers onissues: assignedtometamaskbot; creates branch, runs implementation prompt viacursor-agent, commits/pushes changes, and opens a draft PR (or comments if no changes)/.github/workflows/cursor-issue-analysis.yml(v0.4.0): replaces inline setup with the new action and wires itsissue-contentoutput into analysis/.github/cursor/prompts/implement-issue.mddefining implementation guidelines and required outputScope/risk: adds automation with repo write permissions and scripted commits/PR creation; Cursor CLI permissions restrict sensitive file access.
Written by Cursor Bugbot for commit 43dadf4. This will update automatically on new commits. Configure here.