[WIP] Audit AIC usage for workflows from 2026-08-06 - #50844
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot stopped work on behalf of
pelikhan due to an error
August 6, 2026 12:45
pelikhan
marked this pull request as ready for review
August 6, 2026 15:07
Contributor
There was a problem hiding this comment.
Pull request overview
Reduces Daily VulnHunter Scan AIC usage through deterministic scoping and tighter execution limits.
Changes:
- Builds a smaller source-only bundle with ranked candidates.
- Pins scan phases and adds turn/timeout limits.
- Regenerates the compiled workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/daily-vulnhunter-scan.md |
Adds bounded bundle preparation and scan instructions. |
.github/workflows/daily-vulnhunter-scan.lock.yml |
Compiles the updated workflow configuration. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 3
- Review effort level: Balanced
Comment on lines
+53
to
+55
| find "$REPO_ROOT" -type f \ | ||
| \( -name '*_test.go' -o -name '*.test.cjs' -o -name '*.test.js' -o -name '*.test.ts' \) \ | ||
| -delete |
Comment on lines
+164
to
+166
| 2. Read `/tmp/gh-aw/agent/vulnhunter/vulnhunt/SKILL.md` for the methodology. Apply it as a | ||
| **single agent**: ignore its orchestrator/sub-agent dispatch machinery and its Phase 1 | ||
| recon instructions, which the bundle job already replaced. |
Comment on lines
+167
to
+169
| 3. Read exactly these two phase files and no others: | ||
| - `/tmp/gh-aw/agent/vulnhunter/vulnhunt/phases/phase2_class_inj.md` | ||
| - `/tmp/gh-aw/agent/vulnhunter/vulnhunt/phases/phase2b_verify.md` |
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
Daily VulnHunter Scanrun (31077438828) — it consumed 1028.56 AIC, exceeding the defaultmax-ai-credits: 1000budget and failingvulnhunter_bundlejob (only thevulnhuntskill, source-only repo snapshot) — bundle shrinks from 375 MB / 6,693 files to 21 MB / 1,786 filesscope/candidates.txt, 40 files) so the agent never explores the treemax-turns: 40,timeout-minutes: 30) without raisingmax-ai-credits.github/skills/agentic-workflows/SKILL.mdedit that referenced a non-existent file