Fix query cache for feature specs in Rails 7.2

What does this MR do and why?

Adds a patch to fix a bug in Rails query cache handling in tests.

See https://github.com/rails/rails/issues/55689

References

How to set up and validate locally

This is one example of a spec that would fail because the query cache is not working:

BUNDLE_GEMFILE=Gemfile.next bundle exec rspec 'spec/features/issues/user_uses_quick_actions_spec.rb[1:2:4:1:6:1]'

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Heinrich Lee Yu

Merge request reports

Loading