Make s-all dependency optional in Evergreen patch builds

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Evergreen
    • None
    • Storage Engines, Storage Engines - Transactions
    • 0.001
    • SE Transactions - 2026-05-22
    • 3

      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
      

            Assignee:
            Ravi Giri
            Reporter:
            Ravi Giri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: