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
+8
-8
@@ -4,23 +4,23 @@ import { describe, expect, test } from "vitest";
|
||||
import { getEnvVariableDefinition, getRequiredEnvVariableNames, listEnvVariables, validateEnv } from "./index.js";
|
||||
|
||||
const representativeDefinitions = {
|
||||
APP_NAME: { classification: "required-core", targets: ["shared", "web", "api", "worker"], source: "code-and-example" },
|
||||
DATABASE_URL: { classification: "required-core", targets: ["shared", "web", "api", "worker"], source: "code-and-example" },
|
||||
APP_NAME: { classification: "required-core", targets: ["shared", "web", "api", "mcp", "worker"], source: "code-and-example" },
|
||||
DATABASE_URL: { classification: "required-core", targets: ["shared", "web", "api", "mcp", "worker"], source: "code-and-example" },
|
||||
SESSION_SECRET: { classification: "required-core", targets: ["web", "api"], source: "code-and-example" },
|
||||
API_ACCESS_TOKEN: { classification: "required-per-app", targets: ["web", "api"], source: "code-and-example" },
|
||||
JWT_SECRET: { classification: "required-per-app", targets: ["web", "api"], source: "code-and-example" },
|
||||
ANALYTICS_TOKEN: { classification: "required-per-app", targets: ["api"], source: "code" },
|
||||
APP_REVISION: { classification: "production-only", targets: ["shared", "web", "api", "worker"], source: "runtime" },
|
||||
APP_REVISION: { classification: "production-only", targets: ["shared", "web", "api", "mcp", "worker"], source: "runtime" },
|
||||
WORKER_ENABLED: { classification: "optional-provider", targets: ["worker"], source: "code-and-example" },
|
||||
EMAIL_QUEUE_NAME: { classification: "optional-provider", targets: ["worker"], source: "code" },
|
||||
WORKFLOW_QUEUE_NAME: { classification: "optional-provider", targets: ["worker"], source: "code" },
|
||||
BULLMQ_REDIS_URL: { classification: "optional-provider", targets: ["web", "api", "worker"], source: "code-and-example" },
|
||||
REDIS_URL: { classification: "optional-provider", targets: ["web", "api", "worker"], source: "code" },
|
||||
REDIS_URL: { classification: "optional-provider", targets: ["web", "api", "mcp", "worker"], source: "code" },
|
||||
BROWSER_RUNTIME_URL: { classification: "optional-provider", targets: ["api", "worker"], source: "code-and-example" },
|
||||
BROWSER_RUNTIME_API_KEY: { classification: "optional-provider", targets: ["api", "worker"], source: "code-and-example" },
|
||||
BROWSER_SESSION_TIMEOUT_MS: { classification: "optional-provider", targets: ["api", "worker"], source: "code-and-example" },
|
||||
TOOLCTRL_API_MAINTENANCE_MODE: { classification: "production-only", targets: ["api"], source: "code" },
|
||||
TOOLCTRL_API_MAINTENANCE_RETRY_AFTER_SECONDS: { classification: "production-only", targets: ["api"], source: "code" },
|
||||
HIVEGRID_API_MAINTENANCE_MODE: { classification: "production-only", targets: ["api"], source: "code" },
|
||||
HIVEGRID_API_MAINTENANCE_RETRY_AFTER_SECONDS: { classification: "production-only", targets: ["api"], source: "code" },
|
||||
WEB_BUILD_DIRECTORY: { classification: "production-only", targets: ["web"], source: "code" },
|
||||
CRISP_CHAT_WEBSITE_ID: { classification: "optional-provider", targets: ["web"], source: "code-and-example" },
|
||||
WEB_ORIGIN: { classification: "optional-provider", targets: ["api", "worker"], source: "code" },
|
||||
@@ -137,7 +137,7 @@ describe("env access inventory contract", () => {
|
||||
API_ACCESS_TOKEN: "api-token",
|
||||
API_HOST: "api.example.com",
|
||||
APP_BASE_DOMAIN: "example.com",
|
||||
APP_NAME: "Boilerplate",
|
||||
APP_NAME: "HiveGrid",
|
||||
CRYPTO_SECRET: "crypto-secret",
|
||||
DATABASE_URL: "postgresql://user:pass@localhost:5432/app",
|
||||
JWT_SECRET: "jwt-secret",
|
||||
@@ -186,7 +186,7 @@ describe("env access inventory contract", () => {
|
||||
expect(inventoryDocument).toContain("`pnpm run verify:env-drift`");
|
||||
expect(inventoryDocument).toContain("`scripts/check-env-drift.mjs`");
|
||||
expect(inventoryDocument).toContain("`.env.test`");
|
||||
for (const fixturePath of [".env.example", ".env.local.example", ".env.production.example", ".env.fly.example", ".env.test"]) {
|
||||
for (const fixturePath of [".env.example", ".env.local.example", ".env.production.example", ".env.test"]) {
|
||||
expect(inventoryDocument).toContain(`\`${fixturePath}\``);
|
||||
}
|
||||
expect(inventoryDocument).toContain("immediately after `pnpm run verify:ci-baseline` and before `pnpm typecheck`");
|
||||
|
||||
Reference in new issue
Block a user