Skip to content

feat(config): seed path support, unresolved-var detection, fix passwo… - #1

Merged
nazarli-shabnam merged 6 commits into
mainfrom
feature/v1.3.0-polish
Jun 21, 2026
Merged

feat(config): seed path support, unresolved-var detection, fix passwo…#1
nazarli-shabnam merged 6 commits into
mainfrom
feature/v1.3.0-polish

Conversation

@nazarli-shabnam

@nazarli-shabnam nazarli-shabnam commented Jun 21, 2026

Copy link
Copy Markdown
Owner

seed path support, unresolved-var detection, fix password false-positive

  • Add optional path to seed schema and resolve it in setup (parity with migrations)
  • Add findUnresolvedVars helper and optional collector to resolveEnvVars
  • checkConfigWarnings now only flags literal DB passwords, not keys like password_reset_url

…rd false-positive

- Add optional path to seed schema and resolve it in setup (parity with migrations)
- Add findUnresolvedVars helper and optional collector to resolveEnvVars
- checkConfigWarnings now only flags literal DB passwords, not keys like password_reset_url
…lite

- HealthCheckSchema gains optional test/interval/timeout/retries
- Generic services can now declare a CMD-SHELL healthcheck via a matching health_checks entry
- Refactor healthcheck fragment building into renderHealthcheckFragment
- Warn (instead of silently dropping) databases with no Docker image (sqlite)
@nazarli-shabnam nazarli-shabnam self-assigned this Jun 21, 2026
@nazarli-shabnam nazarli-shabnam added the enhancement New feature or request label Jun 21, 2026
…un/validate-only flags

- New 'envkit validate [--strict]' command (CI/pre-commit friendly)
- snapshot restore now backs up current config to a pre-restore-* snapshot and confirms in TTY (--yes to skip)
- New 'snapshot delete <name>' command
- generate --dry-run prints compose to stdout without writing
- share import --validate-only validates without writing
- checkConfigWarnings now returns the warnings it logs
- Add tests: validate command, snapshot delete/restore-backup, generate --dry-run,
  share import --validate-only, service healthcheck + sqlite warning, validator
  password false-positive, seed path, init wizard flow (prompts.inject)
- jest.config: add global coverageThreshold (regression floor)
- CI: run tests with --coverage and upload coverage artifact
- 221 tests passing (was 201)
- README: validate section, dry-run, snapshot restore safety + delete, share validate-only, updated command table
- STATUS.md + DEVELOPMENT.md: new commands
- AUDIT.md: mark v1.3.0 improvements done, correct outdated healthcheck note
- .dev-env.example.yml: seed path + generic service healthcheck (test) example
- package.json: 1.2.0 -> 1.3.0
- validate: run config warnings against RAW (pre-resolution) config so a
  correctly-externalized \ is not flagged as hardcoded; this fixes
  'validate --strict' falsely failing CI when secrets are set in .env
- validate: silence loadConfig's per-var warnings (already reported in aggregate)
- validator: also detect hardcoded secrets in the env block, keyed precisely by
  the last key segment so benign keys like PASSWORD_RESET_URL don't false-positive
- compose: generic services no longer auto-inherit a DB-type healthcheck by
  coincidental type name; they only get healthchecks explicitly declared in health_checks
- logger: add getLevel(); tests for all of the above (225 passing)
@nazarli-shabnam
nazarli-shabnam merged commit 65593e9 into main Jun 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant