Set min revision and rebuilt samples