Quality Gates
Definition of Done
Ein Modul gilt als fertig, wenn:
- es kompiliert
- Tests vorhanden und grün sind
- Package-Standard eingehalten wird
- README aktualisiert ist
- Fehlerfälle erklärt sind
- bei API-Code der Vertrag dokumentiert ist
Review-Checkliste
| Bereich | Frage |
|---|---|
| Architektur | Bleibt Domain frei von Frameworks? |
| API | Sind Fehlerantworten stabil? |
| I/O | Sind Pfade validiert und Schreibvorgänge atomar? |
| Concurrency | Gibt es Timeouts, Cancellation und Shutdown? |
| Security | Werden Secrets nie geloggt? |
| Testing | Gibt es positive und negative Fälle? |
| Betrieb | Gibt es Healthcheck und Runbook? |
Automatisierte Gates
bash scripts/package-guard.sh
mvn -B -ntp compile
mvn -B -ntp test
mvn -B -ntp package