Skip to content

Fix codegen-agentic-fix: remove dependencies label requirement for PR pushes#174

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/aw-fix-codegen-agentic-workflow
Draft

Fix codegen-agentic-fix: remove dependencies label requirement for PR pushes#174
Copilot wants to merge 2 commits intomainfrom
copilot/aw-fix-codegen-agentic-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

The codegen-agentic-fix workflow was failing with push_to_pull_request_branch: Pull request is missing required labels: dependencies because the push-to-pull-request-branch safe output required the target PR to carry the dependencies label — but PRs without that label (e.g. manually-triggered runs targeting non-Dependabot PRs) caused the push to be blocked entirely.

Before the change?

  • The push-to-pull-request-branch safe output in codegen-agentic-fix.md required target PRs to carry the dependencies label (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: Removed labels: [dependencies] from push-to-pull-request-branch safe output — the workflow can now push to any PR (target: "*") regardless of labels.
  • codegen-agentic-fix.lock.yml: Regenerated via gh aw compile to reflect the updated frontmatter hash and remove the label constraint from all safe-output handler configs.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • mvn spotless:apply has been run to format the code
  • mvn clean verify passes locally

Does this introduce a breaking change?

  • Yes
  • No

Copilot AI linked an issue May 8, 2026 that may be closed by this pull request
…to-pull-request-branch

Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix codegen agentic workflow failure due to missing labels Fix codegen-agentic-fix: remove dependencies label requirement for PR pushes May 8, 2026
Copilot finished work on behalf of edburns May 8, 2026 22:27
Copilot AI requested a review from edburns May 8, 2026 22:27
@edburns
Copy link
Copy Markdown
Collaborator

edburns commented May 8, 2026

Dear @copilot ,

But there has been a subsequent run of the agentic fix that seems to have not exhibited this failure:

#177

Please investigate. Are these changes necessary? Or is the existence of issue 177 really not related to the changes in this PR 174?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 8, 2026

Dear @copilot ,

But there has been a subsequent run of the agentic fix that seems to have not exhibited this failure:
...

Issue #177 is a reference-impl-sync workflow issue — a different workflow entirely, not a subsequent run of codegen-agentic-fix. The two are unrelated.

The original failure was the codegen-agentic-fix workflow blocking its push because the target Dependabot PR lacked the dependencies label. That constraint is what this PR removes. Without this fix, any future codegen-agentic-fix run targeting a PR without that label will fail in the same way.

Copilot finished work on behalf of edburns May 8, 2026 23:18
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.

[aw] Codegen Agentic Fix failed

2 participants