Skip to content

Conversation

@patsatsia
Copy link
Contributor

@patsatsia patsatsia commented Dec 11, 2025

AB#289999

Implement new methods for CacheManager class that identifies entries by patern and deletes them all on post save signal of FlexField class (for specific FieldSet)

@domdinicola
Copy link
Collaborator

@patsatsia I think is better to invalidate the related cache when this change, not remove the cache completely @saxix

@patsatsia
Copy link
Contributor Author

@patsatsia I think is better to invalidate the related cache when this change, not remove the cache completely @saxix

I agree @domdinicola I just pushed this working solution, it seems a bit tricky to invalidate the cache, but working on it currently

@patsatsia patsatsia force-pushed the bugfix/fieldset-fields-not-updated-after-change branch from c3d86d9 to b657560 Compare December 12, 2025 05:41
@patsatsia patsatsia changed the title Alter "process_request" method of "FetchFromCacheMiddleware" Invalidate flex fields cache on change Dec 12, 2025
@patsatsia patsatsia marked this pull request as ready for review December 12, 2025 09:22
@domdinicola
Copy link
Collaborator

@patsatsia tests are failing

@patsatsia patsatsia force-pushed the bugfix/fieldset-fields-not-updated-after-change branch from b657560 to 9f4a10f Compare December 15, 2025 12:35
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.33%. Comparing base (de6c5b8) to head (95f6bf5).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #285      +/-   ##
===========================================
- Coverage    96.33%   96.33%   -0.01%     
===========================================
  Files          214      214              
  Lines         7857     7877      +20     
  Branches       790      793       +3     
===========================================
+ Hits          7569     7588      +19     
- Misses         159      160       +1     
  Partials       129      129              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@domdinicola domdinicola requested a review from saxix December 30, 2025 08:58
@patsatsia patsatsia force-pushed the bugfix/fieldset-fields-not-updated-after-change branch from 54b8328 to 4704221 Compare January 12, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants