User story #6471
Updated by François ARMAND over 9 years ago
In #6012, we implemented a trivial oracle which say if there is a need to regenerate promises or not. The only changes taken in account for that first oracle where chances who didn't require any analysis on the dependency graph of object, so that we could say if the change will lead to a modification in isolation from anything else. On that user story, we want to upgrade the oracle so that it can look for simple dependencies and don't generate promises on these cases: *Modification h2. Modification on a rule where both the starting and final state lead to a not applied rule* rule: - modification add / remove directive or change rule parameters when no groups on target - modification add / remove group or change rule parameters when no directives on target *Change h2. Change on group not used as target of an applied rule* rule i.e: any change to a group which is not used to generate promises is free *Change h2. Change on group where both the starting and final state leads to 0 nodes* nodes Because, well, that doesn't matter much *Change h2. Change on directive not used as target of an applied rule* rule same reason than for group *Change h2. Change in parameter not used* used This one may be tricky to decide and may require a full directive parameter analysis. h2.