Repository navigation
fix: preserve Dependabot burner remediation instructions - #78183
Merged
Merged
Conversation
Keep complete inline remediation prompts, constrain analysis tools, and avoid repeated retry discovery under the existing workflow permission policy. Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Preserve upstream single-worker Dependabot orchestration and parent-owned publication while retaining complete bounded worker extraction and regression coverage. Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Include base-branch commits published during conflict resolution and validation. Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The workflow’s commit ban and blanket shell shutdown after a validation denial block the Git preparation and safeoutputs commands needed to publish validated dependency updates.
1 open issue
What changed in this PR
This PR preserves Dependabot Burner’s complete remediation instructions during inline-agent extraction and tightens agent behavior within gh-aw’s instruction budget.
Changes:
- Add explicit agent boundaries, narrower tool lists, and clearer executable, denial, and retry guidance.
- Give generated jobs run-specific concurrency groups while retaining workflow-level serialization.
- Extend regression coverage for runtime extraction, prompt sizes, and compiled tool permissions.
| File | Description |
|---|---|
scripts/dependabot-burner-selection.test.cjs |
Adds runtime agent-loading, prompt-completeness, size-limit, and permission checks. |
.github/workflows/dependabot-burner.md |
Defines complete agent contracts, bounded retry handling, and a job concurrency discriminator. |
.github/workflows/dependabot-burner.lock.yml |
Refreshes generated metadata, agent tool declarations, and job concurrency groups. |
Review effort: Max (dynamic)
Check the full runtime agent identity list and rely on the exact remediator tool allowlist rather than alias-unsafe blacklist guards. Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.

Why
Dependabot Burner selected the open dependency PRs but exhausted its five tool-permission denials before remediation in run 43604134669. Separately, implicit inline-agent extraction stopped the remediator at its first H2 heading, dropping its result, validation, and PR-creation instructions.
Approach
githubandsafeoutputsexecutables, stop shell calls after a denial, and prevent nested or repeated analysis.Regressions exercise the actual runtime extraction and SDK agent loading, complete remediation sections, prompt byte limits, compiled permission policy, and previously denied probes. Existing credentials, firewall, denial budget, protected-file policy, all-ecosystem selection, and one replacement PR limit remain unchanged.
Validation
node --test scripts/dependabot-burner-selection.test.cjs scripts/workflow-tool-contracts.test.cjs: 21 tests passed.make recompile: all 368 workflows compiled; only the burner lock changed../gh-aw compile dependabot-burner --dry-run --no-check-update --json: gate and shellcheck passed with two existing nonblocking experimental notices. The committed lock is the production compilation, not the diagnostic lock.make agent-report-progress: passed, including instruction-prefix and workflow-lock freshness checks.Limitations
This fixes the audited abort and missing remediation instructions, not every dependency-validation limitation. Existing parameterized Go/Python checks can remain unavailable under the unchanged shell policy and must be reported as per-PR blockers. The workflow-specific executable contract takes precedence over generic pagination examples. No workflow was dispatched, so hosted remediation remains unverified.