Skip to content

0007 idempotence des mutations

ADR-7 — Idempotence des mutations

Décision : Toute opération qui mute un état externe (MLflow, W&B) doit être idempotente.

Invariants : - register_challenger_step : vérifie si le challenger est déjà enregistré pour ce run avant d'agir - promote_champion_step : no-op si déjà promu - Aucune mutation NE DOIT créer de doublon ou corrompre l'état si re-exécutée

Fichiers concernés : zenml_pipelines/steps/training/register_challenger_step.py, zenml_pipelines/steps/training/promote_champion_step.py