Skip to content

[operation-graph] Require operation names, support detail in requestRun#5360

Merged
dmichon-msft merged 3 commits intomicrosoft:mainfrom
dmichon-msft:require-operation-names
Sep 15, 2025
Merged

[operation-graph] Require operation names, support detail in requestRun#5360
dmichon-msft merged 3 commits intomicrosoft:mainfrom
dmichon-msft:require-operation-names

Conversation

@dmichon-msft
Copy link
Contributor

Summary

Makes the name field required when constructing Operation instances in @rushstack/operation-graph. Updates the requestRun callback to require the requestor parameter and add a second, optional, detail parameter to be used for passing, e.g. the name of a changed file that triggered a rerun.

Details

Propagated the necessary updates into Rush and Heft.

How it was tested

Unit tests cover this functionality.

Impacted documentation

API specification for @rushstack/operation-graph

@dmichon-msft dmichon-msft enabled auto-merge (squash) September 15, 2025 20:47
@dmichon-msft dmichon-msft merged commit afd2b72 into microsoft:main Sep 15, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Sep 15, 2025
@dmichon-msft dmichon-msft deleted the require-operation-names branch September 15, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

3 participants