Repository navigation
Route gh-aw#74188's workflow through cost/balanced model routing - #74200
Conversation
Co-authored-by: SivaKesava1 <[email protected]>
|
✅ 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.
|
|
✅ Ponytail Reviewer completed successfully! 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.
|
|
🧠 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. Matt Pocock Skills 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.
|
|
✅ 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.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the model-routing configuration change.
No open issues 🎉
What changed in this PR
Updates the Daily Go Test Parallelizer to use cost-focused, balanced model routing instead of a fixed model, implementing the configuration change requested in #74188. Actual savings and generated-test quality remain follow-up checks.
Changes:
- Replaces the
gpt-5.6-terrapin withcost/balancedrouting while retaining Codex and the GitHub provider. - Updates the generated workflow with router setup, runtime model metadata, and default threat-detection model selection.
- Preserves the prompt, schedule, evaluations, draft-PR behavior, and
**/*_test.gorestriction.
| File | Description |
|---|---|
.github/workflows/daily-go-test-parallelizer.md |
Enables cost/balanced routing and removes the fixed model. |
.github/workflows/daily-go-test-parallelizer.lock.yml |
Adds generated routing support and propagates the selected model to downstream jobs. |
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.
Review summary
No additional actionable findings beyond the existing review comments. The frontmatter change is narrowly scoped to enabling cost/balanced routing; generated lock changes are described in the PR metadata, but the capped diff did not expose them for independent line-level review.
🔎 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.
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 /codebase-design to the config and generated lock. No blocking issues: the routing change is small, schema-valid, and matches the existing routed workflows. Leaving this as a comment for the open GHAS prompt-injection threads.
📋 Key Themes & Highlights
Key Themes
- Prompt-injection threads (latent): the routing step and the rendered prompt are identical to four sibling workflows. This workflow only runs on
scheduleandworkflow_dispatch, and it interpolates no event text, so the risk does not apply today. Reply on the threads with this rationale. Revisit if event-driven triggers are added. - Threat-detection model:
COPILOT_MODELnow falls back to thedetectionalias, matching the same four siblings. This is intended, but it is a behavior change for the detection job, so it is worth a sentence in the PR body. - Unverified claim: I did not run
make agent-finish. The threepkg/clifailures listed in the PR body are unverified.
Positive Highlights
- ✅ Removing the pin and adding
goal: costandmode: balancedis a clean, schema-valid change. - ✅
allowed-modelsandblocked-modelsare left unset, so routing is not over-constrained. - ✅ The
.mdprompt, safe outputs and**/*_test.gorestriction are unchanged.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~7 AIC · ⊞ 5.4K
Comment /matt to run again
|
Warning The PR Finisher: merged Sous-chef head: 92467ac
|
|
🎉 This pull request is included in a new release. Release: |
Daily Go Test Parallelizer runs every 2h and is pinned to
copilot/gpt-5.6-terra. The issue estimates that routing it would cut about 3,300 AIC/week (from roughly 4,600 to 1,300 modeled AIC/week). It usesbalancedbecause a bad parallelization can introduce races and flaky tests.Frontmatter (
daily-go-test-parallelizer.md)model: copilot/gpt-5.6-terra.engineblock:**/*_test.gorestriction are unchanged.Generated lock (
daily-go-test-parallelizer.lock.yml)experimental.modelRouting: true.GH_AW_INFO_MODEL_CONFIGreportsrouting.enabled: truewith goalcostand modebalanced.gh-aw-firewall/router:0.29.5@sha256:…is now pinned and pre-pulled.GH_AW_MODEL_AGENT_CODEX: gpt-5.6-terrais replaced byGH_AW_MODEL_ROUTING: 1.model,model_effortandmodel_routing_status, taken from the routing outcome.COPILOT_MODELfalls back to the default detection model (vars.GH_AW_MODEL_DETECTION_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'detection') instead of inheriting the pin.GH_AW_ENGINE_MODELnow comes fromneeds.agent.outputs.model. Previously it was the pinned string.gpt-5.6-terrareferences remain.Known failures, unrelated to this PR
make agent-finishfails on threepkg/clitests:TestDoctorTokensRepositoryRegressionalso fails with the workflow files reverted to theirmainversions.TestDownloadWorkflowLogsForTargetsConcurrentAndResilientandTestDownloadWorkflowLogsForTargetsUsesOneWallClockTimeoutare timing-sensitive and passed when re-run on their own.Follow-up (not in this PR)
This covers the issue's "Check" section:
gh aw audit <run>against the ~57 AIC/run baseline.