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

@@ -4,8 +4,8 @@ import { describe, expect, test } from "vitest";
import { envVariableDefinitions, getEnvVariableDefinition } from "./index.js";
import type { EnvVariableDefinition } from "./types.js";
const examplePaths = [".env.example", ".env.local.example", ".env.production.example", ".env.fly.example", ".env.test"] as const;
const safeEnvFixturePaths = [".env.example", ".env.local.example", ".env.production.example", ".env.fly.example", ".env.test"] as const;
const examplePaths = [".env.example", ".env.local.example", ".env.production.example", ".env.test"] as const;
const safeEnvFixturePaths = [".env.example", ".env.local.example", ".env.production.example", ".env.test"] as const;
const rootPath = (...segments: string[]) => resolve(process.cwd(), ...segments);
@@ -59,7 +59,7 @@ const exampleOnlyBaseline = new Set<string>([
const catalogedOrDynamicSiteKey = (key: string) =>
Boolean(getEnvVariableDefinition(key as EnvVariableDefinition["name"])) || key.startsWith("SITE_KEY_") || exampleOnlyBaseline.has(key);
const secretLikeKeyPattern = /(?:SECRET|TOKEN|KEY|PASSWORD|WEBHOOK_SIGNING_SECRET|ACCESS_TOKEN|JWT)/i;
const safePlaceholderValuePattern = /^(?:|test[-\w.:@/?=&]+|replace-with[-\w.]+|<[-\w]+>|\{[A-Z_]+\}|YOUR_[A-Z_]+|https:\/\/\.\.\.ngrok-free\.app|https:\/\/your-project\.supabase\.co|https:\/\/formspree\.io\/f\/example|G-XXXXXXXXXX|FlyV1 <portal-token>)$/;
const safePlaceholderValuePattern = /^(?:|test[-\w.:@/?=&]+|replace-with[-\w.]+|<[-\w]+>|\{[A-Z_]+\}|YOUR_[A-Z_]+|https:\/\/\.\.\.ngrok-free\.app|https:\/\/your-project\.supabase\.co|https:\/\/formspree\.io\/f\/example|G-XXXXXXXXXX)$/;
describe("env example drift contract", () => {
test.each(examplePaths)("catalogs every example key in %s", (path) => {
@@ -123,7 +123,6 @@ describe("env example drift contract", () => {
"MAILJET_API_KEY",
"MAILJET_SECRET_KEY",
"MAILJET_FROM_EMAIL",
"STRIPE_ACCOUNT_COUNTRY",
"WORKER_ENABLED",
"WORKER_QUEUE_GROUP",
"WORKER_CONCURRENCY_PLUGIN",
@@ -137,7 +136,8 @@ describe("env example drift contract", () => {
expect(contents).not.toContain("CRISP_CHAT_WEBSITE_ID");
});
test.each([".env.production.example", ".env.fly.example"] as const)("documents worker runtime keys in %s without required REDIS_URL", (path) => {
test("documents worker runtime keys in .env.production.example without required REDIS_URL", () => {
const path = ".env.production.example";
const contents = readProjectFile(path);
const keys = parseEnvExampleKeys(contents);
const requiredKeys = parseUncommentedEnvExampleKeys(contents);
@@ -148,11 +148,7 @@ describe("env example drift contract", () => {
])
);
expect(requiredKeys, `${path} must not make REDIS_URL an uncommented required key`).not.toContain("REDIS_URL");
if (path === ".env.fly.example") {
expect(requiredKeys, `${path} must not pin worker enablement in shared Fly secrets`).not.toContain("WORKER_ENABLED");
} else {
expect(keys).toContain("WORKER_ENABLED");
}
expect(keys).toContain("WORKER_ENABLED");
});
test("documents REDIS_URL as a fallback and keeps S05/S06 inventory owners visible", () => {