Skip to content

docs: add object-storage subprocessor decision memo (#2311)#2344

Merged
PetrefiedThunder merged 2 commits into
mainfrom
docs/2311-object-storage-decision
May 13, 2026
Merged

docs: add object-storage subprocessor decision memo (#2311)#2344
PetrefiedThunder merged 2 commits into
mainfrom
docs/2311-object-storage-decision

Conversation

@PetrefiedThunder

Copy link
Copy Markdown
Collaborator

Refs #2311 — decision memo for user approval

Refs #2311. Captures current state (s3_utils is live, not stub — used by
/v1/ingest/url, /v1/ingest/file, and NLP consumer), evaluates Vercel Blob,
Cloudflare R2, and defer-to-Postgres options, and recommends R2 to unblock
the DPA / Trust Center subprocessor disclosure.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented May 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
regengine Ignored Ignored Preview May 13, 2026 5:00am

Request Review

@PetrefiedThunder
PetrefiedThunder merged commit b7aef03 into main May 13, 2026
22 checks passed
PetrefiedThunder added a commit that referenced this pull request May 13, 2026
…nfigured (#2348) (#2349)

When OBJECT_STORAGE_ACCESS_KEY_ID / OBJECT_STORAGE_SECRET_ACCESS_KEY
are absent (the current prod state), s3_utils._client() raised an
uncaught NotImplementedError that FastAPI converted to 500. That
turned four documented endpoints — /v1/ingest, /v1/ingest/file,
/v1/ingest/url, /v1/ingest/regulation — into opaque server errors.

This swaps the failure mode to HTTPException(503) with a clear detail
message, plus a startup warning so the disabled state is visible in
Railway logs. Tests updated to assert the new behavior; new helper
is_object_storage_configured() exposed for the lifespan probe.

No semantic change when keys ARE set; the boto client is constructed
exactly as before. The companion R2 provisioning path lives in #2311 /
PR #2344.

Closes #2348.
@PetrefiedThunder
PetrefiedThunder deleted the docs/2311-object-storage-decision branch May 13, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant