Skip to content

fix: improve database migrations and health checks - #4

Merged
asimawdah merged 2 commits into
OpenSelfHosting:mainfrom
saoud-mohamed:main
Oct 30, 2026
Merged

asimawdah merged 2 commits into
OpenSelfHosting:mainfrom
saoud-mohamed:main

Conversation

@saoud-mohamed

Copy link
Copy Markdown

Summary

This PR introduces improvements to database migration handling, health checks, and project configuration.

Changes

  • Added additional .gitignore rules to protect environment files and exclude local development artifacts.
  • Fixed Alembic database URL interpolation when credentials contain special characters such as %.
  • Added logging for database health-check failures.
  • Improved exception handling in the health endpoint.

Testing

  • Successfully started the application locally.
  • Verified the /health endpoint.
  • Confirmed successful database connectivity.

Expected result

Improve migration reliability, debugging, and configuration safety.

@asimawdah

Copy link
Copy Markdown
Member

Great Work

@asimawdah
asimawdah merged commit 55a1d08 into OpenSelfHosting:main Oct 30, 2026
1 check passed
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.

3 participants