Aller au contenu

🚀 Vibe Coding — Journal de Sessions PerfShop

Plateforme pédagogique de chaos engineering, tests de performance et observabilité.
Ce document retrace toutes les sessions de développement réelles avec Claude.

Total cumulé : ~160 heures de vibe coding


📋 Vue d'Ensemble

Session Sujet Durée Conversations Lien
Session 1 Calibrage CPU Chaos & Refonte Monitoring ~6h 1 Voir
Session 2 Variabilisation complète & Résolution CORS ~10h 6 Voir
Session 3 Catalogue produits : 1000 produits, images & UI ~8h 4 Voir
Session 4 Chaos Scripting complet & Renommage domaines ~4h 2 Voir
Session 5 PerfShop.io — Plateforme de suivi des déploiements ~8h 2 Voir
Session 6 Chaos Métier, Logging Admin UI & Revue de code ~12h 4 Voir
Session 7 Revue de code finale, corrections bugs & Conception Chaos Sécurité ~3h 2 Voir
Session 8 Chaos Sécurité — 9 failles OWASP implémentées ~8h 3 Voir
Session 9 APM — Tempo + Pyroscope + Dashboards + Debug NAS ~6h 3 Voir
Session 10 APM Heap Dump, Panel Grafana, Tempo Fix ~3h 1 Voir
Session 11 Revue code Java, corrections APM, Chaos Fonctionnel & évaluation commerciale ~6h 1 Voir
Session 12 Revue de code pages monitoring & chaos-admin + corrections bugs production ~4h 1 Voir
Session 13 Chaos Sécurité niveau Master (S10–S12) + Référence API + Documentation ~4h 1 Voir
Session 14 Chaos Métier niveau Master (A12–A16) + UI pédagogique + Revue sécurité ~5h 1 Voir
Session 15 F4 — Corruption silencieuse HTTP 200 · Gauges Prometheus F1-F4 · Dashboard Grafana F4 · Revue code complète ~4h 1 Voir
Session 16 Référence API complète (~70 endpoints) · Décomposition journal MkDocs par session ~4h 1 Voir
Session 17 Intégration JMeter complète · Container permanent · IHM Node.js · Dashboard Grafana · 7 scénarios JMX ~5h 2 Voir
Session 18 JMeter UI : 17 bugs résolus · Graphiques Chart.js · Gestionnaire scénarios · Éditeur JMX inline · Persistance runState ~8h 6 Voir
Session 19 Logs en direct : panneau IHM (socket Docker) + Grafana/Loki (Promtail fichier statique + volume partagé) ~4h 2 Voir
Session 20 JMeter UI : debug NAS Synology · container permanent · plugin Prometheus johrstrom · 25 bugs · IHM avancée · logs Loki ~12h 1 Voir
Session 21 Stack QA Phase 9 : Squash TM v8 + PostgreSQL 16 + Selenium Grid + Test Runner polyglotte + Filebrowser + Orchestrateur ~5h 1 Voir
Session 22 Intégration Squash Orchestrator → SSH → test-runner · plugin scm-git · JWT Base64 · premier workflow déclenché ~8h 2 Voir
Session 23 Pipeline Squash TM → Orchestrateur → SSH → Robot Framework : CT-001 PASS ~8h 1 Voir
Session 24 Résilience post-redémarrage · Token RSA · squash_tf v2 · CT-002 Selenium PASS ~8h 1 Voir
Session 25 Phase 10 · Forgejo Git local + Scripts UI · CT-003 pytest PASS ~4h 1 Voir
Session 26 Scripts UI v3 · Onglet Runs · Droits JMeter/Scripts · Correction XSS · Migration V31 ~4h 1 Voir
Session 27 Enforcement droits par service · 5 guards login · auto-reconnect supprimé · S11 vérifié intact ~3h 1 Voir
Session 28 Audit guards + revue code scripts-ui & jmeter-ui · fix /api/move · fix /api/sync · dead code · simple.min.js ~3h 1 Voir

Total : 28 sessions — ~163 heures


📈 Évolution de la qualité

Métrique Session 1 Session 8 Session 13 Session 26 Session 27 Session 28
Ratio erreurs Claude / temps total ~54% ~6% ~5% ~3% ~0% ~0%
Temps perdu sur erreurs ~3h15 ~25 min ~15 min ~8 min 0 0
Pattern dominant Fix théorique sans validation Incohérence JS convention Frontend/backend non aligné Affichage fichiers console brut Fichier généré manuellement (syntaxe)

🏗️ Architecture chaos — vue synthétique

Famille Service Niveaux Anomalies
Backend (sliders) CpuChaosScheduler, ChaosInterceptor 0–100% CPU, Mémoire, Threads, DB Pool, Slow Query, Deadlock, Network
Frontend (sliders) chaos-agent.js 0–100% CPU Worker, Memory Leak, DOM Flood, Fetch Flood
Scripting (tokens) SecurityTokenService 0→4 (Maestro) X-Session-Token, X-Action-Token, X-CSRF-Token, X-Step-Token, X-Signature HMAC
Métier (anomalies) BusinessChaosService 0→4 A1–A16
Fonctionnel (JVM) FunctionalChaosService 0→4 F1 NPE, F2 StackOverflow, F3 OOM, F4 Corruption silencieuse
Sécurité (OWASP) SecurityChaosService + AdminPortalController 0→4 S1–S12 (portail caché /api/admin/portal/* en N4)