Repository navigation
Route Ponytail Reviewer through economy model routing instead of pinning gpt-5.6-terra - #74201
Conversation
… gpt-5.6-terra Co-authored-by: SivaKesava1 <[email protected]>
|
✅ PR Code Quality Reviewer completed the code quality review. Warning threat detection engine error What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details.
|
|
✅ Test Quality Sentinel completed test quality analysis. Warning threat detection engine error What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅ Warning threat detection engine error What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details.
|
|
✅ Ponytail Reviewer completed successfully! Warning threat detection engine error What happenedThe threat detection engine failed to produce results. Review the workflow run logs for details. Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
Warning
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs for details.
Review: no blocking findings
The frontmatter change is internally consistent with the stated economy-routing intent. I found no actionable correctness, security, or reliability issue in the reviewable source diff. The generated lock-file changes were not included in the pre-fetched diff, so those generated details could not be independently assessed here.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⊞ 1.7K
Comment /review to run again
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the switch to GitHub-backed economy routing.
No open issues 🎉
What changed in this PR
Moves Ponytail Reviewer from a pinned OpenAI model to GitHub-backed economy routing to reduce advisory review costs, as requested in #74189.
Changes:
- Enables cost-focused economy routing while preserving the prompt, triggers, timeout, eval definitions, and safe outputs.
- Regenerates the lock file with routing setup, Copilot authentication, and runtime model reporting.
- Removes OpenAI inference credentials and model pins from detection and evals. Cost, quality, and timing checks remain post-merge follow-up.
| File | Description |
|---|---|
.github/workflows/ponytail-reviewer.md |
Replaces the fixed model with GitHub-backed economy routing. |
.github/workflows/ponytail-reviewer.lock.yml |
Updates generated routing, credentials, detection, and model reporting. |
Review effort: Balanced (auto)
There was a problem hiding this comment.
Warning
threat detection engine error
The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.
What happened
The threat detection engine failed to produce results.
Review the workflow run logs for details.
Skills-Based Review 🧠
Applied /diagnosing-bugs and /codebase-design to the routing change. Requesting changes because threat detection silently changes model.
📋 Key Themes & Highlights
Key Themes
- Silent detection downgrade: removing
model:moves threat detection from gpt-5.6-terra (Codex) to the mini-tierdetectionalias (Copilot). The PR description does not mention this.
Positive Highlights
- ✅ The schema and validator accept
model-provider: githubwithmodel-routingfor codex. - ✅ Recompiling the PR-head workflow reproduces the committed lock byte-for-byte with 0 warnings.
- ✅ The routing config is wired through correctly:
GH_AW_MODEL_ROUTING,GH_AW_LLM_PROVIDER: github, and no OpenAI secret in the agent job.
Verification
- Diffed base and head lock files. The detection job changed from
GH_AW_MODEL_DETECTION_CODEX: gpt-5.6-terrato aCOPILOT_MODELdefault ofdetection.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~8 AIC · ⊞ 5.4K
Comment /matt to run again
|
🎉 This pull request is included in a new release. Release: |
Ponytail Reviewer runs about 177 times a week, pinned to
openai/gpt-5.6-terra(about 2,580 modeled AIC/week). Its output is advisory review comments only, so it is a good fit foreconomyrouting. The issue estimates a saving of about 1,900–2,030 AIC/week.Workflow change (
.github/workflows/ponytail-reviewer.md)Prompt, triggers, slash command, 10-minute timeout, evals and comment-only safe outputs are unchanged. No model is pinned and no allowed/blocked models are added.
Generated lock file (
ponytail-reviewer.lock.yml)routing.enabled: true, goal: cost, mode: economy, candidate_models: ["github-copilot/gpt-*"]. The agent's AWF config setsexperimental.modelRouting: true, and the agent job getsGH_AW_MODEL_ROUTING: 1.router:0.29.5@sha256:a3cc3d09….CODEX_API_KEY/OPENAI_API_KEYsecrets, no secret-validation step, and noGH_AW_LLM_PROVIDER: openai. Inference is billed to Copilot through the existingcopilot-requests: writepermission.model,model_effortandmodel_routing_status. Downstream jobs use these values instead of the hard-coded model string.vars.GH_AW_MODEL_DETECTION_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'detection'). Evals also drop the pin.Follow-up (not in this PR)
The issue's "Check" section happens after merge:
gh aw auditon the first routed runs and compare against the ~14 AIC/run baseline.mode: balanced(up to about 130 AIC/week more).