[SERVER-70874] Make evergreen use generated all_feature_flags.txt from resmoke instead of generating it in evergreen Created: 26/Oct/22  Updated: 14/Nov/22  Resolved: 03/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Trevor Guidry Assignee: Trevor Guidry
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

The discussion in SERVER-63104 has leaned towards generating the all_feature_flags.txt file whenever resmoke is run with the --runAllFeatureFlagTests argument. Currently evergreen runs the script to generate this file before using this argument so we should remove it from evergreen in the places where it does not need it anymore.



 Comments   
Comment by Trevor Guidry [ 03/Nov/22 ]

This ends up being a bad idea for two reasons.

  1. The files to generate the all_feature_flags file are not passed on to the tasks that run resmoke. There are around 500 idl files that it loops through so I do not want to include 500 more files just for this file.
  2. All variants of resmoke require the all_feature_flags file, not just the all feature flag variants. They use this to determine which feature flags to disable... it is very dumb but it is how it currently works.
Generated at Thu Feb 08 06:17:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.