docs: add object-storage subprocessor decision memo (#2311)#2344
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
3 tasks
3 tasks
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.
4 tasks
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.
Refs #2311 — decision memo for user approval