Skip to content

[aw] Reduce Daily VulnHunter Scan AI credit usage by switching to Sonnet model - #47002

Merged
pelikhan merged 2 commits into
mainfrom
copilot/aw-increase-max-ai-credits
Jul 21, 2026
Merged

[aw] Reduce Daily VulnHunter Scan AI credit usage by switching to Sonnet model#47002
pelikhan merged 2 commits into
mainfrom
copilot/aw-increase-max-ai-credits

Conversation

CopilotAI commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Daily VulnHunter Scan exceeded its max-ai-credits guardrail (1.1K used vs 1K), causing scheduled runs to fail before completing useful output. This change lowers per-run credit consumption by moving the workflow to a lower-cost Claude model while keeping workflow behavior and scope intact.

  • Workflow model tier adjustment

    • Updated the workflow engine model in daily-vulnhunter-scan.md from claude-opus-4.6 to claude-sonnet-4.6.
    • This targets the primary cost driver observed in the failed run without changing scan logic, prompts, or output policy.
  • Compiled workflow alignment

    • Regenerated daily-vulnhunter-scan.lock.yml so runtime/evals/threat-detection references consistently use claude-sonnet-4.6.
engine:
id: claudemodel: claude-sonnet-4.6

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Triage

FieldValue
Categorychore
Risklow
Score42/100
Breakdownimpact:15 · urgency:17 · quality:10
Actionfast_track (once undrafted)

Tiny config change (2 files, +9/-9): increase max AI credits for daily VulnHunter scan. Low-risk and high-value to stop budget-related failures. Fast-track once undrafted and CI passes.

Run §29809051050

Generated by 🔧 PR Triage Agent · 59.3 AIC · ⌖ 5.53 AIC · ⊞ 5.6K ·

CopilotAI changed the title [WIP] Update max AI credits for Daily VulnHunter Scan[aw] Reduce Daily VulnHunter Scan AI credit usage by switching to Sonnet modelJul 21, 2026
CopilotAI requested a review from pelikhanJuly 21, 2026 07:14
@pelikhan
pelikhan marked this pull request as ready for review July 21, 2026 07:38
CopilotAI review requested due to automatic review settings July 21, 2026 07:38
@pelikhan
pelikhan merged commit 8070dbd into mainJul 21, 2026
@pelikhan
pelikhan deleted the copilot/aw-increase-max-ai-credits branch July 21, 2026 07:38

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Reduces Daily VulnHunter Scan costs to prevent AI-credit guardrail failures.

Changes:

  • Switches Claude Opus 4.6 to lower-cost Sonnet 4.6.
  • Regenerates the compiled workflow with consistent model references.
Show a summary per file
FileDescription
.github/workflows/daily-vulnhunter-scan.mdUpdates the configured model.
.github/workflows/daily-vulnhunter-scan.lock.ymlAligns generated runtime, evaluation, and metadata settings.

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: 0
  • Review effort level: Medium

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.15

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Daily VulnHunter Scan exceeded max AI credits

3 participants

@pelikhan