Skip to content

feat: phase 2 service - Postgres, worker, web UI, Docker and CI/CD de… - #2

Merged
aminghuf merged 1 commit into
mainfrom
phase-2-service
Oct 31, 2026
Merged

aminghuf merged 1 commit into
mainfrom
phase-2-service

Conversation

@aminghuf

Copy link
Copy Markdown
Owner

…ploy

  • Postgres schema (documents, sections, jobs, llm_cache) with Alembic migrations
  • Job queue in Postgres (FOR UPDATE SKIP LOCKED), dedupe, retries with backoff
  • Worker: periodic scan of the read-only books folder, parsing, section summaries
  • Web UI (FastAPI + Jinja, no JS): login with throttling, library, book, section, jobs
  • Security: SameSite session cookie + Origin check, strict CSP, escaped model output
  • Dockerfile, compose (db, migrate, web, worker), Caddy block, server bootstrap
  • CI: tests against Postgres; on main build to GHCR and deploy over SSH with pre-deploy DB backup and health check

Claude-Session: https://claude.ai/code/session_01S8fCwzUPHc3uXUH3rr65HT

…ploy

- Postgres schema (documents, sections, jobs, llm_cache) with Alembic migrations
- Job queue in Postgres (FOR UPDATE SKIP LOCKED), dedupe, retries with backoff
- Worker: periodic scan of the read-only books folder, parsing, section summaries
- Web UI (FastAPI + Jinja, no JS): login with throttling, library, book, section, jobs
- Security: SameSite session cookie + Origin check, strict CSP, escaped model output
- Dockerfile, compose (db, migrate, web, worker), Caddy block, server bootstrap
- CI: tests against Postgres; on main build to GHCR and deploy over SSH with
  pre-deploy DB backup and health check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8fCwzUPHc3uXUH3rr65HT
@aminghuf
aminghuf merged commit 1412d71 into main Oct 31, 2026
2 checks 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.

1 participant