Repository navigation
docs(plans): record that thrust-pg serves the Origin CA certificate too (Q-0094.9) - #98
Merged
Merged
Conversation
…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
marked this pull request as ready for review
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Production's authenticated TLS (issue 41) was switched on live on 2026-11-07, and
ApiraTech/infrastructurePR #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_caagainst the shared Origin CA root excludes a self-signed or private-CA server but does not prove the peer is Thrust's database, andverify_fullstays a separate decision (infra ADR 0023, still Proposed).What ran on
thrust-pg(from the infrastructure runbook, section 10)spec.certificatesrestart an instance?uid,startTimeandrestartCount0; the primary stayedthrust-pg-1; Cluster generation 1 to 2.verify_ca?hyperdrive.sh check.tofu apply?created_aterror appeared and a re-plan was clean.Files
QUESTIONS.mdQ-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.research/0010section 13: heading, what was built (PR #1010, the live defaults), what ran onthrust-pg, and a narrowed "not verified".docs/src/architecture/infra.md: the Postgres hosting bullet, in the present tense the book uses.PLAN.mdrow 41,spikes/README.mdand 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
ssl = truethrough the live Hyperdrive configs, and the private-CA control on production, which cannot fail now that every Service ofthrust-pgserves the Origin CA certificate (the 2026-11-06 control on the same tunnel and mode stands).infra-qnyi,plane-byd.9), the green chart copy inApiraTech/helm-charts, and a calendar reminder for the Origin CA root expiry on 2029-08-15.Checks
QUESTIONS.mdandPLAN.mdhave the same cell count as their neighbours.docs/and the plan finds no remaining "pending" wording outside dated records.mdbook build docs: 0^ERRORlines, and the newinfra.mdtext is in the built page. Themdbook-mermaidpreprocessor warns about an mdBook version mismatch; the build exits 0.gate.Refs #41
🤖 Generated with Claude Code