Repository navigation
dependabot-burner: bound Go validation and shell timeouts to avoid agent timeout - #78913
Conversation
…ent timeout Run 44044481567 timed out: the remediator ran `go test -short ./pkg/...` with a 1200s shell timeout for an indirect otel bump, consuming ~12 of the 20 agent minutes. - Skip go test when every updated Go module is indirect; otherwise select importer packages with a declared grep and never use ./... or ./pkg/... - Cap worker bash timeouts at 300s; a timeout blocks only that group. - Raise timeout-minutes from 20 to 30 for headroom. Co-authored-by: Copilot App <[email protected]>
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅ Matt Pocock Skills ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
Overview
Reviewed PR head c6ca7b9b6d8f3e324ee2f634c75e91a8227a4d46 against the workflow/frontmatter contracts. The 30-minute timeout is compatible with the documented timeout-minutes field, and no specification synchronization is warranted.
Blocking finding
- The new Root Go validation instruction at
.github/workflows/dependabot-burner.md:549uses an exact import-string search that misses normal subpackage imports. This can cause required focused tests to be skipped for direct dependency updates. An inline comment describes the required module-prefix-aware matching correction.
Coverage
This was a static specification review; no tests or conformance scripts were run. The prefetched patch excludes generated lock content, so the generated lock was not independently diff-reviewed beyond its head metadata.
Generated by PR Specification Reviewer for #78913 · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.7K
Comment /review-specs to run again
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
Reviewed the changed workflow instructions and generated lock update. No actionable correctness, security, or maintainability issues were found in the changed lines. The specialist pass completed; its advisory concerns were not sufficiently grounded in the reviewed diff to warrant comments.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again
Comment MemoryPeek at saved memory (review-history)History |
There was a problem hiding this comment.
🟡 Changes recommended
The prescribed short-mode test command still runs TestLintPerformanceBudget, whose wall-clock thresholds can reject valid dependency updates in the sandbox.
1 open issue
What changed in this PR
This PR limits dependency-validation work in the Dependabot remediation workflow to leave more time for publishing results.
Changes:
- Uses build-only validation for indirect Go updates and targeted package tests for direct dependencies.
- Caps worker shell timeouts at 300 seconds and stops validation of timed-out groups without retrying.
- Raises the agent timeout from 20 to 30 minutes and refreshes the generated workflow.
| File | Description |
|---|---|
.github/workflows/dependabot-burner.md |
Defines bounded validation, timeout handling, and increased agent runtime. |
.github/workflows/dependabot-burner.lock.yml |
Updates generated timeout settings and workflow hashes. |
Review effort: Balanced (adaptive)
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd and /diagnosing-bugs to the timeout and validation-scope changes. Two advisory comments; no blocking issues.
📋 Key Themes & Highlights
Key Themes
- Enforcement gap: the 300s per-shell cap is prompt-only and not enforced by config.
- Validation scope: the
grep ... cmd pkgimporter rule is correct for the current root module, but it has no branch for an empty result and skipsinternal/,scripts/,actions/setup/, andspecs/. - Pre-existing, outside this diff: the nested
.github/workflows/go.modis a live Dependabot gomod ecosystem with no requires, and no validation rule covers it. Worth a follow-up, not a blocker for this PR.
Verification
- Reviewed committed PR head
c6ca7b9. The local working tree is dirty and reverts these changes, so it was not used as the review target. - Recompiled the PR-head source; the regenerated lock matches the committed lock except for the cron seed, which is expected in a scratch tree without a git remote.
- All 37 direct requires in root
go.modhave importers undercmd/orpkg/, so the scoping rule works for the current module.
Positive Highlights
- ✅ Explicitly forbidding
./...and./pkg/...with a stated reason keeps the validation bounded. - ✅ Timeout failure is handled as a group-level failure with a clear recovery rule.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~8 AIC · ⌖ ~2 AIC · ⊞ 6.7K
Comment /matt to run again
…, pin pip targets Run 44234218944 ended report_incomplete because: - npm tarball redirects from packagefeedproxy.microsoft.io to ms-feed-25.pkgs.visualstudio.com and *.vsblob.vsassets.io were denied by the firewall, surfacing as DEPTH_ZERO_SELF_SIGNED_CERT. - Parallel go mod tidy and make build raced on go.sum. - pip hash checks omitted the lock-header target flags and downloaded host wheels. Co-authored-by: Copilot App <[email protected]>
… case Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
|
🎉 This pull request is included in a new release. Release: |

Why run 44044481567 failed
Execute Pi CLIhit the 20-minute step timeout. Thedependabot-remediatorsubagent validated an indirectgo.opentelemetry.io/otelbump withgo test -short ./pkg/...and a 1200s shell timeout. That ran ~12 minutes (08:24→08:36). The orchestrator then had no time left to publish, so the conclusion reportedreport_incomplete.The prompt asked for tests "only for packages that import the updated module", but gave no declared way to find them. The worker said it couldn't use
go list | grep(pipelines aren't allowed), so it fell back to./pkg/....Fix
// indirect,go mod tidy/verifyplusgo build ./...is the whole validation. For a direct dependency, find importers with a declaredgrep -rlF --include=*.go '"<module>' cmd pkgand test only those packages../...and./pkg/...are forbidden.timeout-minutes: raised from 20 to 30 for headroom.The recompiled lock only changes the timeout values and hashes.
Timeout enforcement note
The 300-second bash cap in the worker prompt is advisory. The pi engine does not apply
tools.timeoutto shell commands, and its tool policy only checks commands against the allowlist, so nothing enforces a per-call limit. The hard guard istimeout-minutes: 30, which the job and pi subagents enforce throughGH_AW_TIMEOUT_MINUTES.