Skip to content

Conversation

@dmichon-msft
Copy link
Contributor

Summary

Reverts the (task|phase)(Start|Finish) hooks to be synchronous instead of asynchronous. This is meant to be a clear indicator that these hooks are really just meant for logging in in the current runtime, not performing expensive asynchronous work (which should go on the work queue).

Details

Also applies to the underlying execution engine in @rushstack/operation-graph with the (before|after)ExecuteOperation(Group)? properties on the execution context.

How it was tested

Ran all tests in the repository, including the example lifecycle plugin that exercises these hooks.

Impacted documentation

Documentation on (task|phase)(Start|Finish) hooks.

@dmichon-msft dmichon-msft merged commit 0bf6f41 into microsoft:main Sep 30, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Sep 30, 2025
@dmichon-msft dmichon-msft deleted the sync-hooks branch September 30, 2025 19:50
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