Files
mockupAWS/docs/bug_ledger.md
Luca Sacchi Ricciardi 59e5cf48f0 feat: initial project setup with scenarios, database and web ui
Add complete mockupAWS platform for AWS cost estimation:
- FastAPI backend with scenario management
- PostgreSQL database schema for scenarios, metrics, logs
- AWS pricing table with real pricing data
- React frontend dashboard (planned)
- PII detection and token counting
- Report generation (PDF/CSV)
- Complete test suite with pytest
- Docker Compose setup
- Documentation: README, PRD, Architecture
- OpenCode configuration (.opencode/)
2026-04-07 12:52:18 +02:00

37 lines
881 B
Markdown

# Bug Ledger
> Registro dei bug complessi risolti con sintomo, causa, soluzione e prevenzione.
## Formato
```markdown
## YYYY-MM-DD: [Titolo Bug]
**Sintomo:** [Descrizione sintomo]
**Causa:** [Root cause]
**Soluzione:** [Fix applicato]
**Prevenzione:** [Come evitare in futuro]
```
---
## Esempio Template
## 2026-04-05: Race condition in webhook dispatch
**Sintomo:** Webhook duplicati inviati sotto carico elevato
**Causa:** Manca meccanismo di lock nel dispatcher, richieste concorrenti causano doppia delivery
**Soluzione:**
- Aggiunto `asyncio.Lock()` nel dispatcher
- Sequentializza invio webhook per lo stesso evento
**Prevenzione:**
- Test di carico obbligatori per componenti async
- Code review focus su race condition
- Documentare comportamento thread-safe nei docstring
---
*Aggiungere nuovi bug in ordine cronologico decrescente (più recente in cima)*