Skip to content

Conversation

@kevinbackhouse
Copy link
Contributor

The repos that I've been testing this taskflow on have at least 10 GHSAs, which was causing it to run slowly. I've changed it so that it only analyses the most recent GHSA. I also stopped using the "lowercost" config, because the "mini" models don't seem to work well for auditing source files.

Copy link
Contributor

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 optimizes the GHSA variant analysis demo taskflow to improve performance by analyzing only the most recent GHSA instead of iterating through all GHSAs in a repository. The change also switches from the low-cost model configuration to the standard configuration for better audit quality.

  • Simplified workflow from analyzing multiple GHSAs to analyzing only the most recent one
  • Changed model configuration from model_config_lowercost to standard model_config for improved source file auditing
  • Added memcache clearing task to ensure clean state between runs

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

@kevinbackhouse kevinbackhouse merged commit 085f13e into GitHubSecurityLab:main Dec 5, 2025
12 checks passed
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.

2 participants