Skip to content

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Aug 12, 2025

fix #258241

Screen.Recording.2025-08-12.at.6.17.19.PM.mov
Screenshot 2025-08-13 at 12 58 03 PM

@meganrogge meganrogge self-assigned this Aug 12, 2025
@meganrogge meganrogge added this to the August 2025 milestone Aug 12, 2025
@meganrogge meganrogge marked this pull request as draft August 12, 2025 22:27
@meganrogge meganrogge requested a review from Tyriar August 12, 2025 23:06
@meganrogge meganrogge marked this pull request as ready for review August 12, 2025 23:06
@meganrogge meganrogge requested a review from Copilot August 12, 2025 23:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables agents to run compound tasks by adding support for handling task dependencies. The changes allow the task execution tools to resolve and track multiple terminals when running tasks that have dependencies.

Key changes:

  • Added support for resolving task dependencies and handling multiple terminals
  • Updated task execution tools to track output from all related terminals
  • Modified the task service API to handle multiple tasks/terminals instead of single instances

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
runTaskTool.ts Updated to resolve dependency tasks and handle multiple terminals for compound task execution
getTaskOutputTool.ts Modified to get output from all terminals associated with a task and its dependencies
createAndRunTaskTool.ts Enhanced to track multiple terminals and aggregate results from compound tasks
taskHelpers.ts Added resolveDependencyTasks function and updated getTaskForTool to support parent tasks
taskSystem.ts Changed interface from single terminal to multiple terminals support
taskService.ts Updated service interface to handle arrays of tasks/terminals
terminalTaskSystem.ts Implemented logic to return multiple terminal resources for task arrays
abstractTaskService.ts Updated to delegate to new multi-terminal API

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

meganrogge and others added 4 commits August 12, 2025 19:16
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@meganrogge meganrogge enabled auto-merge (squash) August 12, 2025 23:33
DonJayamanne
DonJayamanne previously approved these changes Aug 13, 2025
@meganrogge meganrogge disabled auto-merge August 13, 2025 05:10
@meganrogge meganrogge enabled auto-merge (squash) August 13, 2025 05:10
@meganrogge meganrogge disabled auto-merge August 13, 2025 05:10
Tyriar
Tyriar previously requested changes Aug 13, 2025
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
meganrogge and others added 2 commits August 13, 2025 12:37
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
@meganrogge meganrogge enabled auto-merge (squash) August 13, 2025 16:58
Tyriar
Tyriar previously approved these changes Aug 13, 2025
@meganrogge
Copy link
Contributor Author

demo.mov

@meganrogge meganrogge merged commit 1c31596 into main Aug 13, 2025
18 checks passed
@meganrogge meganrogge deleted the merogge/parent branch August 13, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow agent to run compound tasks
4 participants