Skip to content

ci: add gh-aw agentic workflows for code health and test analysis#15

Merged
microsasa merged 3 commits intomainfrom
feat/agentic-workflows
Mar 14, 2026
Merged

ci: add gh-aw agentic workflows for code health and test analysis#15
microsasa merged 3 commits intomainfrom
feat/agentic-workflows

Conversation

@microsasa
Copy link
Owner

Initialize GitHub Agentic Workflows and add two automated agents:

  • gh-aw scaffolding: dispatcher agent, Copilot setup steps, gitattributes
  • Code health agent: daily scan for cleanup opportunities (max 2 issues/run)
  • Test analysis agent: weekly scan for test gaps (max 2 issues/run)

Both agents assign copilot to work on created issues.

Closes #12
Closes #13
Closes #14

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR initializes GitHub Agentic Workflows (gh-aw) in the repository and adds two scheduled agentic workflows intended to open issues for code health and test coverage gaps.

Changes:

  • Add gh-aw agentic workflow definitions (code-health, test-analysis) and their compiled .lock.yml workflows.
  • Add GitHub Copilot “setup steps” workflow plus VS Code configuration for authoring/running gh-aw MCP locally.
  • Add repo scaffolding for generated workflow artifacts (.gitattributes, .github/aw/actions-lock.json, dispatcher agent doc).

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
.vscode/settings.json Enables Copilot for Markdown editing (useful for authoring gh-aw workflow markdown).
.vscode/mcp.json Configures a local MCP server entry for gh aw mcp-server.
.github/workflows/code-health.md gh-aw source workflow prompt for daily code health issue creation.
.github/workflows/code-health.lock.yml Compiled GitHub Actions workflow that runs the code health agent in gh-aw/AWF.
.github/workflows/test-analysis.md gh-aw source workflow prompt for weekly test gap analysis issue creation.
.github/workflows/test-analysis.lock.yml Compiled GitHub Actions workflow that runs the test analysis agent in gh-aw/AWF.
.github/workflows/copilot-setup-steps.yml Sets up the environment for Copilot Agent with gh-aw tooling.
.github/aw/actions-lock.json Locks specific action SHAs for gh-aw-related actions.
.github/agents/agentic-workflows.agent.md Dispatcher agent documentation for working with gh-aw prompts/workflows.
.gitattributes Marks compiled .lock.yml workflows as generated and sets merge strategy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@microsasa microsasa force-pushed the feat/agentic-workflows branch from 09c8efb to 169a906 Compare March 14, 2026 01:15
Copy link
Owner Author

@microsasa microsasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed the create-agent-session max issue. The other comments (ubuntu-slim, actions/checkout@v6) are in generated lock files produced by gh aw compile — these are marked as linguist-generated in .gitattributes and shouldn't be hand-edited. ubuntu-slim is a valid GitHub-hosted runner (preview).

@microsasa microsasa force-pushed the feat/agentic-workflows branch 2 times, most recently from 83eb552 to f190bcc Compare March 14, 2026 01:22
Sasa Junuzovic and others added 3 commits March 13, 2026 18:25
- gitattributes for generated lock files
- Copilot agent dispatcher for workflow creation/debugging
- Copilot setup steps workflow (gh-aw MCP server)
- VSCode settings for Copilot markdown support
- actions-lock.json for gh-aw version tracking

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Agentic workflow that runs daily to identify cleanup opportunities.
Opens issues with root cause analysis, resolution specs, and testing
requirements. Assigns copilot to work on created issues. Max 2 issues
per run. Skips nits and anything caught by existing CI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Agentic workflow that runs weekly to identify test gaps across unit,
e2e, and integration tests. Opens issues with root cause analysis,
repro steps, and testing specs. Assigns copilot to work on created
issues. Max 2 issues per run. Skips trivial and duplicate suggestions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@microsasa microsasa force-pushed the feat/agentic-workflows branch from f190bcc to 187e86b Compare March 14, 2026 01:25
@microsasa microsasa merged commit 9bd225d into main Mar 14, 2026
5 checks passed
@microsasa microsasa deleted the feat/agentic-workflows branch March 16, 2026 07:08
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.

ci: weekly test suite analysis agent ci: daily code health analysis agent ci: initialize gh-aw agentic workflows

2 participants