Skip to content

Implement fork cancellation semantics#2418

Merged
curtisman merged 3 commits into
microsoft:mainfrom
curtisman:agents/can-you-implement-g17-in-the-dsl-v0-23cfd4ac
May 30, 2026
Merged

Implement fork cancellation semantics#2418
curtisman merged 3 commits into
microsoft:mainfrom
curtisman:agents/can-you-implement-g17-in-the-dsl-v0-23cfd4ac

Conversation

@curtisman
Copy link
Copy Markdown
Member

Summary

  • add shared cancellable concurrency handling for fork and forkMap execution
  • abort in-flight sibling branches or iterations on first failure and await cleanup before propagating the original error
  • mark G17 as resolved in the workflow DSL gap list

Testing

  • pnpm -C ts/examples/workflow/engine run tsc
  • pnpm -C ts/examples/workflow/engine run jest-esm --testPathPattern=".*engine[.]spec[.]js" -t "cancels in-flight"

curtisman and others added 2 commits May 29, 2026 17:44
Cancel in-flight fork and forkMap work on first failure while awaiting cleanup before propagating the original error. Add regression coverage and clear the G17 gap entry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@curtisman curtisman force-pushed the agents/can-you-implement-g17-in-the-dsl-v0-23cfd4ac branch from 7d39d25 to d2879ba Compare May 30, 2026 00:44
@curtisman curtisman requested a deployment to development-fork May 30, 2026 00:46 — with GitHub Actions Waiting
@curtisman curtisman requested a deployment to development-fork May 30, 2026 00:46 — with GitHub Actions Waiting
@curtisman curtisman added this pull request to the merge queue May 30, 2026
Merged via the queue into microsoft:main with commit e80cdbf May 30, 2026
13 of 15 checks passed
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.

1 participant