feat: add test-coverage-improver agentic workflow#344
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
✅ Coverage Check PassedOverall Coverage
Coverage comparison generated by |
| comment_repo: "" | ||
| steps: | ||
| - name: Setup Scripts | ||
| uses: githubnext/gh-aw/actions/setup@v0.36.0 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium test
| output_types: ${{ steps.collect_output.outputs.output_types }} | ||
| steps: | ||
| - name: Setup Scripts | ||
| uses: githubnext/gh-aw/actions/setup@v0.36.0 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium test
| total_count: ${{ steps.missing_tool.outputs.total_count }} | ||
| steps: | ||
| - name: Setup Scripts | ||
| uses: githubnext/gh-aw/actions/setup@v0.36.0 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium test
| success: ${{ steps.parse_results.outputs.success }} | ||
| steps: | ||
| - name: Setup Scripts | ||
| uses: githubnext/gh-aw/actions/setup@v0.36.0 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium test
| activated: ${{ (steps.check_membership.outputs.is_team_member == 'true') && (steps.check_skip_if_match.outputs.skip_check_ok == 'true') }} | ||
| steps: | ||
| - name: Setup Scripts | ||
| uses: githubnext/gh-aw/actions/setup@v0.36.0 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium test
| process_safe_outputs_temporary_id_map: ${{ steps.process_safe_outputs.outputs.temporary_id_map }} | ||
| steps: | ||
| - name: Setup Scripts | ||
| uses: githubnext/gh-aw/actions/setup@v0.36.0 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium test
Weekly agentic workflow to analyze test coverage and create PRs with tests for under-tested security-critical code paths (iptables, Squid ACL, container security, domain validation).
Changes
Workflow configuration (
.github/workflows/test-coverage-improver.md)workflow_dispatchtriggerskip-if-matchto prevent duplicate PRs when one is already opensafe-outputsfor draft PR creationnpm,cat,ls,head,tail)Phased approach in prompt
npm run test:coverage, analyze gapsKey Files
src/docker-manager.tssrc/cli.tssrc/host-iptables.tsTarget: +2-5% coverage per weekly PR, reaching 85%+ overall within 3 months.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.