Upgrades Foundry - Best Practices to use

Hello,

Using foundry upgrades plugin. I would like to ask best practices to use this.

As now we require to forge clean build and test with --ffi, the tests pretty long compared to extra fast foundry testing previously

Is there a best practice to overcome this? Maybe setting an environment variable to not using proxy; but directly deploying the implementation when using regular tests?

Also now forge coverage is broken as well. How can I get a coverage check with upgrades plugin?

Thanks

As now we require to forge clean build and test with --ffi, the tests pretty long compared to extra fast foundry testing previously. Is there a best practice to overcome this?

These requirements are only needed to run upgrade safety checks. An alternative could be to use the unsafeSkipAllChecks option (see the note in https://docs.openzeppelin.com/upgrades-plugins/1.x/foundry-upgrades#before_running ) to skip checks in your frequently run test suites, and only enable checks for specific test suites which you run less frequently -- this separation of test suites could be achieved by using different Foundry profiles.

Also now forge coverage is broken as well.

Can you please open an issue on https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades with the details of your use case.