Repository navigation
Privacy page: verified hosting region and processors - #755
Merged
Merged
Conversation
…was in Singapore until 2026-10-09; unattached old DB volume in Singapore)
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.
The privacy page currently leaves the Hosted Cloud infrastructure unnamed and combines PostgreSQL with object storage without explaining their roles. This change names the API/database location confirmed by the owner and separates primary storage from R2 avatars and third-party processing.
Updates
/privacyand/docs/hosted-cloudwith Railway EU West (Amsterdam, Netherlands), PostgreSQL accounts/telemetry/source maps (TEXT), Cloudflare CDN/edge and avatar-only R2 with EEUR location hint, and processor roles. Marks Stripe production activation and Google Analytics live activation as unverified; notes configured Resend email, enabled Sentry and disabled production AI brief worker. Keeps existing controller/processor roles, retention windows, and f21e053's Sentry filters and EU ingest disclosure. Processor details remain visible on small screens.Base:
develop. Branch:codex/privacy-hosting. No merge, deploy, publish or production data changes.Evidence
apps/dashboard/lib/hosted-cloud.ts:3anddocs/RAILWAY.md.apps/api/prisma/schema.prisma:8(PostgreSQL datasource),:59(User),:468(Event),:520(ErrorOccurrence),:544(Session); ingest writes inapps/api/src/routes/ingest.ts:163,:225,:312.apps/api/prisma/schema.prisma:610, especially:619; persistence inapps/api/src/lib/source-map-upload.ts:155,:197.apps/api/src/lib/avatar-storage.ts:37(R2 env),:56(Cloudflare endpoint),:121(avatar key),:134(write); avatar upload call inapps/api/src/routes/auth.ts:550. Repository search found no other R2 consumers. Bucket name and EEUR hint: owner-confirmed 2026-10-05; jurisdiction remains unverified.docs/CLOUDFLARE-CRAWLERS.md. Edge headers were not used to infer database region.apps/api/src/routes/billing.ts:18checksSTRIPE_SECRET_KEYand creates a Stripe client; live activation not independently verified and explicitly qualified.apps/api/src/lib/email.ts:78,:103,:117send email to Resend when configured. Supplied audit's 2026-10-05 production health probe reportedemail: configured; roles are retained from existing disclosure.apps/api/src/lib/observability.ts:22andapps/dashboard/lib/sentry.ts:57. Existing EU ingest paragraph from f21e053 is preserved, with no new Sentry residency claim. Organization region remains unverified.apps/api/src/lib/brief-client.ts:79returns unconfigured withoutTELEMETRY_AI_BRIEF_URL.apps/dashboard/lib/google-analytics.ts:12chooses measurement ID from env or production hostname;apps/dashboard/app/layout.tsx:86,:102mount it;apps/dashboard/app/components/analytics/GoogleAnalytics.tsx:28,:59,:65gate loading on consent and route. Live activation is explicitly unverified.apps/api/src/lib/alert-webhook-dispatch.ts:814describes customer-selected destinations; these are customer-directed egress, not independently identified Hosted Cloud operators.Validation
pnpm install --frozen-lockfile: passed; lockfile unchanged.pnpm lint: passed, 0 errors/warnings; repeated after final edit, passed.pnpm build: passed for all workspaces; dashboard generated 56 static pages. Finalpnpm --filter dashboard buildafter final wording passed, including prebuild lint and Next type validation.pnpm test: passed, 1,411 passed / 128 skipped / 0 failed. API 1,044 passed + 128 skipped (131 files passed, 18 skipped); dashboard 227 passed (41 files); core 67 (9 files); vite plugin 14 (1 file); node 27 (2 files); next 15 (1 file); publish guards 17 (10 suites). No tests weakened or changed./tmp;initdbfailed withshmget: Operation not permitted. Docker daemon was unavailable. No production database was contacted. CI must run the DB-enabled suite.pnpm --filter api exec tsc -p tsconfig.build.json --noEmit: passed.pnpm --filter api exec tsc --noEmit: failed with 106 existing diagnostics in 24 untouched test files.pnpm --filter dashboard exec tsc --noEmit: failed with 6 existing diagnostics in 2 untouched test files (lib/google-analytics.test.tsreadonly NODE_ENV;lib/marketing-seo-head.test.tsES2018 regex flag vs ES2017 target). Every diagnostic source file was compared byte-for-byte withorigin/developand is unchanged; no diagnostic refers to the changed pages. Build uses the repository's existing production type-check path; no config changed./privacygenerated HTML contains all 11 checked disclosures;/docs/hosted-cloudcontains all 4 checked hosting disclosures.git diff --check: passed. Full diff againstorigin/developself-reviewed; only the two requested pages remain modified. Removed the build-generated API-version path-only change.Still unverified