CI playbook
Test Coverage Gap Analysis
Finds untested code paths in PRs and turns the gaps into actionable test tickets.
Analyzes pull requests to identify code paths, functions, and branches that lack test coverage. Posts inline comments on uncovered code in the diff and submits a non-blocking review summarizing coverage health.
- Identifier
test-coverage-gap-analysis- Version
- 1.1.1
- Steps
- 4
- Triggers
- 2
- testing
- coverage
- quality
- automated
- review
When it runs
pull_request.opened- Settle delay
- 60s after the event
Only when all hold
- pullRequest.isDraft not equals true
- actor.username not in dependabot, renovate, github-actions
- actor.username not contains [bot]
pull_request.synchronize- Settle delay
- 90s after the event
Only when all hold
- pullRequest.isDraft not equals true
- actor.username not in dependabot, renovate, github-actions
- actor.username not contains [bot]
The pipeline
The graph below is the one the workflow opens with in the builder, same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.
- 01PR Opened / Updated
triggerThe event that starts the run.
- 02Clone Repository
git.cloneShallow-clones the repository at the right ref.
- 03Analyze Test Coverage Gaps
agent.runOne agent works the task with its toolkit.
- 04Publish Coverage Report
report.publishPosts or updates a deduplicated report comment.
The agent
Test Coverage Analyzer
- Base type
- Senior Developer
- Temperature
- 0.2
- Max iterations
- 30
- Tools
- 7
Git provider · 3
get_pull_request_diffGet Pull Request Diff · readadd_pull_request_review_threadAdd PR Review Thread · writesubmit_reviewSubmit Review · write
Filesystem · 2
read_fileRead File · readlist_dirList Directory · read
Code search · 1
code_searchCode Search · read
Status · 1
update_statusUpdate Status · write