Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
fe007e2
feat(dns): adopt the zone's DNS records through a guarded plan and apply
devantler Nov 15, 2026
a53b0ea
fix(dns): recover on a fresh runner only after a successful apply
devantler Nov 15, 2026
df8da4b
feat(dns): hand www to the platform's external-dns without a gap
devantler Nov 15, 2026
b9b3b57
fix(dns): close the review's ownership, name and emergency-state gaps
devantler Nov 15, 2026
95a6c21
chore: merge the reviewed adoption fixes
devantler Nov 15, 2026
1446a87
fix(dns): bind the ownership marker name before testing it
devantler Nov 15, 2026
be72be6
chore: merge the jq 1.8 ownership fix
devantler Nov 15, 2026
afc1a56
fix(dns): log only a count of unmanaged records
devantler Nov 15, 2026
29645d9
chore: merge the unmanaged-count log change
devantler Nov 15, 2026
fc82a9b
fix(dns): refuse double adoption and markers that claim managed records
devantler Nov 15, 2026
726c2b2
chore: merge the local review fixes
devantler Nov 15, 2026
c888887
fix(dns): check ownership before updates, require upper-case types, h…
devantler Nov 15, 2026
f479de7
chore: merge the CodeRabbit fixes
devantler Nov 15, 2026
5c8fffa
fix(dns): markers may only claim live records this plan forgets
devantler Nov 15, 2026
8cb9491
chore: merge the second local review fixes
devantler Nov 15, 2026
cb71767
fix(dns): anchor record names and interrupt only OpenTofu on a slow a…
devantler Nov 15, 2026
bc5d722
chore: merge the third local review fixes
devantler Nov 15, 2026
4dd8624
chore: merge main after the adoption landed
devantler Nov 15, 2026
994877c
chore(recovery): retain the state after the DNS adoption apply
devantler Nov 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,26 @@ resource "cloudflare_dns_record" "apex" {
settings = { flatten_cname = false }
}

resource "cloudflare_dns_record" "www" {
# www moves to the platform: external-dns serves it from the business site's
# public route. This ownership record lets external-dns take over the existing
# CNAME and replace it with the gateway addresses in one batch, so www always
# resolves. The CNAME itself stays in Cloudflare; this repository only forgets it.
resource "cloudflare_dns_record" "www_external_dns_owner" {
zone_id = cloudflare_zone.primary.id
name = "www.devantler.tech"
type = "CNAME"
content = "devantler.github.io"
name = "_externaldns.cname-www.devantler.tech"
type = "TXT"
content = "\"heritage=external-dns,external-dns/owner=platform.devantler.tech,external-dns/resource=httproute/business-site/business-site-public\""
ttl = 1
proxied = true
comment = "GitHub Pages Personal"
settings = { flatten_cname = false }
proxied = false
settings = {}
}

removed {
from = cloudflare_dns_record.www

lifecycle {
destroy = false
}
}

resource "cloudflare_dns_record" "ksail_docs" {
Expand Down
Binary file modified recovery/backend-source/configuration.json.age
Binary file not shown.
14 changes: 7 additions & 7 deletions recovery/backend-source/manifest.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"schemaVersion": 1,
"kind": "cloudflare-state-recovery",
"capturedAt": "2026-11-02T21:21:43Z",
"sourceCommit": "1628f233a82f2200e9cd07581b5ee8c755bac062",
"sourceRun": 41525197170,
"capturedAt": "2026-11-15T03:59:45Z",
"sourceCommit": "457727e207af0d4acc448eff21937b9c9b7a2e9b",
"sourceRun": 43674749476,
"recipient": "age1rk6fs67kly3h4zux5za429z3grjtvs8vcunav4sa28pxk738najsk8wgs6",
"lineage": "d981e029-9986-63a7-2f54-379ce10ee6a4",
"serial": 3,
"serial": 4,
"accountIdSha256": "3080d90d2ff8a5d38ec8c5dae7b9207b928b353c68f4dd81e0a378cf932a5f95",
"zoneNameSha256": "1fc6c364e0d592421f88ba2d2cf6cf15691bbc711113d7907c159a638f35aeb0",
"stateCiphertextSha256": "a506974a068c67698d58ae273cd34e6e718cf6fddc7f3899cb70591053230e50",
"configurationCiphertextSha256": "cd9000b57fe7fcd3fc8035bf3c4ee0da23ddf0692bb1b2e8d731bb9a3380bd66",
"statePlaintextSha256": "029455c41771dbbdfa9c43807796df543fff5faedae690267053f582c43ea835",
"stateCiphertextSha256": "d0758c769aa6f20bea6ff1f88d23e3eed70e54d92026baa895a7e3d3281ce6d6",
"configurationCiphertextSha256": "803b3e4140e92b9d8eb8691e9cdee1bcb12e1f2b44c58e999a4273cea1c7bcaa",
"statePlaintextSha256": "c4bc70c78223477b27d842eb75d2e7a8f6a3d95e74deb16e9098f016eb2a70e4",
"configurationPlaintextSha256": "84c9b6ea504f82a9fd694e701287e30d54fe9b42ecf81dfccfbf2cba9873239a"
}
Binary file modified recovery/backend-source/state.json.age
Binary file not shown.
Loading