Files
copilotkit__copilotkit/showcase/scripts/verify-deploy.drivers.dashboard.ts
Jordan Ritter 8714ab569b chore(showcase): apply oxfmt formatting across showcase scripts and shells
oxfmt --write normalized formatting on showcase scripts, the four shells, and the
new oxlint rule; required for the repo-root oxfmt --check CI gate.
2026-05-29 11:45:16 -07:00

20 lines
660 B
TypeScript

import type { ProbeTarget } from "./verify-deploy";
import type { ProbeOutcome } from "./verify-deploy.drivers";
import { probeBaseline } from "./verify-deploy.drivers.baseline";
/**
* Feature-level verifier for the `shell-dashboard` Next.js service.
*
* Baseline (this commit): Railway deployment-SUCCESS + HTTP 200 on `/`.
* Future driver-specific layer: dashboard-DOM assertion (catches the
* "rendered the 404 chrome with 200" case Next.js dev quirks produce).
*/
export async function probeDashboard(
target: ProbeTarget,
): Promise<ProbeOutcome> {
return probeBaseline(target, {
driverLabel: "dashboard",
healthcheckPath: "/",
});
}