fix(app): add the App Router root layout so the control-plane app can build (coreci-chat#10)
ci / test-pglite (PGlite, default) (push) Failing after 1m51s
ci / test-postgres (Postgres 16, G-022 RLS) (push) Failing after 1m24s
ci / test-pglite (PGlite, default) (pull_request) Failing after 1m50s
ci / test-postgres (Postgres 16, G-022 RLS) (pull_request) Failing after 1m25s

This commit is contained in:
2026-10-27 05:54:02 +00:00
parent 4b6ac59637
commit 311dfe5ac0
+27
View File
@@ -0,0 +1,27 @@
/**
* / - App Router root layout (coreci-chat#10).
*
* Next.js 15 requires a root layout that renders <html> and <body> above
* every route. Without one, `next build` fails with "login/page.tsx does not
* have a root layout", so apps/control-plane has never been buildable - the
* pipeline never built the app, so nothing caught it.
*
* This is the build-enabling minimum only. The shell content (theme,
* providers, session wrapper) is an M3 scope call for the line head and is
* deliberately NOT decided here - it rides the M3 kickoff verdict on
* coreci-chat#1.
*/
import type { ReactNode } from "react";
export const metadata = {
title: "CoreCI Chat - control plane",
};
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}