feat(workflows): add ado-task-ir-contributor agentic workflow#1004
Merged
jamesadevine merged 3 commits intoJun 14, 2026
Conversation
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
jamesadevine
June 14, 2026 12:33
View session
Collaborator
|
@copilot every 4 hour schedule |
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Contributor
Author
Done — schedule changed to |
Collaborator
|
@copilot Are the permissions correct here? Do we need to have pull request write? |
Contributor
Author
The permissions are correct. The front matter |
jamesadevine
approved these changes
Jun 14, 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.
Adds an agentic workflow that runs every 4 hours to incrementally expand typed IR coverage for Azure DevOps built-in tasks — one focused PR per run.
Summary
The IR has
Step::Task(TaskStep)as a generic escape hatch, but typed factory functions exist for only a handful of tasks (UseNode@1,UseDotNet@2, etc.). Emitting any other ADO task requires hand-craftingTaskStep::new(...)with raw string inputs. Some compiler-generatedStep::RawYamlusages could also be migrated to typed steps.The new workflow:
workflow_dispatch)ado-task-irPRs before startingTaskStepfactory functions andStep::RawYamlin non-user-YAML compiler pathslearn.microsoft.com/.../tasks/reference/for the full built-in task list; falls back to grepping tests/fixturesStep::RawYamlconversions first → fixture tasks → catalog taskscopy_files_step(src, contents, dst) -> TaskStep) with doc comment insrc/compile/ir/tasks.rsor the appropriate runtime/extension modulejq-based write to cache-memory to avoid manual JSON errorscargo build,cargo test,cargo clippymust all pass before opening a PRpull-requests: readin the agent (Stage 1) is sufficient — the compiler automatically grantspull-requests: writeto the SafeOutputs (Stage 3) job that creates the PRTest plan
gh aw compile ado-task-ir-contributorcompiles cleanly with 0 errors and 0 warnings