I use devise and rack in my Rails 7.1 application, together with rack-mini-profiler.
When I upgraded to rack 3, signing in and signing out did not work anymore. (possibly due to CSRF issues).
When I removed rack-mini-profiler from my app, everything worked as expected.
Partially related: https://www.reddit.com/r/rails/comments/179etec/comment/l6tzm7q/