Skip to content

feat: add PostgreSQL database support - #12

Merged
iefiru merged 4 commits into
mainfrom
feat/postgresql-support
Aug 15, 2026
Merged

feat: add PostgreSQL database support#12
iefiru merged 4 commits into
mainfrom
feat/postgresql-support

Conversation

@chestercheng

Copy link
Copy Markdown
Contributor

Summary

  • Add the psycopg PostgreSQL driver and connection timeout handling.
  • Add clean Docker-image integration tests for SQLite and PostgreSQL.
  • Exercise webhook and authenticated dashboard APIs without direct database access.

Validation

  • uv run pytest
  • SQLite Docker API flow
  • PostgreSQL Docker API flow
  • uv run ruff check .
  • uv run ruff format --check .

Depends on #11.

@iefiru iefiru left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chestercheng
chestercheng force-pushed the feat/postgresql-support branch from c9f78bf to 036e2dc Compare August 14, 2026 22:01
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.41%. Comparing base (065e3da) to head (fccd24f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   75.31%   75.41%   +0.10%     
==========================================
  Files          16       16              
  Lines         717      720       +3     
==========================================
+ Hits          540      543       +3     
  Misses        177      177              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Base automatically changed from feat/sqlalchemy-orm to main August 15, 2026 03:25
Install the psycopg driver and configure PostgreSQL connection timeouts. Run the same clean-image API flow against SQLite and PostgreSQL.

Signed-off-by: chestercheng <hi@chester.ch>
Signed-off-by: chestercheng <hi@chester.ch>
Signed-off-by: chestercheng <hi@chester.ch>
Signed-off-by: chestercheng <hi@chester.ch>
@iefiru
iefiru force-pushed the feat/postgresql-support branch from a2b42f5 to fccd24f Compare August 15, 2026 03:25
@iefiru
iefiru merged commit a751514 into main Aug 15, 2026
5 checks passed
@iefiru
iefiru deleted the feat/postgresql-support branch August 15, 2026 03:38
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.

2 participants