Repository navigation
chore: stop agents waiting on CI after PR - #973
Merged
Merged
Conversation
The daily automation prompts instructed agents to wait for and poll CI status checks after opening the PR (a ~15 min watch loop with a follow-up fix-commit cycle). In OpenHands Cloud this polling burns the full run budget and causes timeouts, since CI often runs longer than the agent sandbox allows. Remove the "Ensure status checks pass" step from the shared prompt template and replace it with a short completion note: the PR is the final step, and the task is complete once the commit is app-signed (verified=true) and the local checks in the formatting gate passed (task cli:lint:ci + task cli:test, which mirror the prek pre-commit hooks). The agent stops and reports the PR URL. Changes: - hack/automations/template.md.tmpl: drop the status-checks STEP block, add a one-paragraph completion statement. - hack/automations/main.go: remove the now-unused StatusStepNumber render field and its PRStepNumber+1 computation. - .agents/agents/*/agent.md: regenerated via `go run ./hack/automations` (14 files); `go run ./hack/automations -check` is clean. Verification: - go test ./hack/automations/ passes. - golangci-lint --new-from-rev=origin/main ./hack/automations/ : 0 issues. - Cloud automations synced via `go run ./hack/automations -sync` (14 synced, re-run idempotent: 14 ok). This PR was created by an AI agent on behalf of the user.
✅ Deploy Preview for devsydev canceled.
|
✅ Deploy Preview for images-devsy-sh canceled.
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 22 |
| Duplication | 0 |
AI Reviewer: run a review on demand. To trigger the first review automatically, go to your organization or repository integration settings. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
skevetter
marked this pull request as ready for review
August 10, 2026 00:00
skevetter
enabled auto-merge (squash)
August 10, 2026 00:00
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.
The daily automation prompts instructed agents to wait for and poll CI
status checks after opening the PR (a ~15 min watch loop with a follow-up
fix-commit cycle). In OpenHands Cloud this polling burns the full run
budget and causes timeouts, since CI often runs longer than the agent
sandbox allows.
Remove the "Ensure status checks pass" step from the shared prompt
template and replace it with a short completion note: the PR is the final
step, and the task is complete once the commit is app-signed (verified=true)
and the local checks in the formatting gate passed (task cli:lint:ci +
task cli:test, which mirror the prek pre-commit hooks). The agent stops
and reports the PR URL.
Changes:
add a one-paragraph completion statement.
field and its PRStepNumber+1 computation.
go run ./hack/automations(14 files);
go run ./hack/automations -checkis clean.Verification:
go run ./hack/automations -sync(14 synced, re-run idempotent: 14 ok).
This PR was created by an AI agent on behalf of the user.