Reproduce and confirm timeout-minutes enforcement on AWF agent#24003
Closed
Reproduce and confirm timeout-minutes enforcement on AWF agent#24003
Conversation
Collaborator
|
@copilot keep working |
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/300274ea-c1c9-46f5-9054-a4d1274adb5b Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Created the reproduction workflow in commit 7668902. The new
How it works:
To trigger it: go to Actions → "Timeout Enforcement Repro" → Run workflow. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
[WIP] Reproduce and confirm timeout-minutes enforcement on AWF agent
Reproduce and confirm timeout-minutes enforcement on AWF agent
Apr 2, 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 a reproduction workflow to confirm whether
timeout-minutesis enforced on AWF agent steps, as reported in issue #23965.Changes Made
.github/workflows/timeout-enforcement-repro.md: Aworkflow_dispatch-triggered workflow that:timeout-minutes: 5on the agent stepps auxf(process tree showingrunner shell → sudo awf → Docker container → agent) and then runsleep 1800(30-minute sleep)timeout-minutesis enforced: step is cancelled at ~5 minutes and runner logs show the timeout cancellation messagetimeout-minutesis not enforced (the bug): sleep completes after 30 minutes and the agent posts findings directly to issue timeout-minutes on agent step not enforced inside AWF container #23965 viaadd_commentreport_findingsjob: Always runs after the agent job (if: always()) and posts the outcome to issue timeout-minutes on agent step not enforced inside AWF container #23965, clearly stating whether the timeout was enforced or not.github/workflows/timeout-enforcement-repro.lock.ymlgenerated viagh aw compileHow to Trigger
Go to Actions → Timeout Enforcement Repro → Run workflow.
Acceptance Criteria Coverage
report_findingsjob posts agent result (cancelled / failed / success) to issue timeout-minutes on agent step not enforced inside AWF container #23965ps auxfat the start of the agent stepreport_findingsjob)