Commit Graph

5 Commits

Author SHA1 Message Date
a110d10e39 Fix deploy-preview: handle missing prod DB gracefully
All checks were successful
PR Preview / teardown-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 3s
Test / e2e-test (push) Successful in 51s
PR Preview / deploy-preview (pull_request) Successful in 57s
Production still uses JSON, so /data/planner.db doesn't exist yet.
Detect cp failure and use empty DB (init_db creates tables on startup).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:43:17 +00:00
8c69e2db5b Fix CI: clean stale DB before e2e tests, fix reminder selector
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 3s
PR Preview / deploy-preview (pull_request) Failing after 4s
Test / e2e-test (push) Successful in 52s
- Clean previous run's DB/WAL/SHM files and kill stale processes
  before starting backend, preventing test data contamination
- reminders-flow: use parents('.reminder-card') to find .remove-btn

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:41:08 +00:00
62057d6022 Fix reminders-flow.cy.js: use parents() instead of parent()
Some checks failed
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 3s
PR Preview / teardown-preview (pull_request) Has been skipped
Test / e2e-test (push) Failing after 1m2s
PR Preview / deploy-preview (pull_request) Failing after 5s
The .remove-btn is nested inside .reminder-main, not a direct child
of the element containing the text. Use .parents('.reminder-card')
to traverse up to the correct ancestor.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:37:26 +00:00
d3f3b4f37b Refactor to Vue 3 + FastAPI + SQLite architecture
Some checks failed
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 3s
PR Preview / teardown-preview (pull_request) Has been skipped
Test / e2e-test (push) Failing after 55s
PR Preview / deploy-preview (pull_request) Failing after 40s
- Backend: FastAPI + SQLite (WAL mode), 22 tables, ~40 API endpoints
- Frontend: Vue 3 + Vite + Pinia + Vue Router, 8 views, 3 stores
- Database: migrate from JSON file to SQLite with proper schema
- Dockerfile: multi-stage build (node + python)
- Deploy: K8s manifests (namespace, deployment, service, ingress, pvc, backup)
- CI/CD: Gitea Actions (test, deploy, PR preview at pr-$id.planner.oci.euphon.net)
- Tests: 20 Cypress E2E test files, 196 test cases, ~85% coverage
- Doc: test-coverage.md with full feature coverage report

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:18:22 +00:00
b09cefad34 Initial commit: Schedule Planner 2026-04-06 13:46:31 +00:00