Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93814

lint_fuzzer_sanity_patch is ineffective in commit queue builds, which cascades into breakages in the mutational (jstestfuzz) fuzzer

    • Correctness
    • Fully Compatible
    • ALL
    • 2024-09-03, 2024-09-17
    • 200

      The GitHub commit queue runs with the changes committed and thus the diffing logic produces the empty set of files as being changed. We should either run the lint_fuzzer_sanity_all Evergreen task in commit queue builds (which scans through all JavaScript tests in the repository) or update the diffing logic to calculate the diff relative to the 10gen/mongo/master merge base.

      We should also audit whether any other lint_* Evergreen tasks rely on similar diffing logic and would be susceptible to these gaps as well.

      [2024/08/20 07:29:32.383] 2024-08-20 07:29:32 [info     ] revisions                      revision={}
      [2024/08/20 07:29:32.383] 2024-08-20 07:29:32 [info     ] Getting diff for repo          repo=/data/mci/fc8fa5e32a49a8c7dbf72894f18fc308/src/.git
      [2024/08/20 07:29:32.411] 2024-08-20 07:29:32 [debug    ] modified files                 diff=working tree diff files=set()
      [2024/08/20 07:29:32.411] 2024-08-20 07:29:32 [debug    ] added files                    diff=working tree diff files=set()
      [2024/08/20 07:29:32.411] 2024-08-20 07:29:32 [debug    ] renamed files                  diff=working tree diff files=set()
      [2024/08/20 07:29:32.411] 2024-08-20 07:29:32 [debug    ] deleted files                  diff=working tree diff files=set()
      [2024/08/20 07:29:32.420] 2024-08-20 07:29:32 [debug    ] modified files                 diff=index diff files=set()
      [2024/08/20 07:29:32.420] 2024-08-20 07:29:32 [debug    ] added files                    diff=index diff files=set()
      [2024/08/20 07:29:32.420] 2024-08-20 07:29:32 [debug    ] renamed files                  diff=index diff files=set()
      [2024/08/20 07:29:32.420] 2024-08-20 07:29:32 [debug    ] deleted files                  diff=index diff files=set()
      [2024/08/20 07:29:32.535] 2024-08-20 07:29:32 [info     ] untracked files                diff=untracked diff files=set()
      [2024/08/20 07:29:32.536] 2024-08-20 07:29:32 [info     ] Found files to lint            files=[]
      [2024/08/20 07:29:32.536] No js files had changes in them. Exiting.
      

      https://parsley.mongodb.com/evergreen/mongodb_mongo_master_commit_queue_lint_fuzzer_sanity_patch_patch_f5773fc839c65f7d431bc9cbd1807529273ea7f9_66c4427fb15e160007bac33d_24_08_20_07_15_15/0/task?bookmarks=0,1755,1767,2204&shareLine=1755

            Assignee:
            mikhail.shchatko@mongodb.com Mikhail Shchatko
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: