Fix codegen-agentic-fix: remove dependencies label requirement for PR pushes#174
Conversation
…to-pull-request-branch Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
dependencies label requirement for PR pushes
Issue #177 is a reference-impl-sync workflow issue — a different workflow entirely, not a subsequent run of The original failure was the |
There was a problem hiding this comment.
Pull request overview
This PR updates the codegen-agentic-fix agentic workflow configuration so that the Safe Output push-to-pull-request-branch is no longer gated on the target PR having the dependencies label, preventing manual workflow runs from being blocked on non-Dependabot PRs.
Changes:
- Removed the
labels: [dependencies]requirement from thepush-to-pull-request-branchsafe-output configuration in the workflow source. - Regenerated the compiled workflow lock file to reflect the updated frontmatter hash and Safe Outputs configuration (including removal of the label constraint).
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/codegen-agentic-fix.md | Removes the Safe Outputs label requirement so pushes aren’t blocked on PR labeling. |
| .github/workflows/codegen-agentic-fix.lock.yml | Regenerated compiled workflow to match the updated Safe Outputs frontmatter/config. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 1
|
@copilot some relevant code was merged to Please incorporate that code into your work here and re-evaluate its necessity, especially your review comment #174 (comment) . You'll need to re-run an agentic session to do this work. |
…n-agentic-workflow Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Merged Regarding the reviewer comment about the The |
Instead of removing the labels:[dependencies] safety constraint from the codegen-agentic-fix safe-output, fix the root cause: the PR created by update-copilot-dependency.yml was missing the label. Now the PR is created with --label dependencies, matching the safe-output constraint. Recompile codegen-agentic-fix.lock.yml.
The
codegen-agentic-fixworkflow was failing withpush_to_pull_request_branch: Pull request is missing required labels: dependenciesbecause thepush-to-pull-request-branchsafe output required the target PR to carry thedependencieslabel — but PRs without that label (e.g. manually-triggered runs targeting non-Dependabot PRs) caused the push to be blocked entirely.Before the change?
push-to-pull-request-branchsafe output incodegen-agentic-fix.mdrequired target PRs to carry thedependencieslabel (labels: [dependencies]), causing the workflow to fail with a label mismatch error when run against PRs that don't have that label.After the change?
codegen-agentic-fix.md: Removedlabels: [dependencies]frompush-to-pull-request-branchsafe output — the workflow can now push to any PR (target: "*") regardless of labels.codegen-agentic-fix.lock.yml: Regenerated viagh aw compileto reflect the updated frontmatter hash and remove the label constraint from all safe-output handler configs.maincommits (PR Close stale sync PRs in reference-impl-sync agentic workflow #186 reference-impl-sync cleanup and related changes); the fix remains intact post-merge.Pull request checklist
mvn spotless:applyhas been run to format the codemvn clean verifypasses locallyDoes this introduce a breaking change?