176 lines
9 KiB
Markdown
176 lines
9 KiB
Markdown
|
|
# 📊 Rapport de Découverte d'Erreurs - Projet Veza
|
||
|
|
|
||
|
|
**Date de génération** : 2025-11-09 17:37:38
|
||
|
|
**ID du rapport** : 20251109-173231
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📈 Statistiques Globales
|
||
|
|
|
||
|
|
| Composant | Erreurs | Warnings | Statut |
|
||
|
|
|-----------|---------|----------|--------|
|
||
|
|
| **Backend Build** | 00 | - | ✅ |
|
||
|
|
| **Backend Tests** | 169 | - | ❌ |
|
||
|
|
| **Backend Vet** | 00 | - | ✅ |
|
||
|
|
| **Frontend Build** | 22 | - | ❌ |
|
||
|
|
| **Frontend Tests** | 4802 | - | ❌ |
|
||
|
|
| **Frontend Lint** | 519 | - | ❌ |
|
||
|
|
| **Frontend TypeScript** | 16 | - | ❌ |
|
||
|
|
| **TOTAL** | **5528** | - | ❌ ERREURS DÉTECTÉES |
|
||
|
|
|
||
|
|
## 📡 Backend Go - Détails
|
||
|
|
|
||
|
|
### Build Errors
|
||
|
|
|
||
|
|
✅ **Aucune erreur de build**
|
||
|
|
|
||
|
|
### Test Errors
|
||
|
|
|
||
|
|
```
|
||
|
|
FAIL veza-backend-api/internal/handlers [setup failed]
|
||
|
|
# veza-backend-api/internal/services
|
||
|
|
package veza-backend-api/internal/services
|
||
|
|
imports veza-backend-api/internal/handlers
|
||
|
|
--
|
||
|
|
FAIL veza-backend-api/internal/services [setup failed]
|
||
|
|
# veza-backend-api/internal/models
|
||
|
|
internal/models/responses.go:20:23: invalid operation: user.FirstName != nil (mismatched types string and untyped nil)
|
||
|
|
internal/models/responses.go:21:19: invalid operation: cannot indirect user.FirstName (variable of type string)
|
||
|
|
--
|
||
|
|
FAIL veza-backend-api [build failed]
|
||
|
|
FAIL veza-backend-api/cmd [build failed]
|
||
|
|
FAIL veza-backend-api/cmd/generate-config-docs [build failed]
|
||
|
|
FAIL veza-backend-api/cmd/modern-server [build failed]
|
||
|
|
FAIL veza-backend-api/internal/api [build failed]
|
||
|
|
FAIL veza-backend-api/internal/api/admin [build failed]
|
||
|
|
FAIL veza-backend-api/internal/api/auth [build failed]
|
||
|
|
FAIL veza-backend-api/internal/api/education [build failed]
|
||
|
|
? veza-backend-api/internal/api/contest [no test files]
|
||
|
|
? veza-backend-api/internal/api/chat [no test files]
|
||
|
|
? veza-backend-api/internal/api/collaboration [no test files]
|
||
|
|
FAIL veza-backend-api/internal/api/handlers [build failed]
|
||
|
|
? veza-backend-api/internal/api/graphql [no test files]
|
||
|
|
? veza-backend-api/internal/api/grpc [no test files]
|
||
|
|
? veza-backend-api/internal/api/listing [no test files]
|
||
|
|
--
|
||
|
|
FAIL veza-backend-api/internal/api/royalty [build failed]
|
||
|
|
? veza-backend-api/internal/api/search [no test files]
|
||
|
|
? veza-backend-api/internal/api/shared_resources [no test files]
|
||
|
|
? veza-backend-api/internal/api/sound_design_contest [no test files]
|
||
|
|
```
|
||
|
|
|
||
|
|
## 🌐 Frontend React - Détails
|
||
|
|
|
||
|
|
### Build Errors
|
||
|
|
|
||
|
|
```
|
||
|
|
|
||
|
|
> veza-frontend@1.0.0 build
|
||
|
|
> tsc -b && vite build
|
||
|
|
|
||
|
|
vite.config.ts(7,29): error TS2769: No overload matches this call.
|
||
|
|
The last overload gave the following error.
|
||
|
|
Argument of type '({ mode }: ConfigEnv) => { plugins: (false | Plugin<any> | Plugin$1<any>[])[]; resolve: { alias: { '@': string; '@components': string; '@features': string; '@services': string; '@hooks': string; '@utils': string; '@types': string; }; }; ... 4 more ...; define: { ...; }; }' is not assignable to parameter of type 'UserConfigExport'.
|
||
|
|
Type '({ mode }: ConfigEnv) => { plugins: (false | Plugin<any> | Plugin$1<any>[])[]; resolve: { alias: { '@': string; '@components': string; '@features': string; '@services': string; '@hooks': string; '@utils': string; '@types': string; }; }; ... 4 more ...; define: { ...; }; }' is not assignable to type 'UserConfigFnObject'.
|
||
|
|
Call signature return types '{ plugins: (false | Plugin<any> | Plugin$1<any>[])[]; resolve: { alias: { '@': string; '@components': string; '@features': string; '@services': string; '@hooks': string; '@utils': string; '@types': string; }; }; ... 4 more ...; define: { ...; }; }' and 'UserConfig' are incompatible.
|
||
|
|
The types of 'build.terserOptions' are incompatible between these types.
|
||
|
|
Type '{ compress: { drop_console: boolean; drop_debugger: boolean; }; }' has no properties in common with type 'TerserOptions'.
|
||
|
|
vite.config.ts(23,24): error TS6133: 'options' is declared but its value is never read.
|
||
|
|
vite.config.ts(23,24): error TS7006: Parameter 'options' implicitly has an 'any' type.
|
||
|
|
vite.config.ts(23,33): error TS7006: Parameter 'bundle' implicitly has an 'any' type.
|
||
|
|
vite.config.ts(116,19): error TS6133: 'facadeModuleId' is declared but its value is never read.
|
||
|
|
src/features/auth/hooks/useOAuthCallback.test.ts(43,59): error TS1161: Unterminated regular expression literal.
|
||
|
|
src/features/auth/hooks/useOAuthCallback.test.ts(58,59): error TS1161: Unterminated regular expression literal.
|
||
|
|
src/features/auth/hooks/useOAuthCallback.test.ts(71,59): error TS1161: Unterminated regular expression literal.
|
||
|
|
src/features/playlists/components/PlaylistList.tsx(109,6): error TS17008: JSX element 'div' has no corresponding closing tag.
|
||
|
|
src/features/playlists/components/PlaylistList.tsx(250,1): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
|
||
|
|
src/features/playlists/components/PlaylistList.tsx(251,1): error TS1005: '</' expected.
|
||
|
|
src/features/playlists/hooks/usePlaylistNotifications.test.ts(35,24): error TS1005: '>' expected.
|
||
|
|
src/features/playlists/hooks/usePlaylistNotifications.test.ts(35,30): error TS1005: ')' expected.
|
||
|
|
src/features/playlists/hooks/usePlaylistNotifications.test.ts(35,56): error TS1161: Unterminated regular expression literal.
|
||
|
|
src/features/playlists/hooks/usePlaylistNotifications.test.ts(36,1): error TS1128: Declaration or statement expected.
|
||
|
|
src/test/setup.test.ts(5,39): error TS1005: ',' expected.
|
||
|
|
src/test/setup.test.ts(5,48): error TS1005: ',' expected.
|
||
|
|
src/test/setup.test.ts(5,49): error TS1110: Type expected.
|
||
|
|
src/test/setup.test.ts(9,27): error TS1005: '>' expected.
|
||
|
|
src/test/setup.test.ts(14,49): error TS1005: '>' expected.
|
||
|
|
src/test/setup.test.ts(19,47): error TS1005: '>' expected.
|
||
|
|
```
|
||
|
|
|
||
|
|
### TypeScript Errors
|
||
|
|
|
||
|
|
```
|
||
|
|
src/features/auth/hooks/useOAuthCallback.test.ts(43,59): error TS1161: Unterminated regular expression literal.
|
||
|
|
src/features/auth/hooks/useOAuthCallback.test.ts(58,59): error TS1161: Unterminated regular expression literal.
|
||
|
|
src/features/auth/hooks/useOAuthCallback.test.ts(71,59): error TS1161: Unterminated regular expression literal.
|
||
|
|
src/features/playlists/components/PlaylistList.tsx(109,6): error TS17008: JSX element 'div' has no corresponding closing tag.
|
||
|
|
src/features/playlists/components/PlaylistList.tsx(250,1): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`?
|
||
|
|
src/features/playlists/components/PlaylistList.tsx(251,1): error TS1005: '</' expected.
|
||
|
|
src/features/playlists/hooks/usePlaylistNotifications.test.ts(35,24): error TS1005: '>' expected.
|
||
|
|
src/features/playlists/hooks/usePlaylistNotifications.test.ts(35,30): error TS1005: ')' expected.
|
||
|
|
src/features/playlists/hooks/usePlaylistNotifications.test.ts(35,56): error TS1161: Unterminated regular expression literal.
|
||
|
|
src/features/playlists/hooks/usePlaylistNotifications.test.ts(36,1): error TS1128: Declaration or statement expected.
|
||
|
|
src/test/setup.test.ts(5,39): error TS1005: ',' expected.
|
||
|
|
src/test/setup.test.ts(5,48): error TS1005: ',' expected.
|
||
|
|
src/test/setup.test.ts(5,49): error TS1110: Type expected.
|
||
|
|
src/test/setup.test.ts(9,27): error TS1005: '>' expected.
|
||
|
|
src/test/setup.test.ts(14,49): error TS1005: '>' expected.
|
||
|
|
src/test/setup.test.ts(19,47): error TS1005: '>' expected.
|
||
|
|
```
|
||
|
|
|
||
|
|
## 🎯 Recommandations
|
||
|
|
|
||
|
|
⚠️ **5528 erreur(s) détectée(s).** Corrections nécessaires avant de continuer.
|
||
|
|
|
||
|
|
### Prochaines étapes (Ordre de priorité)
|
||
|
|
|
||
|
|
1. 📋 **Mettre à jour ORIGIN_ERROR_REGISTRY.md**
|
||
|
|
- Documenter chaque erreur identifiée
|
||
|
|
- Assigner catégorie (CAT-XX) et priorité (PX)
|
||
|
|
- Estimer complexité et temps
|
||
|
|
|
||
|
|
2. 📝 **Créer les tâches TERR-XXX**
|
||
|
|
- Une tâche par erreur dans ORIGIN_IMPLEMENTATION_TASKS.md
|
||
|
|
- Suivre le template défini dans ORIGIN_ERROR_RESOLUTION_STRATEGY.md
|
||
|
|
|
||
|
|
3. 🔧 **Corriger par ordre de priorité**
|
||
|
|
- P0 (Critiques) en premier
|
||
|
|
- Puis P1 (Hautes)
|
||
|
|
- Puis P2 (Moyennes)
|
||
|
|
|
||
|
|
4. ✅ **Valider les corrections**
|
||
|
|
- Relancer ce script après chaque correction
|
||
|
|
- Vérifier que le nombre d'erreurs diminue
|
||
|
|
|
||
|
|
5. 🚀 **Reprendre T0511+ une fois TOUT corrigé**
|
||
|
|
|
||
|
|
## 📁 Fichiers de Logs
|
||
|
|
|
||
|
|
Tous les logs détaillés sont disponibles dans:
|
||
|
|
|
||
|
|
```
|
||
|
|
docs/ORIGIN/error-logs/
|
||
|
|
- docs/ORIGIN/error-logs/backend-build-20251109-173231.log (495)
|
||
|
|
- docs/ORIGIN/error-logs/backend-coverage-20251109-173231.out (45K)
|
||
|
|
- docs/ORIGIN/error-logs/backend-tests-20251109-173231.log (71M)
|
||
|
|
- docs/ORIGIN/error-logs/backend-vet-20251109-173231.log (1010)
|
||
|
|
- docs/ORIGIN/error-logs/chat-build-20251109-173231.log (15K)
|
||
|
|
- docs/ORIGIN/error-logs/chat-clippy-20251109-173231.log (4.3K)
|
||
|
|
- docs/ORIGIN/error-logs/chat-tests-20251109-173231.log (4.6K)
|
||
|
|
- docs/ORIGIN/error-logs/docker-compose-20251109-173231.log (214)
|
||
|
|
- docs/ORIGIN/error-logs/frontend-build-20251109-173231.log (3.2K)
|
||
|
|
- docs/ORIGIN/error-logs/frontend-lint-20251109-173231.log (156K)
|
||
|
|
- docs/ORIGIN/error-logs/frontend-tests-20251109-173231.log (6.0M)
|
||
|
|
- docs/ORIGIN/error-logs/frontend-tsc-20251109-173231.log (1.5K)
|
||
|
|
- docs/ORIGIN/error-logs/stream-build-20251109-173231.log (12K)
|
||
|
|
- docs/ORIGIN/error-logs/stream-clippy-20251109-173231.log (31K)
|
||
|
|
- docs/ORIGIN/error-logs/stream-tests-20251109-173231.log (20K)
|
||
|
|
- docs/ORIGIN/error-logs/summary-20251109-173231.md (7.9K)
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**Généré par** : scripts/generate-error-summary.sh
|
||
|
|
**Référence** : ORIGIN_ERROR_RESOLUTION_STRATEGY.md
|
||
|
|
|