From 008af350533674c3c1a4aa88fcacfbf8670a12e4 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Tue, 3 Nov 2026 09:41:34 -0600 Subject: [PATCH] =?UTF-8?q?triage(7793):=20#1943=20still=20live=20?= =?UTF-8?q?=E2=80=94=20fix=20scoped,=20Porkbun=20+=20canonical-domain=20ch?= =?UTF-8?q?oice=20escalated=20to=20Drew?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- triage-1943-2026-11-03.md | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 triage-1943-2026-11-03.md diff --git a/triage-1943-2026-11-03.md b/triage-1943-2026-11-03.md new file mode 100644 index 0000000000..98c99fea09 --- /dev/null +++ b/triage-1943-2026-11-03.md @@ -0,0 +1,59 @@ +๐Ÿค– **Agent note** ยท triaged (coverage pass, 2026-11-03) โ€” still live; prerequisite is done; fix scoped; two inputs needed from Drew +- **Agent:** queue worker (repo-worker-code), lane opencode +- **Session / ID:** task 7793 ยท session ses_e5e5df64fb6ffeYhQuY5FaFfV2 +- **Found via:** queue claim (coverage join, 2026-11-03) +- **Task:** triage #1943 at current main. No implementation in this task. +- **Verdict:** **still live, not a duplicate.** The blocker that made the 2026-10-29 triage say "wait for #1941" is gone โ€” **#1941 is closed and PR #2721 is merged**; the docs book is deployed. What remains is one Porkbun DNS change plus a small choice forced by a GitHub Pages limitation. Both are Drew's. + +## Fresh state (2026-11-03, main `a5966f8d7`) + +**Site / Pages** (`gh api repos/developing-today/code/pages`): +- `build_type: workflow`, `https_enforced: true`, `cname: null`, `html_url: https://developing-today.github.io/code/` +- `curl -L https://developing-today.github.io/code/` โ†’ **200** (mdBook "Archive - mcpx"); `โ€ฆ/code/cli.html` โ†’ 200. +- So: the site exists and is healthy at the default project path, and has **no custom domain yet**. + +**DNS** (`dig`, from a normal network): +| Name | Answer | Meaning | +| --- | --- | --- | +| NS `developing-today.com`, `developing.today` | `*.ns.porkbun.com` | both zones are still on Porkbun | +| `mcpx.developing-today.com` | CNAME `uixie.porkbun.com` | parking wildcard, **no explicit record** | +| `mcpx.developing.today` | CNAME `uixie.porkbun.com` | parking wildcard, **no explicit record** | +| `_github-pages-challenge-developing-today.mcpx.developing-today.com` TXT | CNAME `uixie.porkbun.com` | no verification TXT exists for mcpx | +| `zettel.developing-today.com` | CNAME `developing-today.github.io` | working precedent, same org + zone | +| `_github-pages-challenge-developing-today.zettel.developing-today.com` TXT | `cc887eecc305202ad8c44465de9d1a` | per-domain Pages verification | +| `developing.today` TXT | `v=spf1 include:mxlogin.com -all` | active mail domain โ€” do **not** wildcard-forward it | + +**Precedent that de-risks this** (`gh api repos/developing-today/zettel/pages`): +`cname: zettel.developing-today.com`, `protected_domain_state: "verified"`, HTTPS certificate `approved`, `https_enforced: true`. Same org, same Porkbun zone, same Actions-based Pages flow โ€” the exact pattern this issue needs already works. + +**DNS is code in this repo:** `infra/dns` (Terraform + `pullenmcdermott/porkbun` provider + sops-encrypted key) already declares and matches live the `zettel`/`archive.zulip` CNAMEs and their two challenge TXTs (`infra/dns/dns_config/default.nix`). The `mcpx` records are a PR to that file; `terraform apply` needs Drew's Porkbun/state credentials and his explicit go-ahead (see #1860: no apply without it). + +## The one real constraint: Pages has a single custom domain + +Drew's 2026-10-29 decision names **both** `mcpx.developing-today.com` **and** `mcpx.developing.today`. A GitHub Pages site has exactly one custom domain, and GitHub's automatic redirects only cover an apex โ†” its own `www` (docs: [Managing a custom domain](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site)). So "both" means: + +- **canonical:** `mcpx.developing-today.com` on the Pages site (recommended โ€” it is the product/org domain and matches the `zettel` precedent), and +- **redirect:** `mcpx.developing.today` โ†’ canonical, via Porkbun's free **URL forwarding** (Domain Management โ†’ URL Forwarding: host `mcpx`, 301, "include requested URI path"). This is a console setting on the existing Porkbun account โ€” **no nameserver change and no Cloudflare move** ([Porkbun: How to Set Up URL Forwarding](https://kb.porkbun.com/article/39-how-to-set-up-url-forwarding)). + +## Fix path, in order (scoped, not implemented here) + +1. **GitHub (worker, after go-ahead):** set the Pages custom domain to `mcpx.developing-today.com` (Settings โ†’ Pages, or `gh api repos/developing-today/code/pages -X PUT -f cname=โ€ฆ`). GitHub then shows the TXT challenge โ€” expected name `_github-pages-challenge-developing-today.mcpx.developing-today.com` (same shape as the `zettel` record). +2. **Porkbun (PR to `infra/dns` + apply by Drew):** in the `developing-today.com` zone add + - `mcpx` โ†’ CNAME `developing-today.github.io` + - `_github-pages-challenge-developing-today.mcpx` โ†’ TXT `` + - *(alternative: verify the apex `developing-today.com` once at the org level โ€” one TXT covers all immediate subdomains โ€” instead of per-domain like `zettel`.)* +3. **GitHub (worker):** verify the domain, wait for the certificate, enforce HTTPS, then flip the docs workflow's `siteUrl` from `/code/` to `/` (`.github/workflows/mcpx-docs.yml:110`, plus the `docs.nix` comment) so the book serves at the domain root; confirm the old `/code/` path redirects. +4. **Porkbun (Drew, same console visit):** URL-forward `mcpx.developing.today` โ†’ `https://mcpx.developing-today.com` (subdomain only, not wildcard โ€” the apex carries SPF). + +**Why no PR was opened now:** GitHub explicitly says to add the domain on GitHub *before* creating the DNS record, and the verification token does not exist until step 1; and flipping `siteUrl` to `/` before the cutover would break the live `/code/` site. The work is mechanical but must start only after Drew's go-ahead. + +## What is needed from Drew (two items) + +1. **Confirm the split:** canonical `mcpx.developing-today.com`, with `mcpx.developing.today` as a redirect โ€” the only shape Pages supports. +2. **Authorize the Porkbun change** (and do the console action, or say "apply it" for the `infra/dns` Terraform PR). No Cloudflare/nameserver change is involved. + +**Resume condition:** when Drew confirms (1) and authorizes/does (2), resume this task (or a fresh implementation task) to do steps 1 and 3 and open the `infra/dns` PR. Until then this issue sits in `user/escalated`; the queue task is blocked `escalated-to-user`, not lost. + +Labels: `user/review` โ†’ `user/escalated`; task labels โ†’ `queue/blocked` + `status/blocked`. + +