Intelligent automatic merging of source control queue items
First Claim
1. A computer-implemented method comprising:
- receiving, in a build queue associated with a code repository, a first build request for a build of a first code revision and a second build request for a build of a second code revision;
determining a risk factor for at least one of the first build request or the second build request;
generating a request set comprising one or more of a copy of the first build request and a copy of the second build request based on the risk factor; and
inserting the request set into the build queue as a third build request to pend ahead of the first build request and the second build request.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods for intelligent automatic merging of source control queue items are performed by systems and apparatuses. Project changes are submitted in build requests to a gated check-in build queue requiring successful builds to commit changes to a code repository according to source control. Multiple pending build requests in the build queue are intelligently and automatically merged into a single, pending merged request based on risk factor values associated with the build requests. For merged requests successfully built, files in the build requests are committed and the build requests are removed from the queue. Merged requests unsuccessfully built are divided into equal subsets based on updated risk factor values using information from the unsuccessful build. Successful builds of subsets allow for committing of files and removal from the build queue, while unsuccessful builds are further divided and processed until single build requests are processed to identify root cause errors.
-
Citations
20 Claims
-
1. A computer-implemented method comprising:
-
receiving, in a build queue associated with a code repository, a first build request for a build of a first code revision and a second build request for a build of a second code revision; determining a risk factor for at least one of the first build request or the second build request; generating a request set comprising one or more of a copy of the first build request and a copy of the second build request based on the risk factor; and inserting the request set into the build queue as a third build request to pend ahead of the first build request and the second build request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
at least one first memory device configured to store program instructions; at least one second memory device configured as a code repository; and at least one processor configured to execute the program instructions, the program instructions including; build queue instructions configured to; maintain a build queue to queue received build requests and request sets, the build queue being a gated check-in build queue for access to the code repository; order the request sets in the build queue ahead of pending build requests in the build queue that are also represented in the request sets; and commit code revisions of the build requests and the request sets for which a build successfully completes; risk factor instructions configured to; determine risk factors of the build requests that are received by the system; subset instructions configured to; generate request sets, each comprising respective copies of one or more build requests pending in the build queue that are included to form the request sets, based on the risk factors; and queue optimizer instructions configured to; insert the request sets into the build queue. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A computer-readable storage medium having program instructions recorded thereon that, when executed by one or more processors, cause the one or more processors to perform a method in a client device, the method comprising:
-
receiving a first build request for a first code revision and a second build request for a second code revision in a build queue; determining a risk factor for at least one of the first build request or the second build request; generating a request set comprising one or more of a copy of the first build request and a copy of the second build request based on the risk factor for the at least one of the first build request or the second build request; and inserting the request set into the build queue as a third build request to pend ahead of the first build request and the second build request. - View Dependent Claims (17, 18, 19, 20)
-
Specification