Closed (fixed)
Project:
Cloudflare Purger
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2026 at 12:04 UTC
Updated:
14 Jul 2026 at 01:30 UTC
Jump to comment: Most recent
Within the Penn State repository for this module, there are a number of kernel tests that should add near to full automated test coverage.
The intention here is to lift and shift as many as possible, but not quite all of them. Some of the tests are covering functionality that doesn't exist here (yet).
Note - in order to test invalidation chunking, the purger had to override the ideal conditions limit to allow > 100 invalidations per web request. I'm not sure what the best value for this would actually be.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
luke.leberComment #4
luke.leberComment #5
luke.leberComment #6
luke.leberAlright, this is a decent start. The test cases that were omitted were...
which really only make sense when there's a response header protection in place (another MR to come).
Comment #7
luke.leberComment #8
bkosborneLooks good to me. There's nothing testing the other invalidation methods like "everything" and "url" but I think that's fine for now (I also am unsure if we should even support the everything method).