Example project config:
If I run evergreen validate on this config, it gives this warning during CheckYamlStrict:
WARNING: yaml: unmarshal errors:
line 24: field patch_optional not found in struct model.copyType
line 24: field status not found in struct model.copyType
It gives the same error if you specify depends_on in the task definition instead of the buildvariant task list. However, if you call LoadProjectInto, the actual model.Project result has PatchOptional and Status properly populated for that dependency.