feat: propagate actions dependencies#4372
Open
nodeselector wants to merge 4 commits intoactions:mainfrom
Open
Conversation
ericsciple
previously approved these changes
Apr 22, 2026
ericsciple
previously approved these changes
Apr 22, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds end-to-end plumbing for workflow-level action dependency pins (“lockfile entries”) so they can be forwarded into the Launch action-resolution request.
Changes:
- Introduce
dependenciesonAgentJobRequestMessageand surface it viaExecutionContext.Global. - Extend action-resolution request contracts to include
actions_dependencies, and pass dependencies to Launch resolution calls. - Add L0 tests validating
AgentJobRequestMessagedeserialization ofdependencies.
Show a summary per file
| File | Description |
|---|---|
| src/Runner.Worker/ActionManager.cs | Forwards workflow dependencies into the Launch action resolution request. |
| src/Runner.Worker/ExecutionContext.cs | Copies workflow dependencies from the job message into GlobalContext. |
| src/Runner.Worker/GlobalContext.cs | Adds a place to store workflow-level action dependencies for the job. |
| src/Sdk/DTPipelines/Pipelines/AgentJobRequestMessage.cs | Adds serialized dependencies field with lazy-initialized public accessor. |
| src/Sdk/DTWebApi/WebApi/ActionReferenceList.cs | Adds Dependencies to the action reference list model. |
| src/Sdk/WebApi/WebApi/LaunchContracts.cs | Adds actions_dependencies to the Launch request payload contract. |
| src/Sdk/WebApi/WebApi/LaunchHttpClient.cs | Maps ActionReferenceList.Dependencies into Launch’s actions_dependencies field. |
| src/Test/L0/Sdk/RSWebApi/AgentJobRequestMessageL0.cs | Adds L0 tests for dependencies deserialization behavior. |
| src/Test/L0/Worker/ActionManagerL0.cs | Minor test setup adjustment (dictionary initialization). |
Copilot's findings
- Files reviewed: 9/9 changed files
- Comments generated: 2
ericsciple
approved these changes
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Propagate the actions dependencies into the actions resolution call.
We technically don't need to recurse in order to resolve all the actions dependencies with a well-formed pinned job and could reduce the round trips for resolution. I will leave this to another PR.
ref https://github.com/github/actions-dispatch/issues/559