Skip to content

Commit a613ab3

Browse files
committed
fix(ci): update route tree generator check and e2e test timeouts/vars
1 parent cfa185f commit a613ab3

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎apps/cloud/src/routeTree.gen.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,15 @@ export const routeTree = rootRouteImport
520520
._addFileTypes<FileRouteTypes>()
521521

522522
import type { getRouter } from './router.tsx'
523+
523524
import type { startInstance } from './start.ts'
525+
524526
declare module '@tanstack/react-start' {
525527
interface Register {
526528
ssr: true
529+
527530
router: Awaited<ReturnType<typeof getRouter>>
531+
528532
config: Awaited<ReturnType<typeof startInstance.getOptions>>
529533
}
530534
}

‎apps/host-cloudflare/src/worker.e2e.node.test.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ describe("cloudflare host configuration errors", () => {
550550
"Cloudflare Access is not configured. Set ACCESS_TEAM_DOMAIN and ACCESS_AUD before serving requests.\n",
551551
);
552552
}
553-
});
553+
}, 30_000);
554554
});
555555

556556
describe("cloudflare host e2e with built-in auth (AUTH_MODE=builtin)", () => {
@@ -569,8 +569,6 @@ describe("cloudflare host e2e with built-in auth (AUTH_MODE=builtin)", () => {
569569
EXECUTOR_SECRET_KEY: "test-secret-key-0123456789abcdef",
570570
AUTH_MODE: "builtin",
571571
BETTER_AUTH_SECRET: "test-secret-0123456789-abcdefghijklmnop-qrstuv",
572-
EXECUTOR_BOOTSTRAP_ADMIN_EMAIL: "admin@test.local",
573-
EXECUTOR_BOOTSTRAP_ADMIN_PASSWORD: "admin-password-123",
574572
},
575573
});
576574
}, 120_000);

‎scripts/check-route-trees.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const TREES = [
3939
{ dir: "packages/app", tree: "packages/app/src/routeTree.gen.ts" },
4040
{ dir: "apps/cloud", tree: "apps/cloud/src/routeTree.gen.ts" },
4141
{ dir: "apps/host-selfhost", tree: "apps/host-selfhost/web/routeTree.gen.ts" },
42-
{ dir: "apps/host-cloudflare", tree: "apps/host-cloudflare/web/routeTree.gen.ts" },
4342
] as const;
4443

4544
const run = (command: string, args: readonly string[], cwd: string) =>

0 commit comments

Comments
 (0)