[SERVER-79141] Remove deprecated numSourceFiles option in jstestfuzz repo Created: 19/Jul/23 Updated: 27/Oct/23 Resolved: 20/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Trevor Guidry | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Development Platform
|
| Participants: |
| Description |
|
This option is causes issues as shown in https://jira.mongodb.org/browse/SERVER-79065
It was kept and deprecated to not cause test failures. It should be removed once we are confident that we have updated all of the usages of this on all versions. |
| Comments |
| Comment by Max Hirschhorn [ 20/Jul/23 ] |
|
I'm not aware of the --numSourceFiles option to the mutational (jstestfuzz) fuzzer being deprecated. Can someone please fill me in here? What I expect the lint_fuzzer_sanity_patch Evergreen task is attempting to achieve by specifying --numSourceFiles == number of files in the --jsTestsDir directory is to ensure every new and modified file is guaranteed to be sourced from as part of generating the fuzzer test files. Without --numSourceFiles there would be some probability (perhaps vanishingly small) that a problematic change to a test file would go unnoticed by the lint_fuzzer_sanity_patch Evergreen task because the test file isn't used or isn't mutated in a particular way by the mutational (jstestfuzz) fuzzer. |