Automatic DNS: publish record types newly added to publishRecords #389

Merged
jcoffey-dev merged 1 commits from fix/dns-publish-records-trigger into main 2026-11-13 16:52:59 +00:00
1 Commits
Author SHA1 Message Date
StefanSa 226631ae62 Automatic DNS: publish record types newly added to publishRecords
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 9m47s
With DNS management already Automatic, adding a record type to
publishRecords was saved but queued no DNS task, so the new records
were never published (the workaround was Manual and back to Automatic).
An Automatic to Automatic save now queues one DNS task for the record
types that are newly enabled. Removing a type deletes nothing, and the
same set in another order queues nothing. New domains, Manual to
Automatic, and the DKIM paths behave as before.

Task planning moves into schedule_dns_tasks, with unit tests for each
transition.

Ported to main: keeps the #304 guard, so a domain with nothing to
publish and no certificate to order still queues no DNS task, with a
test for it.

Fixes #372
2026-11-13 09:42:33 -07:00