Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -9,6 +9,7 @@ import { fileURLToPath } from "node:url";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const repoRoot = path.resolve(__dirname, "..");
export const reportPath = path.join(repoRoot, ".tc/baselines/tenant-auth/baseline-health.md");
const pnpmCommand = process.platform === "win32" ? "pnpm.cmd" : "pnpm";
const ignoredDirectoryNames = new Set([".git", ".cache", ".next", ".react-router", ".tc", ".turbo", ".vite", "build", "cache", "coverage", "dist", "generated", "node_modules"]);
const ignoredFileNames = new Set(["package-lock.json", "pnpm-lock.yaml", "yarn.lock"]);
@@ -26,16 +27,17 @@ export const tenantAuthInventoryPatterns = [
];
export const gates = [
{ id: "typecheck", command: "pnpm", args: ["run", "typecheck"] },
{ id: "lint", command: "pnpm", args: ["run", "lint"] },
// NOTE: typecheck + lint run as their own dedicated quality-gate steps in
// .gitea/workflows/ci.yml (and the GitHub mirror). They are intentionally not
// repeated here so the tenant-auth baseline does not re-run them a second time.
{ id: "ci-baseline", command: "node", args: ["scripts/verify-ci-baseline.mjs"] },
{ id: "vitest-tenantAuth-tenant-auth-smoke", command: "pnpm", args: ["exec", "vitest", "run", "apps/web/app/routes/app.$tenant.host-aware.test.ts", "apps/web/app/routes/app.$tenant.test.tsx", "apps/web/app/routes/admin/settings/authentication.test.tsx", "apps/web/app/utils/data/.server/auth-boundary-imports.test.ts", "packages/db/src/index.test.ts", "packages/entitlements/src/index.test.ts"] },
{ id: "vitest-tenantAuth-tenant-auth-smoke", command: pnpmCommand, displayCommand: "pnpm", args: ["exec", "vitest", "run", "apps/web/app/routes/app.$tenant.host-aware.test.ts", "apps/web/app/routes/app.$tenant.test.tsx", "apps/web/app/routes/admin/settings/authentication.test.tsx", "apps/web/app/utils/data/.server/auth-boundary-imports.test.ts", "packages/db/src/index.test.ts", "packages/entitlements/src/index.test.ts"] },
{ id: "tenantAuth-tenant-auth-inventory", type: "tenantAuth-tenant-auth-inventory" },
];
function shellCommand(gate) {
if (gate.type === "tenantAuth-tenant-auth-inventory") return "read-only Tenant Auth tenant/auth/OAuth/invite inventory";
return [gate.command, ...gate.args].join(" ");
return [gate.displayCommand ?? gate.command, ...gate.args].join(" ");
}
function outputFingerprint(output) {
@@ -76,7 +78,7 @@ export function failureCount(gateId, stdout, stderr, exitCode = 1) {
function runShellGate(gate) {
return new Promise((resolve) => {
const startedAt = Date.now();
const child = spawn(gate.command, gate.args, { cwd: repoRoot, env: { ...process.env, CI: "1" }, shell: false });
const child = spawn(gate.command, gate.args, { cwd: repoRoot, env: { ...process.env, CI: "1" }, shell: process.platform === "win32" });
let stdout = "";
let stderr = "";
child.stdout.on("data", (chunk) => { stdout += chunk; });
@@ -193,7 +195,7 @@ export function renderReport(results) {
`Generated: ${new Date().toISOString()}`,
"",
"This report captures non-E2E baseline gates for Tenant Auth baseline. Every gate is attempted and this report is written even if individual shell gates fail; the runner exits non-zero when any shell gate fails.",
"The shell gates run with CI=1 and fingerprint TypeScript, ESLint, CI baseline, and focused tenant/auth Vitest smoke coverage. The Tenant Auth inventory gate is read-only and fingerprints tenant/workspace, invite, expiry/revocation/accept, OAuth/Google/Apple, magic-link, callback/redirect/host-aware, context-switch, role/feature/plan revalidation, and SSO/SAML/OIDC surfaces while skipping missing roots plus generated, dependency, build, cache, coverage, swagger, and TC artifact folders.",
"The shell gates run with CI=1 and fingerprint CI baseline and focused tenant/auth Vitest smoke coverage (typecheck and lint are covered by their own dedicated CI steps). The Tenant Auth inventory gate is read-only and fingerprints tenant/workspace, invite, expiry/revocation/accept, OAuth/Google/Apple, magic-link, callback/redirect/host-aware, context-switch, role/feature/plan revalidation, and SSO/SAML/OIDC surfaces while skipping missing roots plus generated, dependency, build, cache, coverage, swagger, and TC artifact folders.",
"",
];
for (const result of results) {