Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -15,7 +15,7 @@ describe("server runtime routing integration", () => {
|
||||
});
|
||||
|
||||
test("uses required web config for fail-fast production startup and listen host/port", () => {
|
||||
expect(serverSource).toContain('import { loadRequiredWebConfig } from "@toolctrl/config"');
|
||||
expect(serverSource).toContain('import { loadRequiredWebConfig } from "@hivegrid/config"');
|
||||
expect(serverSource).toContain("const webConfig = loadRequiredWebConfig()");
|
||||
expect(serverSource).toContain("const PORT = webConfig.listen.port");
|
||||
expect(serverSource).toContain("const HOST = webConfig.listen.host");
|
||||
@@ -25,7 +25,7 @@ describe("server runtime routing integration", () => {
|
||||
});
|
||||
|
||||
test("delegates root start to the web runtime owner", () => {
|
||||
expect(rootPackage.scripts.start).toBe("pnpm --filter @toolctrl/web start");
|
||||
expect(rootPackage.scripts.start).toBe("pnpm --filter @hivegrid/web start");
|
||||
expect(webPackage.scripts.start).toContain("node ../../build/server-runtime/server.js");
|
||||
expect(webPackage.scripts.start).not.toContain("tsx");
|
||||
expect(rootPackage.scripts.start).not.toContain("tsx");
|
||||
@@ -76,7 +76,7 @@ describe("server runtime routing integration", () => {
|
||||
});
|
||||
|
||||
test("wires server diagnostics through the structured logger", () => {
|
||||
expect(serverSource).toContain('import { createChildLogger, defaultLogger } from "@toolctrl/logger"');
|
||||
expect(serverSource).toContain('import { createChildLogger, defaultLogger } from "@hivegrid/logger"');
|
||||
expect(serverSource).toContain('const serverLogger = createChildLogger(defaultLogger, { component: "server" })');
|
||||
expect(serverSource).toContain('serverLogger.error({ error }, "server request failed")');
|
||||
expect(serverSource).toContain('serverLogger.info({ host: address, port: PORT }, "server listening")');
|
||||
|
||||
Reference in new issue
Block a user