Skip to content

fix: repair make doctor on a fresh install - #34

Merged
laugiov merged 1 commit into
mainfrom
fix/doctor-health-endpoint
Aug 1, 2026
Merged

fix: repair make doctor on a fresh install#34
laugiov merged 1 commit into
mainfrom
fix/doctor-health-endpoint

Conversation

@laugiov

@laugiov laugiov commented Aug 1, 2026

Copy link
Copy Markdown
Owner
  • Quote CORS_ALLOW_ORIGIN in .env.dist: the unquoted parentheses make scripts/doctor.sh fail with a shell syntax error when it sources .env.
  • Probe /healthz instead of /api/health: /api/* requires a JWT and returns 401, so the check reported the backend unreachable when it was healthy.

Summary

Closes #

Changes

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Refactoring (no functional change)
  • Documentation update
  • Infrastructure / CI change

Checklist

  • make test passes (unit + integration)
  • make stan passes (PHPStan)
  • make cs-fixer applied
  • New code has tests
  • Documentation updated if needed
  • No secrets or credentials in the code
  • Follows DDD architecture (controllers delegate to handlers)

Screenshots (if applicable)

- Quote CORS_ALLOW_ORIGIN in .env.dist: the unquoted parentheses make
  scripts/doctor.sh fail with a shell syntax error when it sources .env.
- Probe /healthz instead of /api/health: /api/* requires a JWT and returns
  401, so the check reported the backend unreachable when it was healthy.
@laugiov
laugiov merged commit 1878dc2 into main Aug 1, 2026
5 checks passed
@laugiov
laugiov deleted the fix/doctor-health-endpoint branch August 1, 2026 19:39
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.

1 participant