Repository navigation
feat(content-store): store patch content in Neon Object Storage - #422
Conversation
Opus reviewReviewed 1. The packed e2e still strips the Azure settings but not the S3 ones (correctness, mirrored surface)
How it fails: a developer exports the five 2. The live suite's docs name settings the live suite doesn't read (correctness, dev loop)
The root Checked, not blocking
|
Astra reviewReviewed StandardsNo merge-blocking method or YAGNI findings. The adapter uses the existing SpecNo merge-blocking intent findings. The change covers path-style requests, branch-specific endpoint configuration, explicit credentials, server selection with filesystem fallback, and shared offline/live contract coverage. The named documentation updates are present. No wire, CLI, migration, or UI contract changes were needed. Verification performed:
Summary: Standards 0 blockers, worst none; Spec 0 blockers, worst none. |
StandardsEffect service conventions: no findings.
Baseline smells: none. The text encode and decode pair in SpecIssue #384, for this PR, is the (a) Missing or partial: none. (b) Scope creep: none. No CDK, first deploy, object-key layout, or sweep. (c) Implemented but wrong: none. Met. Issue 391The ticket asks for that same store, plus a done-when and a surface list #384 does not spell out. Met: the S3 layer in Partial:
The README layout line, the s3rver patch, and the raw HTTP error tests are extra. They earn their place, below. MethodOne The s3rver patch is the right local fix. s3rver 3.7.1 encrypts continuation tokens with DES, and current OpenSSL will not run DES, so the second list page throws before any assertion. The tokens are opaque. AES-256-CBC with a 16-byte IV is enough, and Cleared against the code: pagination continues only with a new token and fails closed on a stuck one, the contract writes 1005 keys, the path-style URL is
YAGNISmall, and the shape is right. One module does config, the client, put, get, delete, and a paged list. Azure is gone, with no shim. Keep the spike-name remap. That file is shared with the rest of the Neon spike and already holds Worth deleting: Leave the 1005-key case in the shared suite. It is the test that makes a one-page list fail offline. Three keys do not. Leave the pagination loop, the checksum flags,
SummaryStandards: 2 findings. The worst is the live-suite doc naming Reviewed with Grok 4.7 in the Grok harness. |
|
Updated through 013c945. Corrected the fake ownership decisionMy previous justification for keeping the patched
Other review dispositions retained
Verification for the replacement
All eight checks passed on |
0c8c567 to
add47ac
Compare
Replace the unused Azure backend with path-style S3 storage configured for a Neon branch and private bucket. Preserve the ContentStore contract and keep filesystem storage for local use. Share contract coverage across filesystem, local S3 and an opt-in Neon live tier. Patch s3rver continuation tokens to use AES because current Node/OpenSSL disables DES. Verified 1091 offline tests with four workers, eight live Neon contract cases, a 2 MiB live round-trip smoke, workspace typecheck and lint. Standards and spec reviews found no issues. Implements #391.
Document the live tier's spike environment names and both invocation paths. Clarify storage terminology and remove obsolete Azure environment exclusions. Keep the packed runner's existing PATCHY_* sanitization and exercise it with poisoned S3 settings in CI. Replace s3rver's vulnerable busboy/dicer dependency with the compatible maintained Fastify parser. Verified 24 offline and 8 live storage cases, packed CLI end-to-end with ambient S3 poison, and multipart upload plus malformed-header rejection on loopback.
013c945 to
c240955
Compare
Patchy needs to store deployed content in Neon Object Storage rather than Azure Blob Storage.
This replaces the unused Azure backend with a path-style S3 layer using explicit Neon credentials and a branch-scoped endpoint. It preserves the ContentStore contract, keeps filesystem storage for development and tests, and updates server configuration and storage documentation.
Stacked on
tier2/390-admission; this PR targets that branch and contains only the issue #391 implementation. Part of #384. Closes #391.Verification
Implemented with GPT-6 Astra through the omp coding-agent harness.