Recent work has brought increased clarity to the primary compile related tasks in the evergreen configuration: building the server and shell, building and running dbtest, building and running the unit tests, etc.
However, there are still several other tasks that invoke the scons compile function:
- The fuzzer tests
- The SDAM and server selection tests
- The stitch SDK build and test tasks
- Benchmarks build and test
- Integration tests
- The embedded tasks.
The embedded tasks are only built in dedicated variants, so are probably fine as is. The remaining tasks are not currently anchored to any of the main compile tasks (with the exception of the integration tests), and so run arbitrarily early in the variant execution. It would probably be better to anchor them somewhere in the dependency tree.