Phase 0 of the OpenAPI typegen migration. Locks in the existing
check-types-sync.sh (which was committed but never wired) so we stop
accumulating drift between veza-backend-api/openapi.yaml and
apps/web/src/types/generated/ before we migrate to orval (Phase 1).
Three enforcement points:
1. Pre-commit hook (.husky/pre-commit)
Replaces the naked generate-types.sh call with check-types-sync.sh,
which regenerates and fails if the working tree differs. Skippable
via SKIP_TYPES=1 (already documented in CLAUDE.md) for emergency
commits and for environments without node_modules.
2. CI gate (.github/workflows/frontend-ci.yml)
New "Check OpenAPI types in sync" step before lint/build. Catches
PRs that touched openapi.yaml without regenerating types.
Expanded the paths trigger to include veza-backend-api/openapi.yaml
and docs/swagger.yaml so spec-only edits still run the check.
3. Makefile target (make openapi-check)
Local convenience — same check as CI/hook, callable without staging
anything. Pairs with existing `make openapi` (regenerate spec from
swaggo annotations).
No spec or type file changes in this commit — pure plumbing.
Refs:
- AUDIT_REPORT.md §9 item #8 (OpenAPI typegen, deferred v1.0.8)
- Memory: project_next_priority_openapi_client.md
- /home/senke/.claude/plans/audit-fonctionnel-wild-hickey.md Item 2 Phase 0
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Update E2E test credentials to match actual seed users
(user@veza.music, artist@veza.music, admin@veza.music, mod@veza.music)
- Fix hardcoded "Suggested Accounts" in SuggestionsWidget with i18n key
- Replace hardcoded amelie_dubois references with CONFIG.users.creator
- Refactor auth, player, upload E2E tests for reliability
- Add tmt test plans and scripts for CI integration
- Simplify CI workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- ORDER BY dynamiques : whitelist explicite, fallback created_at DESC
- Login/register soumis au rate limiter global
- VERSION sync + check CI
- Nettoyage références veza-chat-server
- Go 1.24 partout (Dockerfile, workflows)
- TODO/FIXME/HACK convertis en issues ou résolus