Skip to content

docs(plans): record that thrust-pg serves the Origin CA certificate too (Q-0094.9) - #98

Merged
aRustyDev merged 1 commit into
mainfrom
docs/thrust-41-production-done
Nov 7, 2026
Merged

aRustyDev merged 1 commit into
mainfrom
docs/thrust-41-production-done

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

What

Production's authenticated TLS (issue 41) was switched on live on 2026-11-07, and ApiraTech/infrastructure PR #1010 (merged 2026-11-07 04:24Z) set the code defaults to match. The previous docs pass (#96) recorded the dev canary and said production was pending. This PR updates every page that carried that wording so it says production is done. Docs only.

The wording is deliberate where it matters: verify_ca against the shared Origin CA root excludes a self-signed or private-CA server but does not prove the peer is Thrust's database, and verify_full stays a separate decision (infra ADR 0023, still Proposed).

What ran on thrust-pg (from the infrastructure runbook, section 10)

Question Result
Did spec.certificates restart an instance? No. Both instances kept uid, startTime and restartCount 0; the primary stayed thrust-pg-1; Cluster generation 1 to 2.
Does each instance serve the issued certificate, and does it verify? Yes on both: return code 0, TLSv1.3, peer certificate present. The throwaway-CA control returned 21.
Does Workers VPC accept it under verify_ca? Yes: a throwaway Hyperdrive config created through the production VPC service, then deleted; both live configs pass hyperdrive.sh check.
Did the VPC change work through tofu apply? Yes, with Admin on the tunnels token (no 403). The provider's known created_at error appeared and a re-plan was clean.
Do code and live agree? Yes: plain plans show No changes in the cloudflare and kube roots after #1010.

