Add test agentic workflows and integrate into build process#746
Merged
Add test agentic workflows and integrate into build process#746
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add all the test agentic workflows (test-*.md) that were removed in https://github.com/githubnext/gh-aw/commit/8476ca237c05e36eab77c82528802fa08f69b1ae and place than in the pkg/cli/workflows folder. Add a task in the makefile to compile those workflow...
Add test agentic workflows and integrate into build process
Sep 11, 2025
pelikhan
reviewed
Sep 11, 2025
| @@ -0,0 +1,629 @@ | |||
| # This file was automatically generated by gh-aw. DO NOT EDIT. | |||
Collaborator
There was a problem hiding this comment.
@copilot add .gitattributes in file to handle conflicts automatically by taking the cloud version of .lock.yml files.
Contributor
Author
There was a problem hiding this comment.
Updated .gitattributes to include pkg/cli/workflows/*.lock.yml linguist-generated=true merge=ours for automatic conflict resolution using the cloud version. Commit 1bdcc6d.
pelikhan
reviewed
Sep 11, 2025
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
pelikhan
approved these changes
Sep 11, 2025
Collaborator
|
@dsyme compiled but out of reach of actions |
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.
This PR restores the test agentic workflows that were removed in commit 8476ca2 and integrates them into the build process as requested.
Changes Made
📁 Created
pkg/cli/workflows/directory with 14 test workflow files:Claude-based workflows:
test-claude-add-issue-comment.md- Tests adding comments to GitHub issuestest-claude-add-issue-labels.md- Tests adding labels to issuestest-claude-command.md- Tests basic Claude command executiontest-claude-create-issue.md- Tests creating new GitHub issuestest-claude-create-pull-request.md- Tests creating pull requeststest-claude-create-pull-request-review-comment.md- Tests PR review commentstest-claude-create-repository-security-advisory.md- Tests security advisory creationtest-claude-mcp.md- Tests Model Context Protocol (MCP) capabilitiestest-claude-push-to-pr-branch.md- Tests pushing changes to PR branchestest-claude-update-issue.md- Tests updating existing issuesCodex-based workflows:
test-codex-add-issue-comment.md- Tests Codex issue commentingtest-codex-add-issue-labels.md- Tests Codex label managementtest-codex-command.md- Tests basic Codex command executionAI inference workflow:
test-ai-inference-github-models.md- Tests GitHub Models AI inference🔧 Updated Makefile
Modified the
recompiletarget to automatically compile test workflows using the--workflow-dirflag:This leverages the built-in
--workflow-dirfunctionality for cleaner and more efficient workflow compilation.✅ Updated .gitattributes
Added merge strategy for test workflow .lock.yml files to handle conflicts automatically:
Both locations now have the proper
merge=oursconfiguration for.lock.ymlfiles to automatically take the cloud version during conflicts.Testing
.lock.ymlfiles are properly created and trackedmake recompilecommand now includes test workflow compilation using--workflow-dirflagThese test workflows provide comprehensive coverage for testing various GitHub operations and AI engine capabilities, ensuring the agentic workflow system works correctly across different scenarios and use cases.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.