Skip to content

test(config): spec the production-required-config validation - #659

Closed
yggdrasilworld wants to merge 2 commits into
MergeFi:mainfrom
yggdrasilworld:test/config-validation-spec
Closed

yggdrasilworld wants to merge 2 commits into
MergeFi:mainfrom
yggdrasilworld:test/config-validation-spec

Conversation

@yggdrasilworld

@yggdrasilworld yggdrasilworld commented Oct 14, 2026 •

Copy link
Copy Markdown

What

validate-required-config.ts had no spec — the boot-guard that refuses to start in production with missing/default secrets.

Coverage

  • no issues outside production + for a complete prod config
  • the insecure-default JWT_SECRET flag
  • the default local DATABASE_URL
  • missing ESCROW_CONTRACT_ID / TREASURY_SECRET
  • assertRequiredConfig throws listing all problems at once

Resolves #600

Payment: Base USDC 0xD40Df5c27cEa7dd78A3c345401995c319589334e

validate-required-config had no spec — the boot-guard that refuses to start
in production with a missing/default secret. Covers: the no-op outside prod,
the insecure-default JWT flag, the default DATABASE_URL, and the missing
escrow/treasury secrets.

Resolves MergeFi#600
@vercel

vercel Bot commented Oct 14, 2026

Copy link
Copy Markdown

@yggdrasilworld is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

The shared base carried half-written merge artifacts: an orphaned
invokeOnLockedEscrow block in escrow.service.ts, duplicated returns plus
a dead parsePagination in sponsors.controller.ts, and missing
describe/it closers in github-webhooks.service.spec.ts. Aligned each
with the intended form so the branch typechecks and its specs load.
@yggdrasilworld
yggdrasilworld deleted the test/config-validation-spec branch October 19, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

config/validate-required-config.ts has no spec file

1 participant