Skip to content

Increase Workflow Runtime Optimizer timeout to 30 minutes - #11602

Merged
lpcox merged 2 commits into
mainfrom
copilot/aw-fix-workflow-timeout
Nov 14, 2026
Merged

lpcox merged 2 commits into
mainfrom
copilot/aw-fix-workflow-timeout

Conversation

@lpcox

@lpcox lpcox commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Workflow Runtime Optimizer exceeded its 20-minute agent execution limit before completing its analysis.

  • Runtime budget: Raise timeout-minutes to 30 and regenerate the lock, propagating the limit to AWF execution and timeout reporting. Preserve the 60-minute outer job limit.
  • Regression coverage: Check source and compiled execution limits, plus cleanup headroom.

Permissions, sandboxing, triggers, and output limits remain unchanged.

Copilot AI linked an issue Nov 14, 2026 that may be closed by this pull request
@lpcox lpcox changed the title [WIP] Fix agent timeout in Workflow Runtime Optimizer Increase Workflow Runtime Optimizer timeout to 30 minutes Nov 14, 2026
@lpcox
lpcox marked this pull request as ready for review November 14, 2026 19:52
Copilot AI adaptive review requested due to automatic review settings November 14, 2026 19:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The review identifies no active issues with the workflow timeout update.

No open issues 🎉

What changed in this PR

Increases the Workflow Runtime Optimizer’s analysis budget to address the timeout reported in #11590, while preserving the 60-minute outer job limit.

Changes:

  • Raises the agent timeout from 20 to 30 minutes.
  • Updates compiled AWF execution settings and timeout reporting to match.
  • Adds regression checks for source and compiled step limits, plus outer-job cleanup headroom.
File Description
scripts/​ci/​workflow-runtime-workflows.test.ts Adds timeout and cleanup-headroom assertions.
.github/​workflows/​workflow-runtime-optimizer.md Sets the source timeout to 30 minutes.
.github/​workflows/​workflow-runtime-optimizer.lock.yml Propagates the new limit to execution and reporting settings.

Review effort: Balanced (dynamic)

@github-actions

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@lpcox Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@lpcox
lpcox merged commit 0b5120b into main Nov 14, 2026
37 of 40 checks passed
@lpcox
lpcox deleted the copilot/aw-fix-workflow-timeout branch November 14, 2026 20:48
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.

[aw] Workflow Runtime Optimizer: timed out

3 participants