Automatic DNS: publish record types newly added to publishRecords (2026.x) #390

Merged
jcoffey-dev merged 2 commits from backport/dns-publish-records-trigger-2026 into release/2026 2026-11-13 16:51:28 +00:00
Owner

Backport of #372 to 2026.x. Patch by @StefanSa, applied exactly as attached to #372 (he made it against this branch). Main gets a port in its own PR.

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 switching the domain to Manual and back. An Automatic to Automatic save now queues one DNS task for the newly enabled record types. Removing a type deletes nothing, the same set in another order queues nothing, and new domains, Manual to Automatic and the DKIM paths behave as before.

A second commit adds the Coffey Labs modification notice to domain.rs, which notice-check now requires on this branch.

Checked on this branch:

  • cargo test -p jmap --lib registry::mapping::domain: 9 passed
  • cargo fmt --all --check, the four fork checks and changelog-check.py: clean
Backport of #372 to 2026.x. Patch by @StefanSa, applied exactly as attached to #372 (he made it against this branch). Main gets a port in its own PR. 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 switching the domain to Manual and back. An Automatic to Automatic save now queues one DNS task for the newly enabled record types. Removing a type deletes nothing, the same set in another order queues nothing, and new domains, Manual to Automatic and the DKIM paths behave as before. A second commit adds the Coffey Labs modification notice to `domain.rs`, which notice-check now requires on this branch. Checked on this branch: - `cargo test -p jmap --lib registry::mapping::domain`: 9 passed - `cargo fmt --all --check`, the four fork checks and `changelog-check.py`: clean
jcoffey-dev added 2 commits 2026-11-13 16:43:13 +00:00
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. Applied as attached to #372.
domain.rs: add the modification notice
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 8m6s
db569143e3
jcoffey-dev merged commit 0042e88431 into release/2026 2026-11-13 16:51:28 +00:00
jcoffey-dev deleted branch backport/dns-publish-records-trigger-2026 2026-11-13 16:51:28 +00:00
jcoffey-dev referenced this issue from a commit 2026-11-17 17:02:41 +00:00
Sign in to join this conversation.