-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Evergreen
-
None
-
Storage Engines - Foundations
-
188.163
-
None
-
5
During the test/format CI costs analysis we've defined a preliminary set of rules on how the CI configuration should be defined for stress testing.
Once the cost reductions in this epic are implemented and the rules are agreed in WT-19160, nothing stops new configurations from gradually bringing the costs back. We should enforce the rules to avoid this regression.
One way to achieve this would be a CI check that scans evergreen.yml and verifies that all jobs follow the agreed rules. If a job doesn't follow them (e.g., it has additional copies or tests a specific feature outside a common configuration), we could require a specially formatted comment next to it, such as [JUSTIFICATION], explaining why it exists in that configuration. This could be complemented by an [EXPIRY] comment with a review date for most exceptions, so we revisit earlier decisions and reassess whether they are still justified.
When the check finds configurations that don't follow the rules, it could either post a notification in a dedicated Slack channel or become part of PR testing, preventing them from being merged into develop.
These are just some initial ideas; we should also consider whether there are better approaches.
Scope
- Explore different approaches to enforcing the rules and agree on one with the team.
- Implement the chosen approach for test/format.
- Make sure all existing jobs pass: add justifications for the agreed exceptions or file tickets to fix the rest.
- Extend the enforcement to the other stress testing suites once WT-19181 is done, or file a follow-up ticket.