Upgrade a framework across many services with agents
Brex runs Micronaut across more than 500 microservices. A first attempt to upgrade 50 of them from version 3 to 4 took three engineers a full quarter. A year later they built a pipeline of their own agents in Cursor that write, build and fix the code themselves. One engineer then migrated 180 services in one month, which they count as 32 times faster per person, but they also describe missteps along the way.
Done with CursorModerate
What was done
Brex runs Micronaut across more than 500 microservices. A first attempt to upgrade 50 of them from version 3 to 4 took three engineers a full quarter. A year later they built a pipeline of their own agents in Cursor that write, build and fix the code themselves. One engineer then migrated 180 services in one month, which they count as 32 times faster per person, but they also describe missteps along the way.
How to do it
- Paste the prompt into the tool, and replace the text in brackets with your own.
- Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
- Check the original before you trust a figure, a name or a date.
Try it with Cursor
Upgrade [service] from [framework and version] to [new version]. Follow the migration guide in [file], build, run the tests and fix errors until everything passes. Add new error patterns to the guide. Show me the changes that need judgement, such as handling newly nullable values, before you open a pull request. You are done when the service builds, the tests pass and it runs in [test environment] with no new errors in the log.
Replace text in brackets with your own.
Brex ·