The s-all task runs lint and formatting validation (dist/s_all) on the ubuntu2004 variant. It is a prerequisite for ~40 tasks (compile, test suites, etc.) via the reusable s-all-dep YAML anchor in test/evergreen.yml.
Currently, every task that uses *s-all-dep has a hard dependency on s-all. In patch builds, where developers typically schedule only a subset of tasks, s-all is often not included. This causes all dependent tasks to fail with a dependency error rather than running, even when the developer has no intent to validate formatting.
Problem
Patch builds are blocked unnecessarily when s-all is not scheduled. Developers cannot run individual compile or test tasks in a patch without also scheduling the full lint/format check.
Change
Add patch_optional: true to the s-all-dep anchor:
depends_on: &s-all-dep
- name: s-all
variant: ubuntu2004
patch_optional: true