Files

  • QUESTIONS.md Q-0094.9: the 2026-11-06 text keeps its wording (now "was not switched yet" and "Open on 2026-11-06"), and the production result is appended after it.
  • ADR-0094: the dev update's "Not done" paragraph is dated, and a new update of 2026-11-07 follows it.
  • research/0010 section 13: heading, what was built (PR #1010, the live defaults), what ran on thrust-pg, and a narrowed "not verified".
  • docs/src/architecture/infra.md: the Postgres hosting bullet, in the present tense the book uses.
  • PLAN.md row 41, spikes/README.md and ADR-0040 (the FR-09 line): a dated pointer each.

Left as written, because they record what was true at the time: ADR-0040 lines 127 and 182, Q-0040.1, spike 0002, the round-27 notes and the point-in-time review files.

Not in this PR, and why

  • Not run: the smoke Worker reading ssl = true through the live Hyperdrive configs, and the private-CA control on production, which cannot fail now that every Service of thrust-pg serves the Origin CA certificate (the 2026-11-06 control on the same tunnel and mode stands).
  • Still ahead: closing the two beads (infra-qnyi, plane-byd.9), the green chart copy in ApiraTech/helm-charts, and a calendar reminder for the Origin CA root expiry on 2029-08-15.

Checks

  • Each result compared with the merged infrastructure runbook and the live runs.
  • Table rows in QUESTIONS.md and PLAN.md have the same cell count as their neighbours.
  • A search of docs/ and the plan finds no remaining "pending" wording outside dated records.
  • mdbook build docs: 0 ^ERROR lines, and the new infra.md text is in the built page. The mdbook-mermaid preprocessor warns about an mdBook version mismatch; the build exits 0.
  • A docs-only change skips the Rust jobs and reports the one required check, gate.

Refs #41

🤖 Generated with Claude Code

…oo (Q-0094.9)

The previous docs pass (#96) said "dev done, production pending". Production was
switched on 2026-11-07 and ApiraTech/infrastructure PR #1010 (merged 2026-11-07 04:24Z)
set the code defaults to match, so every page that carried the pending wording now
says what ran.

What ran on thrust-pg, as the infrastructure runbook section 10 records it:
- adding spec.certificates restarted nothing: both instances kept uid, startTime and
  restartCount (0), the primary stayed thrust-pg-1, Cluster generation 1 to 2;
- both instances serve the issued certificate and it verifies (return code 0, TLSv1.3,
  peer certificate present), with the throwaway-CA control rejected (21);
- Workers VPC accepted it under verify_ca: a throwaway Hyperdrive config created
  through the production VPC service succeeded and was deleted;
- the VPC change went through `tofu apply` with Admin on the tunnels token, which
  worked (the provider's known created_at error appeared; a re-plan was clean);
- after PR #1010 a plain plan shows No changes in the cloudflare and kube roots.

Edited:
- QUESTIONS.md Q-0094.9: the 2026-11-06 text keeps its wording with "was not switched
  yet" and "Open on 2026-11-06"; the production result is appended after it.
- ADR-0094: the "Not done" paragraph of the dev update is dated, and a new update of
  2026-11-07 follows it in the same bullet style with [tested] tags.
- research/0010 section 13: the heading, the "what was built" bullet (PR #1010, the
  live defaults), a "what ran on thrust-pg" bullet and a narrowed "not verified".
- docs/src/architecture/infra.md: the Postgres hosting bullet, in the present tense.
- PLAN.md row #41, spikes/README.md and ADR-0040 (the FR-09 line): a dated pointer each.

Left as written, because they record what was true when the decision was made:
ADR-0040 lines 127 and 182, Q-0040.1, spike 0002, the round-27 notes and the
point-in-time review files.

What the pages still say, on purpose: verify_ca against the shared Origin CA root
excludes a self-signed or private-CA server but does not prove the peer is Thrust's
database, and verify_full is a separate decision (infra ADR 0023, still Proposed).
Not run: the smoke Worker reading ssl = true through the live Hyperdrive configs, and
the private-CA control on production, which cannot fail now that every Service of
thrust-pg serves the Origin CA certificate. The Origin CA root expires 2029-08-15.

Checked: each result against the merged infrastructure runbook section 10 and the
live runs; the table rows have the same cell count as their neighbours; a search of
docs and the plan for the old "pending" wording finds none outside dated records;
`mdbook build docs` has 0 ^ERROR lines and the new infra.md text is in the built page.

Refs: #41
Refs: plane-byd.9
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev marked this pull request as ready for review November 7, 2026 05:03
@aRustyDev
aRustyDev merged commit 4e21755 into main Nov 7, 2026
13 checks passed
@aRustyDev
aRustyDev deleted the docs/thrust-41-production-done branch November 7, 2026 05:03
aRustyDev added a commit that referenced this pull request Nov 8, 2026
…s (Q-0094.9) (#100)

The previous passes (#96, #98) listed "the smoke Worker reading ssl = true through the live
Hyperdrive configs" as not done. It ran on 2026-11-08 and passed on both configs, and the
infrastructure runbook now records it (ApiraTech/infrastructure, docs PR for the same run).

Run: a throwaway Worker (pg 8.16.3, nodejs_compat, random path, temp tables only, deleted
afterwards) queried both live Hyperdrive configs, which were created on 2026-10-18 while the
VPC services were disabled. For thrust-pg and for thrust-pg-dev: role thrust, ssl true over
TLSv1.3 from pg_stat_ssl, on the primary, commit control 2 rows, the temp table gone after the
commit and after a rollback, connect 7 ms, select 1 p50 7 to 8 ms from colo IAD. A wrong path
returned 404 and the deletion was verified.

What it shows, and the text says so: the existing configs work end to end through the
verify_ca services. What it does not show: which certificate was verified, because no SQL
exposes the server certificate. That evidence stays the s_client runs and the Hyperdrive creates.

Edited:
- QUESTIONS.md Q-0094.9: "Not done: the smoke Worker" becomes a "Smoke test 2026-11-08" result;
  what is left under "Not done" is verify_full (bead infra-4ee1) and the 2029-08-15 root expiry
  (bead infra-182d). The 2026-11-06 "Open on" sentence keeps its wording as a dated record.
- ADR-0094: the production update's "Not run" sentence drops the smoke Worker and points at a
  new dated addendum after it, which carries the result.
- research/0010 section 13: a "smoke test" bullet, and "Not verified" keeps only the
  private-CA control on production.

Left as written: the dated 2026-11-06 and 2026-11-07 records. No docs/src page mentions the
smoke test, so the book is unchanged.

Checked: the Q-0094.9 row has the same cell count as its neighbours, and a search of docs and
the plan finds no remaining "not done", "not verified" or "not run" smoke claim.

Refs: #41
Refs: plane-byd.9

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant