-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLOUDFLARE: adopt ZoneCache #3373
Conversation
@tlimoncelli How long does it take to run the integration tests for CLOUDFLARE on your end? It takes about 30min on my end, which I find quite slow. The HETZNER tests run in about a third of that, which is still slow. Do you usually run a subset of the tests during development? |
It takes about 14 minutes. Cloudflare is one of the slower providers. You can see the timings here: ![]() ![]() I would love it if they all took less than 5 minutes. Tom |
Yes, I use the I'm open to suggestions. Here are some ideas I've had:
I could use a volunteer to manage the relationships with the maintainers. First job would be to find them all (some emails now bounce), second job would be to get more providers into the automated testing, third would be to get the tests to run a lot faster. Tom |
Thanks for the insights. I can throw in another idea for improving the wall-time of the tests: Run independent tests concurrently:
Some As many drivers can batch together multipler create/update operations in a single API calls, this should cut the wall-time from reducing the waterfall of requests. The number of requests will also drop, easing the pressure on rate-limits. In the above example:
|
@das7pad I agree about grouping updates. I think all (most?) providers do that if its an option. Sadly the way the testcases work, we can run them concurrently unless we have a separate domain for each concurrent group. Not an impossible request, but it will require reworking the github action. |
Perhaps I should have compared the timings with main 🤦 #3394 brings them back to 11min. |
commit 901a3ac Author: Tom Limoncelli <[email protected]> Date: Tue Jan 21 14:43:33 2025 -0500 CHORE: Update dependencies (#3397) commit 70e9659 Author: Tom Limoncelli <[email protected]> Date: Tue Jan 21 14:29:53 2025 -0500 MSDNS: Provider is failing due to lint fix gone wrong (#3396) commit 5e15bbe Author: Jakob Ackermann <[email protected]> Date: Sat Jan 18 13:54:37 2025 +0000 BUG: fetch zones once in ZoneCache (#3394) commit a631c5b Author: Kai Schwarz <[email protected]> Date: Fri Jan 17 20:15:10 2025 +0100 CNR: Initial Performance improvement; golint review (#3391) commit e1c9785 Author: Tom Limoncelli <[email protected]> Date: Fri Jan 17 07:11:10 2025 -0500 CHORE: Update dependencies (#3385) commit 9e88b6a Author: Tom Limoncelli <[email protected]> Date: Thu Jan 16 21:47:10 2025 -0500 CICD: Make pager tests more visible (#3387) commit 67db0e2 Author: Tom Limoncelli <[email protected]> Date: Thu Jan 16 14:41:18 2025 -0500 GCLOUD: remove (irrelevant) slow test (#3384) commit c348e35 Author: Tom Limoncelli <[email protected]> Date: Thu Jan 16 14:32:32 2025 -0500 GCLOUD: CICD: Skip the pager1201 integration test (#3383) commit 5cfb907 Author: Tom Limoncelli <[email protected]> Date: Thu Jan 16 14:17:47 2025 -0500 TRANSIP: Pause when rate-limited (#3378) commit f666af8 Author: Tom Limoncelli <[email protected]> Date: Thu Jan 16 13:56:46 2025 -0500 GCLOUD: Re-try on 502 errors (#3376) commit 1a1a4bf Author: Tom Limoncelli <[email protected]> Date: Thu Jan 16 12:54:48 2025 -0500 INWX: Enable SRV to have "." target (#3380) commit 3556439 Author: Tom Limoncelli <[email protected]> Date: Thu Jan 16 10:58:11 2025 -0500 CLOUDFLAREAPI: No longer treat TTL=300 as special (#3368) Co-authored-by: Sukka <[email protected]> commit 89c65b6 Author: Tom Limoncelli <[email protected]> Date: Thu Jan 16 10:03:00 2025 -0500 INWX: Permit "." target for SRV records (#3377) commit fc2c506 Author: Tom Limoncelli <[email protected]> Date: Wed Jan 15 18:28:15 2025 -0500 CICD: Warn user if -provider does not match profiles.json:TYPE (#3375) commit 0d5b3c2 Author: Jakob Ackermann <[email protected]> Date: Wed Jan 15 22:43:24 2025 +0000 CLOUDFLARE: adopt ZoneCache (#3373) commit 2ef2362 Author: Jakob Ackermann <[email protected]> Date: Wed Jan 15 20:23:02 2025 +0000 HETZNER: adopt ZoneCache (#3372) commit ab00797 Author: Tom Hughes <[email protected]> Date: Wed Jan 15 02:07:19 2025 +0000 FEATURE: Extend PTR magic handling to support RFC4183 names (#3364) commit 5c9b170 Author: Jakob Ackermann <[email protected]> Date: Wed Jan 15 02:05:17 2025 +0000 FEAT: Add ZoneCache primitive (#3365)
This PR is adopting the new
ZoneCache
for the CLOUDFLARE driver.The integration tests are passing (CF_REDIRECT tests skipped). I've done some extra manual testing on the zone creation plus provisioning a zone in a single pass, see below.
(#3330 plus the zone cache changes as linked in #3337)
Manual testing
Preview, can create zone and preview new records
Push, can add record to existing zone and create and add records in one go