Feat: provide safety net for block updates by walking up the entry chain#2
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a “safety net” purge behavior intended to ensure cache tags for the root owning entry are purged when nested content changes don’t result in a parent save, by walking up an ownership chain.
Changes:
- Walk up an element ownership chain and enqueue purge tags for the root owner’s section and element ID.
- Add a max-depth guard to prevent infinite traversal.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
@nondescriptpointer ik heb copilot de review laten doen. Kan je de uitkomst verwerken? |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
Tested on staging. Purging still works and works on the scenario's written on the ticket. I will merge this. |
b605537
into
noprotocol:release/craft5-with-akamai-driver-support
Walk up the entry ownership chain to always purge the root entry.
Handles following cases: