-
Notifications
You must be signed in to change notification settings - Fork 6
Fix codegen-agentic-fix workflow lock file out of sync #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -33,9 +33,8 @@ tools: | |||||
| toolsets: [context, repos] | ||||||
|
|
||||||
| safe-outputs: | ||||||
| push_to_pull_request_branch: | ||||||
| max: 3 | ||||||
| add_comment: | ||||||
| push-to-pull-request-branch: | ||||||
| add-comment: | ||||||
| target: "*" | ||||||
| max: 5 | ||||||
| noop: | ||||||
|
|
@@ -204,7 +203,7 @@ For each attempt: | |||||
|
|
||||||
| ### Step 5: Push fixes | ||||||
|
|
||||||
| After `mvn verify` passes, commit all changes and use the `push_to_pull_request_branch` safe-output tool to push to PR #${{ inputs.pr_number }}: | ||||||
| After `mvn verify` passes, commit all changes and use the `push-to-pull-request-branch` safe-output tool to push to PR #${{ inputs.pr_number }}: | ||||||
|
||||||
|
|
||||||
| ```bash | ||||||
| git add -A | ||||||
|
|
@@ -213,13 +212,13 @@ git commit -m "Fix codegen and build failures after @github/copilot update | |||||
| Automated fix applied by codegen-agentic-fix workflow." | ||||||
| ``` | ||||||
|
|
||||||
| Then call the `push_to_pull_request_branch` tool to push your commits to the PR branch. | ||||||
| Then call the `push-to-pull-request-branch` tool to push your commits to the PR branch. | ||||||
|
|
||||||
| ### Step 6: Failure handling | ||||||
|
|
||||||
| If all 3 attempts fail: | ||||||
|
|
||||||
| 1. Call the `add_comment` tool on PR #${{ inputs.pr_number }} explaining: | ||||||
| 1. Call the `add-comment` tool on PR #${{ inputs.pr_number }} explaining: | ||||||
|
||||||
| 1. Call the `add-comment` tool on PR #${{ inputs.pr_number }} explaining: | |
| 1. Call the `add_comment` tool on PR #${{ inputs.pr_number }} explaining: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new rule claims that any edit to an agentic workflow
.mdwithout recompiling will cause a runtime "lock file out of sync" error, but the generated lock files themselves state that "Not all edits will cause changes to this file" and the metadata records only afrontmatter_hash. Please narrow/reword this guidance to reflect what actually triggers out-of-sync (e.g., frontmatter/tooling changes) so we don’t encode incorrect instructions for future contributors.