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

IDL compatibility checker should check brand new commands

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0, 5.2.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.2
    • Replication 2022-01-24, Replication 2022-02-07

      The IDL compatibility checker script currently doesn't check brand new commands that don't have a corresponding old command, which we should check because we now check that 
      all fields in the new IDL have specified the 'unstable' field .
      We should modify the script to check new commands that don't have a corresponding old command as well. 

      Or we could also modify the test_api_version_compatibility task to additionally run the script with the latest version as both the old and new directories:

       python buildscripts/idl/idl_check_compatibility.py -v --old-include src --new-include src src src

       That way brand new commands will be checked as well.

            Assignee:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: