Repository navigation
fix(images): preserve non-root access to the RDS CA bundle - #1005
Merged
Merged
Conversation
athvin
marked this pull request as ready for review
November 9, 2026 04:03
This was referenced Nov 9, 2026
athvin
force-pushed
the
fix/989-ca-directory-permissions
branch
from
November 9, 2026 04:19
43c919c to
d109653
Compare
13 tasks done
Closed
This was referenced Nov 9, 2026
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.
Closes #1004
Repairs #989's failed dev/prod rollout: remote
ADD --chmod=644made the new/etc/ssland/etc/ssl/rdsdirectories mode 0644, so non-root Node failed before running migrations. The existing root-only import check could not detect this.Both images now download the same checksum-pinned CA bundle and chmod only the file in a separate instruction. New build assertions run after USER: Node must start and read the bundle, and the API runtime must be able to read it.
Validation: reproduced the exact OpenSSL permission failure locally under uid 1001 with the pinned Node base; the fixed image passes the same check, with directories 0755 and bundle 0644. Local
make checkpassed in full again after rebasing onto 0e731ca (1,015 tests). Frontend lint, formatting, types, authorization checks, units/coverage and build passed; the first functional pass hit one unchanged source-wizard timing race (#1007), and a complete functional rerun passed (569 passed, 139 skipped). No assertion or timeout was weakened.The failed deployments rolled back before traffic cutover; the public site still returns HTTP 200. Production DSNs remain unchanged and #991 stays draft until these repaired images deploy.
Post-merge ledger
Closed by: agent · session
Codex:01a1be1a-66a7-72f3-8e78-32c20c5e0da9onMac-28.lan· 2026-11-09T14:32:59.912590+00:00Last verified: Codex:01a1be1a-66a7-72f3-8e78-32c20c5e0da9 on Mac.lan at 2026-11-09T06:07:24Z; post-merge watch ran from 05:18Z through 2026-11-09T06:07:24Z.
mainis green with this change on it — verified descendant316935918b8d8816b48f81b726c87f057a283189: Rust 42629666009, frontend 42629665975, infra 42629666008, images 42629665974, devcontainer 42629666015 and deploy 42630440508 all success. Git ancestry confirms this merge is included. The earlier release-download outage has recovered; no old failed run is represented as passing.images— repaired images published in 42566717558, including non-root startup/CA-read assertions. Explicit workflow dispatch after the merge-bus push-event gap already tracked in The merge bus lands a commit with no push event, so images/deploy never run for it #782.deploy— 42567188752 succeeded for both dev and prod after retrying the dev Helm-chart HTTP 504 download failure. The new prod API emitteder-server listeningat 2026-11-09T05:25:58.716270Z; dev emitted it at 05:30:15.345608Z. Prod web-api-green 2/2 and dispatcher 1/1; public site HTTP 200. The original feat(pg): verify database TLS with the RDS CA bundle #989 ADD directory-permission failure is repaired by fix(images): preserve non-root access to the RDS CA bundle #1005.er-server listeningat 05:52:14.945251Z. Scheduled kind 42455973323 remains green. New scheduled drift 42570659369 is knowingly red outside this diff: dev/core provider downloads failed HTTP 504; prod Cloudflare reads lacked auth headers (HTTP 400/code 9106), tracked in Restore Cloudflare authentication in the scheduled Terraform drift workflow #1030. No drift conclusion is claimed from that failed refresh. Existing collector DNS failure predates this change and remains Prod observability install: span-store topology decision + prod shipper values #944..tools/prod-553/operator-steps.mdrecords the exact rejected operation, safe operator continuation, immutable image pins, isolated probe and remote-ADD directory-mode failure. No secret payload is retained.Specific to this change