PYTHON-6282In Code Review
shrub.py silently drops allowed_requesters from task definitions
h3. Detailed steps to reproduce the problem? Pass a documented Evergreen task field to {{shrub.v3.evg_task.EvgTask}} that the model does not declare, for example {{allowed_requesters}}: Output with shrub.py 3.11.0 and pydantic 2.14.3: The constructor accepts the keyword, pydantic drops it because the model ignores extra fields, and no error surfaces. The field never reaches the generated YAML. h3. Impact Configurations that set {{allowed_requesters}} on a task silently los