Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions apps/problems/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,15 @@ build therefore obtains fresh least-privilege database URLs from Neon instead
of copying production credentials:

```bash
VELA_PROJECTION_DATABASE_URL="$(neonctl connection-string main --project-id lingering-meadow-20929365 --role-name vela_projection_reader_20260813 --database-name vela_projection --pooled --no-color)" \
VELA_ACTIVITY_DATABASE_URL="$(neonctl connection-string main --project-id lingering-meadow-20929365 --role-name vela_activity_app --database-name vela_activity --pooled --no-color)" \
VELA_PROJECTION_DATABASE_URL="$(neonctl connection-string main --project-id lingering-meadow-20929365 --role-name vela_projection_reader_20260813 --database-name vela_projection --no-color)" \
VELA_ACTIVITY_DATABASE_URL="$(neonctl connection-string main --project-id lingering-meadow-20929365 --role-name vela_activity_app --database-name vela_activity --no-color)" \
bun run --filter @vela/problems build
```

Problems uses the Neon serverless HTTP driver, not a long-lived TCP client.
Use direct Neon hostnames here; a pooled hostname adds no connection-pooling
benefit to the HTTP transport.

## Develop

From the repository root:
Expand All @@ -110,8 +114,8 @@ bun install --frozen-lockfile
PORT=4322 HOST=localhost bun run dev:problems # example; match the staging callback
bun run --filter @vela/problems typecheck
bun run --filter @vela/problems test
VELA_PROJECTION_DATABASE_URL="$(neonctl connection-string main --project-id lingering-meadow-20929365 --role-name vela_projection_reader_20260813 --database-name vela_projection --pooled --no-color)" \
VELA_ACTIVITY_DATABASE_URL="$(neonctl connection-string main --project-id lingering-meadow-20929365 --role-name vela_activity_app --database-name vela_activity --pooled --no-color)" \
VELA_PROJECTION_DATABASE_URL="$(neonctl connection-string main --project-id lingering-meadow-20929365 --role-name vela_projection_reader_20260813 --database-name vela_projection --no-color)" \
VELA_ACTIVITY_DATABASE_URL="$(neonctl connection-string main --project-id lingering-meadow-20929365 --role-name vela_activity_app --database-name vela_activity --no-color)" \
bun run --filter @vela/problems build
bun run check:design-system
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ one explicit shared preview environment rather than a misleading claim of
per-PR branching. If Git previews are enabled later, replace it with automatic
branch-per-preview provisioning for both runtime credentials together.

**2026-08-27 correction.** The live Vercel project now has database variables
only in the Production environment. No Preview-scoped database variable or
Git-preview binding remains. The persistent Neon `vercel-preview` branch is
therefore retained only pending deletion approval, not as current runtime
infrastructure.

## Package and dependency disposition

- Keep `@vela/projection-data` as the only scientific projection reader and `@vela/activity-data` as the only hosted write surface.
Expand Down