Ben Senescu
|
35700ca80a
|
Improve error handling + local setup (#4)
* Add unified Docker self-host stack for OpenSEO and Gateway
* Fix self-host migration flow and env wiring
* Track latest gateway release by default and harden migrations
* Fix gateway static asset serving in self-host runtime
* Run gateway self-host from source with .env-based Vite runtime
* Harden self-host env mode and remove apt dependency from gateway build
* Avoid gateway build ENOSPC by installing deps at runtime
* Revert temporary ENOSPC workaround for gateway Docker setup
* Use Cloudflare selfhost env precedence for Docker runtime
* Add selfhost wrangler environment and tighten Docker docs
* Stabilize selfhost Docker runtime and persistence
Use full Node base images for reliable TLS trust, simplify selfhost startup/env handling, and persist local gateway wrangler state to avoid resets between restarts.
* Simplify Docker selfhost: rename scripts to docker:selfhost:*, remove GATEWAY_RELEASE_REPO, default to latest gateway
* Remove selfhost wrangler env, use .env.local everywhere, simplify docker script names
* Simplify selfhost compose: remove D1 preflight, conditional migration, and healthcheck
* Extract inline Node.js from gateway Dockerfile into standalone scripts
* Save
* Move OpenSEO dependency install from container startup to image build step
* Move self-host docker scripts and compose into dedicated folder
* save
* disable TanStack devtools in Docker self-host
* Make edits
* clarify self-hosting env setup docs
* save
* save
* centralize server-function error middleware and simplify client-safe messaging
* remove local migration-specific error remapping
Keep auth middleware simple by letting DB/schema failures flow through the centralized error handler and remove the unused LOCAL_DB_MIGRATION_REQUIRED client/server code path.
* remove custom error logging in favor of plain console.error
* standardize PSI error codes and sanitize non-Error throws
|
2026-03-04 16:27:41 -05:00 |
|