This application provides a multi-environment release control method, electronic device, and storage medium, applicable to the field of
software release control technology. The method includes: capturing snapshots of each
managed object in the production environment to obtain source production snapshots and a
list of source production snapshots; reconstructing the test environment based on the source production snapshots, and archiving and packaging each
managed object in the test environment to generate candidate release versions and a candidate release
list; performing
difference analysis on the source production snapshot
list, the candidate release list, and the current production snapshot list to determine the production promotion
access control result; determining the target release version based on the production promotion
access control result and the candidate release versions; and releasing the target release version in the target environment. This application establishes the association between the source production snapshot list, the candidate release list, and the current production snapshot list, and performs three-way
verification on the managed objects, which can accurately identify the source of production drift and improve the accuracy of promotion judgment.