Genetic variability and environmental stressors lead to inconsistent agricultural productivity. Identifying stable markers mitigates the risk of crop failure during water scarcity.