# US 2025/0165225 A1 · Predictively generating a payload for an incremental build based on code changes in a code base

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

- Number: US 2025/0165225 A1
- Document ID: US20250165225A1
- Status: Published application
- Kind: A1
- Application number: 18/516,245
- Filed: 2023-11-21
- Published: 2025-05-22
- Earliest claimed: 2023-11-21
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: David Martin PANKOWSKI; Abraham Olise EBUBE; Benjamin Andrew MIZERA; Mert DUATEPE; Nikita RESHETNIAK; Pratibha N/A
- Web page: https://patentgrep.com/patent/US20250165225A1

## CPC

- G06F 8/30: Creation or generation of source code
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Changes to code in a code base are collected and a payload generation system identifies underlying computing items where the changes were made, as well as other items that are used by the underlying items or that are generated by the underlying items. The payload generation system generates a build payload including the identified items so that a build system can generate a build artifact that reflects the aggregated changes.

## Claims

### Claim 1

A computer implemented method, comprising:
identifying a change to code in a code base;
identifying an underlying item in the code base that is modified by the change;
accessing a data source to identify a related item in the code base that is likely to change based on the identified change to the underlying item;
generating a build payload that identifies, as payload items, the underlying item and the related item; and
generating a build artifact corresponding to the build payload.

### Claim 2 (depends on 1)

The computer implemented method of claim 1 wherein accessing a data source comprises:
identifying items used to compile the payload items, wherein generating the build payload comprises identifying, as additional payload items, the items used to compile the payload items.

### Claim 3 (depends on 2)

The computer implemented method of claim 2 wherein accessing a data source comprises:
identifying items generated by the payload items when the payload items are compiled, wherein generating the build payload comprises identifying, as additional payload items, the items generated by the payload items when the payload items are compiled.

### Claim 4 (depends on 3)

The computer implemented method of claim 3 and further comprising:
recursively identifying, as recursively identified items, additional related items based on the payload items and the additional payload items, and wherein generating the build payload includes identifying as additional payload items, the recursively identified items.

### Claim 5 (depends on 1)

The computer implemented method of claim 1 wherein accessing a data source to identify a related item comprises:
identifying a path in a source tree corresponding to the code base, the path including a representation of the underlying item.

### Claim 6 (depends on 1)

The computer implemented method of claim 1 wherein accessing a data source to identify a related item comprises:
identifying dependent code used by the underlying item.

### Claim 7 (depends on 1)

The computer implemented method of claim 1 wherein identifying a change to code in a code base comprises:
identifying a prior build time at which a prior build artifact was generated; and
identifying a set of changes made to the codebase since the prior build time.

### Claim 8 (depends on 7)

The computer implemented method of claim 7 and further comprising:
repeating, for each change in the set of changes, steps of identifying an underlying item, accessing a data source, and generating the build payload.

### Claim 9 (depends on 1)

The computer implemented method of claim 1 and further comprising:
detecting a build trigger to generate the build artifact, and wherein generating the build payload comprises generating the build payload based on the build trigger.

### Claim 10 (depends on 9)

The computer implemented method of claim 9 wherein detecting a build trigger comprises:
detecting the build trigger based on time-based trigger criteria.

### Claim 11 (depends on 9)

The computer implemented method of claim 9 wherein detecting a build trigger comprises:
detecting the build trigger based on change-based trigger criteria, the change-based trigger criteria being indicative of changes to the code base.

### Claim 12

A computer system, comprising:
at least one processor; and
memory storing computer executable instructions which, when executed by the at least one processor, cause the at least one processor to perform steps, comprising:
detecting a change to code in a code base;
identifying an underlying item in the code base that is modified by the change;
accessing a data source to identify a related item in the code base that changes based on the identified change to the underlying item;
generating a build payload that identifies, as payload items, the underlying item and the related item; and
outputting the build payload to a build system for generation of a build artifact corresponding to the build payload.

### Claim 13 (depends on 12)

The computer system of claim 12, the steps further comprising:
recursively identifying, as recursively identified items, additional related items based on the payload items, and wherein generating the build payload comprises generating the build payload identifying, as additional payload items, the recursively identified items.

### Claim 14 (depends on 13)

The computer system of claim 13, the steps further comprising:
generating the build artifact based on the build payload.

### Claim 15 (depends on 12)

The computer system of claim 12 wherein accessing a data source comprises:
identifying items used to compile the payload items, wherein generating a build payload comprises identifying, as additional payload items, the items used to compile the payload items.

### Claim 16 (depends on 12)

The computer system of claim 12 wherein accessing a data source comprises:
identifying items generated by the payload items when the payload items are compiled, wherein generating the build payload comprises identifying, as additional payload items, the items generated by the payload items when the payload items are compiled.

### Claim 17 (depends on 12)

The computer system of claim 12 wherein accessing a data source to identify a related item comprises:
identifying a path in a source tree corresponding to the code base, the path including a representation of the underlying item.

### Claim 18 (depends on 12)

The computer system of claim 12 wherein accessing a data source to identify a related item comprises:
identifying dependent code used by the underlying item.

### Claim 19

A computer system, comprising:
at least one processor;
a change aggregation system, implemented by the at least one processor, detecting a change to code in a code base;
a change location identification system identifying an underlying item in the code base that is modified by the change; and
a recursive payload generator accessing a data source to identify a related item in the code base that changes based on the identified change to the underlying item, generate a build payload that identifies, as payload items, the underlying item and the related item, and outputs the build payload to a build system for generation of a build artifact corresponding to the build payload.

### Claim 20 (depends on 19)

The computer system of claim 19 wherein the recursive payload generator comprises:
a recursive processor configured to recursively identify, as recursively identified items, additional related items based on the payload items, and wherein the recursive payload generator is configured to generate the build payload identifying, as additional payload items, the recursively identified items.
