Skip to content

DP-46939: Clean up / modernize mass_caching - #3372

Draft
tfleming-ma wants to merge 15 commits into
developfrom
feature/DP-46939_cleanup-mass-caching
Draft

DP-46939: Clean up / modernize mass_caching#3372
tfleming-ma wants to merge 15 commits into
developfrom
feature/DP-46939_cleanup-mass-caching

Conversation

@tfleming-ma

@tfleming-ma tfleming-ma commented May 14, 2026

Copy link
Copy Markdown
Collaborator

Description:
Follow-up to #3366

Changes

  • Moved all hook implementations to classes in src/Hook to take advantage of new Hook system
  • Added unit tests for new Hook implementations
  • Set mass_caching.skip_procedural_hook_scan to true in mass_caching.services.yml. See https://www.drupal.org/node/3490771
  • Created new drush command for DeployCommands to run instead of the drush command that evaluated the ManualPurger service directly
  • Updated how the ManualPurger service is defined
  • Fixed deprecated method calls and removed workarounds for fixed bugs (PathAliasPurgeHooks, PurgerHooks)
  • Removed Cloudflare purger and maintenance mode check, which was only used by the Cloudflare purger

Jira: (Skip unless you are MA staff)
DP-46939

To Test:

  • Check ExistingSite and Unit tests
  • Run new manual purger command, preferably close to how used in DeployCommands
  • On feature environment, test saving pages and check purge queue

Peer Review Checklist

@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 14, 2026 21:29 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 14, 2026 21:36 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 15, 2026 15:15 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 15, 2026 15:17 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 19, 2026 04:55 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 19, 2026 14:02 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 19, 2026 17:34 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 19, 2026 20:44 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 20, 2026 13:16 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 20, 2026 15:49 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 20, 2026 18:12 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat May 26, 2026 04:55 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat June 2, 2026 04:55 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat June 9, 2026 04:53 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat June 16, 2026 04:54 Destroyed
@arthurbaghdas
arthurbaghdas temporarily deployed to Tugboat June 23, 2026 04:53 Destroyed
@joeg8612
joeg8612 temporarily deployed to Tugboat June 30, 2026 04:57 Destroyed
@joeg8612
joeg8612 temporarily deployed to Tugboat July 7, 2026 04:55 Destroyed
@joeg8612
joeg8612 temporarily deployed to Tugboat July 14, 2026 04:55 Destroyed
@joeg8612
joeg8612 temporarily deployed to Tugboat July 21, 2026 04:53 Destroyed
@joeg8612
joeg8612 temporarily deployed to Tugboat July 21, 2026 17:11 Destroyed
@joeg8612
joeg8612 temporarily deployed to Tugboat July 28, 2026 04:52 Destroyed
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.

3 participants