[SERVER-62621] IDL compatibility checker should check brand new commands Created: 13/Jan/22  Updated: 29/Oct/23  Resolved: 25/Jan/22

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

Type: Bug Priority: Major - P3
Reporter: Huayu Ouyang Assignee: Huayu Ouyang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.2
Sprint: Replication 2022-01-24, Replication 2022-02-07
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 10/Feb/22 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-62621 IDL compatibility checker should check brand new commands
Branch: v5.2
https://github.com/mongodb/mongo/commit/4e8111d689d91a6681b19605978dc124f67d15bb

Comment by Githook User [ 25/Jan/22 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-62621 IDL compatibility checker should check brand new commands
Branch: master
https://github.com/mongodb/mongo/commit/b6dc9c4baa67a0565668fc0f2fc7567e10390725

Generated at Thu Feb 08 05:55:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.