fix(runtime): harden process startup and health

This commit is contained in:
Marc-André Bombeck committed 2026-07-21 00:05:03 +02:00
1 parent 914e7658db
commit 9adeb8fc19
16 files changed
+653 -275

No files matched your search

+1 -1
View File
@@ -194,7 +194,7 @@ export function proxy(request: NextRequest) {
// Worker-only container: refuse HTTP traffic with a clear hint instead of
// serving requests that would either crash (no DB pool ready for writes from
// the worker) or duplicate work that the dedicated web container is doing.
if (!shouldRunWeb()) {
if (!shouldRunWeb() && pathname !== "/api/health") {
return NextResponse.json(
{
data: null,