CI green, archive teams no longer time out, own address behind NPM #33

Merged
spark merged 6 commits from task/ci-green into main 2026-10-19 01:23:49 +01:00
Owner
  • CI: Postgres service is pgvector/pgvector:pg16 (face migrations create the extension); two stale test expectations fixed (delivery best-of answers rest; batch cull answers { updated }); workers/faces/src/main.rs through rustfmt.
  • Archive teams: canonicalTeam was run for every game against every known team on each request; the Liga archive took minutes, blocking the API, and the proxy gave up ("Equipas" never loaded). Now one reading per folder team name per source (6 h), warmed in the background after a start, yielding between names.
  • Docs: an archive's own address behind Nginx Proxy Manager.

Tests: API 264 passed (2 skipped); archive 36/36. Clippy not run locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1

- **CI**: Postgres service is `pgvector/pgvector:pg16` (face migrations create the extension); two stale test expectations fixed (delivery best-of answers `rest`; batch cull answers `{ updated }`); `workers/faces/src/main.rs` through rustfmt. - **Archive teams**: `canonicalTeam` was run for every game against every known team on each request; the Liga archive took minutes, blocking the API, and the proxy gave up ("Equipas" never loaded). Now one reading per folder team name per source (6 h), warmed in the background after a start, yielding between names. - **Docs**: an archive's own address behind Nginx Proxy Manager. Tests: API 264 passed (2 skipped); archive 36/36. Clippy not run locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
spark added 3 commits 2026-10-19 00:56:42 +01:00
- CI's Postgres is pgvector/pgvector:pg16: the face migrations create the vector extension.
- Delivery's "best of the event" answers `rest` too (since the best frames / the rest split).
- A batch cull answers `{ updated }`; `changed` and `resent` belong to the IPTC save.
- workers/faces/src/main.rs through rustfmt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
Archive teams: one reading of each folder team name per source, warmed after a start.
ci / rust (pull_request) Failing after 1m37s
ci / typescript (pull_request) Successful in 8m50s
9123d97918
canonicalTeam compares a name with every known team; the Liga archive (thousands of games, every Liga team)
spent minutes per request, blocking the API, and the proxy gave up: "Equipas" never loaded.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
paperclip-review-bot left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
founding-engineer left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
devops-engineer left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
spark added 1 commit 2026-10-19 01:06:47 +01:00
Rename an archive in the app; a cloud that does not answer the sign-in is said in 15 s.
ci / rust (pull_request) Failing after 1m23s
ci / typescript (pull_request) Successful in 7m5s
02a1440d66
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
spark added 1 commit 2026-10-19 01:16:24 +01:00
Merge branch 'main' into task/ci-green
ci / rust (pull_request) Failing after 1m29s
ci / typescript (pull_request) Successful in 7m15s
db84533632
spark added 1 commit 2026-10-19 01:23:27 +01:00
Faces worker: collapse the embedding check (clippy).
ci / rust (pull_request) Successful in 8m17s
ci / typescript (pull_request) Successful in 10m53s
fa14bf91f5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
spark merged commit 2fc1f73254 into main 2026-10-19 01:23:49 +01:00
Author
Owner

No ar: 2fc1f732542c588dd62e110bf406e7166b0ef588.

API, app e site fizeram deploy com sucesso (00:24–00:25 UTC).

Entra o nome do arquivo editável na app, a entrada no Nextcloud que desiste aos 15 s, e a lista de equipas do arquivo lida uma vez e aquecida no arranque. O CI de testes passa a usar pgvector.

No ar: `2fc1f732542c588dd62e110bf406e7166b0ef588`. API, app e site fizeram deploy com sucesso (00:24–00:25 UTC). Entra o nome do arquivo editável na app, a entrada no Nextcloud que desiste aos 15 s, e a lista de equipas do arquivo lida uma vez e aquecida no arranque. O CI de testes passa a usar pgvector.
Sign in to join this conversation.