Commit graph

3 commits

Author SHA1 Message Date
d03ef799f4 test: unskip the main-module unit tests and enable the real-backend browser lane
All checks were successful
CI / unit (pull_request) Successful in 45s
CI / backend-e2e (pull_request) Successful in 1m16s
CI / dashboard-e2e (pull_request) Successful in 2m26s
- tests/conftest.py installs minimal ultralytics/mediapipe stand-ins only when
  the real packages are absent, so clipwright.pipeline.main imports in the thin
  unit env instead of pytest.importorskip skipping 15 modules (63 tests). Unit
  suite is now 779 passed / 0 skipped.
- requirements-test.txt pins uvicorn==0.46.0 (the real-backend server).
- dashboard: vite preview proxies /api,/videos,/thumbnails to a locally-launched
  backend; Playwright gains a gated (CW_E2E_REAL) real project + uvicorn
  webServer running the pipeline stub_env; real-backend.spec.js drives the real
  upload->process->clip flow. CI dashboard job installs the backend test deps.
- Verified: real lane 20 passed twice in the CI container; mock-only 19 passed
  without the flag; backend unit/API/pipeline 779/209/127.
2026-10-05 10:46:45 +01:00
6911a2665c chore: drop watermark feature, CLI, docs, design.md; consolidate requirements
All checks were successful
CI / unit (pull_request) Successful in 48s
CI / backend-e2e (pull_request) Successful in 1m17s
CI / dashboard-e2e (pull_request) Successful in 1m46s
- Remove the watermark feature end to end (watermarked.py, apply_watermark/
  mark_delivery/watermark_filter, WATERMARK env, assets/) and its tests; self-host
  delivery is now unconditionally clean.
- Delete the unused cli/ package and .github/workflows/publish-cli.yml.
- Delete docs/ (compliance) and design.md; drop the dangling references in the
  legal page and the design-token/ui comments.
- Consolidate requirements: requirements.txt (runtime) + requirements-test.txt
  (unit + E2E); remove requirements-e2e.txt and requirements-ml-e2e.txt and
  point both CI jobs at the single test file. Add libgl1 to the unit job
  (scenedetect -> opencv-python links libGL).

Verified in the CI container: unit 701 passed; API E2E 209; pipeline E2E 127;
Playwright 19 passed / 1 skipped.
2026-10-05 09:54:01 +01:00
719946b3cd refactor/package-layout (#3)
All checks were successful
CI / backend-tests (push) Successful in 29s
CI / frontend-build (push) Successful in 9m48s
Reviewed-on: #3
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-04 20:47:12 +01:00