Pin expert review threat detector model - #10684
Merged
Merged
Conversation
Use gpt-5-mini for expert-review threat detection to avoid malformed JSON from the default detection alias. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6965c1cd-983f-48be-8e77-214c442e458c
Contributor
There was a problem hiding this comment.
Pull request overview
Pins expert-review threat detection to gpt-5-mini to prevent malformed result JSON from the default model alias.
Changes:
- Configures the shared threat-detection engine explicitly.
- Regenerates all three consuming workflows with the pinned model.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/shared/review-shared.md |
Pins the shared threat-detection model. |
.github/workflows/review.agent.lock.yml |
Regenerates command-triggered review workflow. |
.github/workflows/review-on-open.agent.lock.yml |
Regenerates automatic PR review workflow. |
.github/workflows/review-after-autofix.agent.lock.yml |
Regenerates post-autofix review workflow. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 4/4 changed files
- Comments generated: 0
- Review effort level: Balanced
Amaury Levé (Evangelink)
enabled auto-merge (squash)
August 24, 2026 10:16
Petr Pokorny (0101)
approved these changes
Aug 24, 2026
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.
The latest Expert Code Review detection run judged the workflow output safe but emitted malformed result JSON through the default detection alias, creating a
parse_errorentry in the detection tracker.Pin threat detection to
gpt-5-miniin the shared expert-review configuration and regenerate all three consuming workflows so they no longer rely on the flaky default alias.Fixes #10438