Skip to content

fix(roadmap): runner agent sleeps in polling loop during test - #4162

Merged
dan-petty merged 1 commit into
mainfrom
fix/4079-runner-agent-sleeps-in-polling-loop
Nov 8, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/4079-runner-agent-sleeps-in-polling-loop

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

The eval gate test module replays the whole golden set six times, so a narrowed devops ci test run exceeds the five-minute budget of AGENTS.md rule 5, and the implement agent waits with shell sleep calls that spend tokens and keep the runner pod alive. The change cuts the replay to one per module, gives each case its own test item, and tells the agent that a shell call returns when its command ends (#4079).

Closes #4079

Change: openspec/changes/archive/2026-11-08-4079-runner-agent-sleeps-in-polling-loop/

The eval gate test module replayed the whole golden set six times, so a
narrowed test run exceeded the five-minute budget of AGENTS.md rule 5,
and the implement agent waited with shell sleep calls. This change
computes the replay once in a module-scoped fixture, gives each case its
own parametrized item, states in the implement prompt that a shell call
returns when its command ends, and records the replay rule in the testing
document.

Closes #4079

Change: `openspec/changes/archive/2026-11-08-4079-runner-agent-sleeps-in-polling-loop/`
@dan-petty
dan-petty force-pushed the fix/4079-runner-agent-sleeps-in-polling-loop branch from dbfa4c7 to 3b58ccb Compare November 8, 2026 16:38
@dan-petty
dan-petty marked this pull request as ready for review November 8, 2026 16:46
@dan-petty
dan-petty self-requested a review as a code owner November 8, 2026 16:46
@dan-petty
dan-petty merged commit ac22a60 into main Nov 8, 2026
27 of 28 checks passed
@dan-petty
dan-petty deleted the fix/4079-runner-agent-sleeps-in-polling-loop branch November 8, 2026 16:47
@dan-petty

Copy link
Copy Markdown
Owner

Check results

Head commit: 3b58ccb589f8a8604a6334f8b5f8a231748815c4

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Fail-to-Pass Check success run
Plan Check skipped run
Semantic PR title success run
Plan Check skipped run
CodeQL success run
Dependency Freshness skipped run
Test Job Duration skipped run
Semantic PR title success run
Tests & Coverage (shard 4 of 4) success run
Tests & Coverage (shard 1 of 4) success run
Changed-Test Independence success run
DevContainer Image success run
Static Analysis success run
Service Image success run
Runner Image success run
Image Pins success run
Tests & Coverage (shard 2 of 4) success run
Rule Pack Tests success run
Tests & Coverage (shard 3 of 4) success run
Third-Party Image Scan success run
Docs Site Build success run
Analyze (python) success run
Analyze (actions) success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/42501022923/job/128793649120

Skipped check: Plan Check
Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Test Job Duration

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.

fix(roadmap): runner agent sleeps in polling loop during test

1 participant