# US 10,956,207 B2 · Optimizing pipeline execution scheduling based on commit activity trends, priority information, and attributes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,956,207 B2
- Document ID: US10956207B2
- Status: Granted
- Kind: B2
- Application number: 16/657,425
- Filed: 2019-10-18
- Published: 2020-02-13
- Granted: 2021-03-23
- Earliest claimed: 2017-01-13
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Matthew P. Jarvis; Aidyl M. Kareh; Vincent B. Phan
- Web page: https://patentgrep.com/patent/US10956207B2

## CPC

- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 8/70: Software maintenance or management
- G06F 11/3672: {Test management}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 8/00: Arrangements for software engineering (testing or debugging G06F11/36; administrative, planning or organisation aspects of software project management G06Q10/06)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method includes receiving, by a computing device, an event notification; determining, by the computing device, whether to immediately execute a pipeline including a commit associated with the event notification based on historical trends of commits entering the pipeline at a similar time period as a current time; and immediately executing or delaying the execution of the pipeline, by the computing device, based on the determining whether to immediately execute the pipeline.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, by a computing device, an event notification;
determining, by the computing device, whether to immediately execute a pipeline including a commit associated with the event notification based on historical trends of commits entering the pipeline at a similar time period as a current time;
determining, by the computing device, a likelihood of batching the commit for execution with other commits based on a risk level of errors;
determining, by the computing device, that the likelihood of batching is reduced in response to the risk level of errors being increased; and
immediately executing the pipeline in response to receiving the event notification during a period of historically low commit activity,
wherein the determining whether to immediately execute the pipeline is further based on the risk level of errors.

### Claim 2 (depends on 1)

The method of claim 1, further comprising delaying, by the computing device, the execution of the pipeline based on the determining whether to immediately execute the pipeline.

### Claim 3 (depends on 1)

The method of claim 1, wherein the historical trends include history of historical commits received within a target computing environment, and the historical trends include information identifying trends for when the historical commits have been received.

### Claim 4 (depends on 1)

The method of claim 1, further comprising executing the pipeline after a threshold period of time has elapsed after initially delaying the execution.

### Claim 5 (depends on 1)

The method of claim 1, further comprising executing the pipeline after receiving a subsequent event notification event after initially delaying the execution.

### Claim 6 (depends on 2)

The method of claim 2, wherein the delaying the execution causes the computing device to subsequently execute the pipeline after at least one additional commit has entered the pipeline.

### Claim 7 (depends on 1)

The method of claim 1, wherein the execution of the pipeline includes execution of an initial stage of the pipeline, the method further comprising:
determining whether to immediately execute a subsequent stage of the pipeline or delay the execution of the subsequent stage of the pipeline after executing the initial stage of the pipeline; and
immediately executing or delaying the execution of the subsequent stage of the pipeline based on the determining whether to immediately execute the subsequent stage of the pipeline or delay the execution of the subsequent stage of the pipeline.

### Claim 8 (depends on 1)

The method of claim 1, wherein the executing the pipeline includes the commit and a previous commit that has not yet been included in a pipeline execution.

### Claim 9 (depends on 1)

The method of claim 1, wherein the event notification is received from a source control management application server.

### Claim 10 (depends on 1)

The method of claim 1, wherein a service provider at least one of creates, maintains, deploys and supports the computing device.

### Claim 11 (depends on 1)

The method of claim 1, wherein the receiving the event notification, the determining whether to immediately execute the pipeline, and the immediately executing the pipeline are provided by a service provider on a subscription, advertising, and/or fee basis.

### Claim 12 (depends on 1)

The method of claim 1, wherein the computing device includes software provided as a service in a cloud environment.

### Claim 13 (depends on 1)

The method of claim 1, further comprising deploying a system for optimizing scheduling of pipeline execution, comprising providing a computer infrastructure operable to perform the receiving the event notification, the determining whether to immediately execute the pipeline, and the immediately executing the pipeline.

### Claim 14

A computer program product for optimizing scheduling of pipeline execution, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to:
receive an event notification;
determine whether to immediately execute a pipeline including a commit associated with the event notification based on a risk level of errors;
determining a likelihood of batching the commit for execution with other commits based on the risk level of errors;
determining that the likelihood of batching is reduced in response to the risk level of errors being increased; and
immediately executing the pipeline in response to receiving the event notification during a period of historically low commit activity.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein:
the program instructions further cause the computing device to determine historical trends of commits entering the pipeline at a similar time period as a current time; and
the determining whether to immediately execute the pipeline is further based on the determining the historical trends of the commits entering the pipeline.

### Claim 16 (depends on 14)

The computer program product of claim 14, wherein the determining whether to immediately execute the pipeline is further based on comments included in a message accompanying the event notification.

### Claim 17 (depends on 14)

The computer program product of claim 14, wherein the program instructions further cause the computing device to execute the pipeline after a threshold period of time has elapsed after initially delaying the execution.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the delaying the execution causes the computing device to subsequently execute the pipeline after at least one additional commit has entered the pipeline.

### Claim 19

A system comprising:
a CPU, a computer readable memory and a computer readable storage medium associated with a computing device;
program instructions to receive an event notification;
program instructions to determine whether to immediately execute a pipeline including a commit associated with the event notification based on historical activity trends of commits entering the pipeline;
program instructions to immediately execute or delay the execution of the pipeline based on the determining whether to immediately execute the pipeline;
program instructions to determine a likelihood of batching the commit for execution with other commits;
program instructions to determine that the likelihood of batching is reduced in response to a risk level of errors being increased; and
program instructions to immediately execute the pipeline in response to receiving the event notification during a period of historically low commit activity,
wherein the determining whether to immediately execute the pipeline is further based on the risk level of errors, and
the program instructions are stored on the computer readable storage medium for execution by the CPU via the computer readable memory.

### Claim 20 (depends on 19)

The system of claim 19, wherein the computer readable storage medium comprises a commit additional information repository that includes historical risk information, and
the historical activity trends include the historical risk information.
