Skip to content

chore(config): keep self-hosting env registry in sync - #45

Merged
allisonmahmood merged 1 commit into
mainfrom
chore/issue-30-env-registry
Aug 26, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
chore/issue-30-env-registry

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

.env.example duplicated the server configuration reference and had already drifted. Nothing loads it, leaving maintainers with an obsolete registry that could silently become misleading.

This removes the obsolete copy and its repository references. A new config-package test records the variables getServerConfig actually reads and requires an exact bidirectional match with the primary environment fence in docs/SELF_HOSTING.md.

Closes #30

Verification:

  • pnpm --filter @patchy/config exec vitest run src/env-registry.test.ts
  • pnpm --filter @patchy/config lint
  • pnpm typecheck
  • pnpm test

Changes implemented by openai-codex/gpt-5.6-sol using the Oh My Pi coding harness.

@github-actions github-actions Bot added area:server Touches the server area area:ci CI, shared testing infrastructure, development scripts and tooling size:s Under 100 changed lines labels Aug 26, 2026
@allisonmahmood
allisonmahmood merged commit b3d4914 into main Aug 26, 2026
1 check passed
@allisonmahmood
allisonmahmood deleted the chore/issue-30-env-registry branch August 26, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:server Touches the server area size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: delete .env.example and add a bidirectional env-registry check

1 participant