Description
Acceptance completed on 2026-11-21 UTC through PR #991, merged as ec16e8553689cb734d1b6317e60e29a78aa9f9d4. Production Terraform apply succeeded in run 44862998450.
-
er maintainagainst production Aurora succeeds. Operator ran isolated Jobapp/er-tls-probe-553, independently observed Complete (1/1, 9 seconds). The SQL readback wasmax_locks_per_transaction=1024; maintenance reconciled 24 schema statements and compacted the synthetic catalog's schema_migrations files from 24 to 1. The cleanup log confirmedisolated probe database removed. This is an isolated empty-catalog acceptance probe, not a customer-data load benchmark. - Verified TLS connects. Both projected application DSNs were independently read with credential-redacting code and show
sslmode=verify-fullplus/etc/ssl/rds/global-bundle.pem. Probe output confirms frontend TLSv1.3 and the engine successfully opened the verified-TLS Aurora catalog. Operator's targeted transaction updated the audited org/dataset catalog URLs and reported verified connections with unrelated fields preserved. - 14-day PITR read back from the API, reconfirmed by operator on 2026-11-21 UTC; the owner's 14-day decision is unchanged.
Operator rebooted sole writer er-prod-2; cluster returned available, cluster parameter group er-prod, member in-sync. ESO was force-synced, production deploy 44863604441 succeeded, and operator restarted the dispatcher. The serving API emitted er-server listening at 2026-11-21T03:57:30.146157Z; both serving containers and the new dispatcher were independently observed ready with zero restarts after acceptance.
Operator ran writes blocked by the agent execution guard; the agent prepared and checked the scripts, landed the PR, watched CI, and verified read-only state. The probe creation produced a PodSecurity warning; it completed successfully. Saved local probe/template manifests now set runAsNonRoot, RuntimeDefault seccomp, allowPrivilegeEscalation=false and drop ALL capabilities for future use; the completed Job was not modified.
Historical preparation and superseded blockers
Open work found in plan-to-aws.md §3.1 (now .claude/skills/infra-platform/references/plan-to-aws.md) · release mvp · estimate 1.0 eng-weeks
Revised 2026-11-07: the prod environment is built. infra/terraform/envs/prod/ declares the network (network.tf), EKS (eks.tf), Aurora (rds.tf — aws_rds_cluster.prod plus instances), EFS (efs.tf) and the lake (lake.tf), and infra.yml plans and applies it — its own header counts "61 resources including an RDS cluster, two instances and EFS", applied under the §14.2 prod hop. drift.yml runs a refresh-only plan against it. This issue's claim "there is no prod environment" was true when written and is stale now.
What remains of this ticket is the acceptance evidence — §3.1's three probes, none of which is recorded anywhere:
-
er maintainagainst the prod Aurora succeeds (themax_locksproof — a different mechanism than dev's-cflag) - every DSN carries
sslmode=verify-fulland connects — which first requires the CA bundle in the images (§18.15; expect an image change) - 14-day PITR confirmed on, read back from the API — owner selected 14 days on 2026-11-08; readback on 2026-11-09 UTC reports retention 14, cluster available, earliest restore 2026-10-30T05:37:00.535000Z.
The prod gate rule is unchanged: the environment existing in Terraform is not an invitation to put traffic on it before the first paying or piloting tenant.
How this was verified
Originally: "infrastructure.md names prod cluster and prod Aurora as deliberately deferred." Re-verified 2026-11-07 against origin/main: the tree now declares the environment and the pipeline applies it; the probes above are recorded nowhere.
Coverage, sizing and status were verified against this repo on 2026-11-05, not taken from the doc's checkbox — several docs/ checkboxes are stale in the direction of understating what is built. Estimate revised 4.0 → 1.0 eng-weeks on 2026-11-07: the build landed; the probes, and whatever they surface, remain.
Continuation evidence (2026-11-09 UTC): the live cluster still uses default.aurora-postgresql17, whose max_locks_per_transaction is 64. PR #991 adds the documented 1024 setting through a custom cluster parameter group; activation and the live maintenance probe remain open. TLS capability is in #989, with production DSNs in dependent #991.
Operational continuation (2026-11-09 UTC): TLS capability (#989) and the CA directory-permission repair (#1005, ab349d1) are now deployed in prod. The new API process emitted er-server listening at 05:25:58Z; the prod deployment job in run 42567188752 succeeded. Actual DSN cutover and maintenance acceptance remain incomplete: the repository PreToolUse guard rejected direct aws secretsmanager put-secret-value because this session cannot prompt for AWS mutations. No secret was changed and the temporary payload was removed. Draft #991 remains unmerged. Local operator steps and the isolated probe are prepared at .tools/prod-553/operator-steps.md and .tools/prod-553/probe.json on the session host. The historical GitHub release-download outage (42566858450) was resolved by the refreshed CI run below. The 14-day backup readback was reconfirmed with cluster available.
Readiness audit update (2026-11-09): draft #991 was refreshed to 97f7294b on base 06bc5f0d; all current-head CI checks and a new production plan passed (infra 42641429874). The release-download failure is resolved. Live Aurora still uses the default parameter group and has 14-day retention. The frontend-secret update, static parameter activation and maintenance probe remain open; do not infer completion from the now-green draft.
Latest preparation (2026-11-10 19:15Z): draft #991 is rebased onto main f2baff25, head 2525a5952b545306411cdc40bda647e90c8c7eb1. All 15 required exact-head contexts pass, with every detect job successful and no unfinished check. Fresh infra 42881936476 still plans 3 add / 1 change / 2 immutable secret-version replacements; no database, bucket, secret resource or credential replacement. Other environment plans have no changes. Local Terraform 1.11.4 validation, skills-check and diff checks pass. AWS read access is restored. Production now serves readiness repair #1077 (a7395900); both serving containers are ready with zero restarts, and the prepared isolated probe is pinned to those independently verified image digests. The operator-gated frontend-secret update, static parameter activation, persisted catalog DSN audit/update, workload reload and isolated maintenance acceptance remain unperformed. Green CI does not close these acceptance boxes.
Activity
athvin commentedon Nov 8, 2026
Probed the live cluster on 2026-11-08 (first time credentials have been available in this session). The third acceptance criterion cannot pass against the current config, and it is the config that is a surprise, not the probe.
This ticket and
plan-to-aws.md§3.1 both ask for 35-day PITR confirmed on, read back from the API. The live value is 14, and it matches the tree —infra/terraform/envs/prod/rds.tf:59isbackup_retention_period = 14. So this is not drift and not an un-applied change; the config has never asked for 35.Worth noting which way the asymmetry runs: 35 days is Aurora's maximum, and 14 is a plausible deliberate choice — but it carries no comment, where the dev value one file over does (
backup_retention_period = 1 # dev: a day is plenty). An unexplained number next to an explained one is how a default gets mistaken for a decision.So this criterion needs a decision before it can be ticked, and the ticket cannot answer it:
rds.tfis wrong and this is a one-line change plus an apply;Everything else about the cluster reads as designed:
MultiAZ: true,DeletionProtection: true, twodb.serverlessinstances, statusavailable. The other two criteria (theer lake maintainmax_locks proof, andsslmode=verify-full) are untouched by this — and theverify-fullone is confirmed blocked as the body says: bother/prod/shared/postgresand the newer/prod/app/*DSNs carrysslmode=require, pending the RDS CA bundle in the images.feat(infra): prod Pod Identity, ESO and the §9 secrets envs/prod neve…
feat(infra): prod Pod Identity, ESO and the §9 secrets envs/prod neve…
athvin commentedon Nov 8, 2026
Taking over the prod queue — flagging the one item here that is genuinely the owner's call rather than mine:
PITR: 14 or 35 days?
plan-to-aws.md§3.1 and this issue's acceptance ask for 35-day PITR on the prod Aurora;envs/prod/rds.tf:59saysbackup_retention_period = 14, and the live cluster matches the tree (14), so this is not drift — either the config is wrong or the design is. The discrepancy matters now because the acceptance probes are the next item on my queue and I would rather probe the intended value than the current one.Two ways to resolve it, both cheap: say "14 is right" and I adjust the doc's §3.1 wording (with the reasoning recorded), or say "35" and a one-line Terraform PR bumps it (CI applies on merge).
Separately, and time-sensitive: the SES production-access request (#939) is a multi-day AWS lead time and gates every real-user email in prod — it is filed as an owner action there with the exact command.