fix(web): paint the chart page shell before engine calls
Independent Staging Quality Gate / validate (push) Successful in 27m22s
Independent Staging Quality Gate / publish (push) Canceled after 47s

BUG-715/716/717: typed engine failures with logs and split copy, natal-only open, on-demand tabs, 10s timeout, in-memory cache, no speed-promise eyebrow.
This commit is contained in:
jesse-ux
2026-09-15 22:51:15 +08:00
parent 8caa2a2b4c
commit 5a8328e591
22 changed files with 1027 additions and 133 deletions
+5 -3
View File
@@ -1,11 +1,13 @@
import { NextResponse } from "next/server";
import { parseChartViewLayers } from "@/lib/chart-view-engine";
import { loadChartView } from "@/lib/chart-view-service";
export const runtime = "nodejs";
export const maxDuration = 60;
export const maxDuration = 20;
export async function GET() {
const result = await loadChartView();
export async function GET(request: Request) {
const layers = parseChartViewLayers(new URL(request.url).searchParams.get("layers"));
const result = await loadChartView({ layers });
return NextResponse.json(result.body, { status: result.httpStatus });
}