Repository navigation
[ci-coach] Fix built-in evals model alias failing lint - #74143
Conversation
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[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.
|
|
✅ 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.
|
|
🧠 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! 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.
|
|
✅ 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.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the evals alias scoping and API model-ID handling changes.
No open issues 🎉
What changed in this PR
This PR fixes the built-in evals alias validation failure in gh-aw while preserving the unprefixed model ID sent to the Decisions API.
Changes:
- Provider-scopes the
evalsalias ascopilot/gpt-6-luna-decisionsin both alias catalogs. - Strips the provider prefix after resolving the alias in the evals runner.
- Updates the Go test expectation to match the scoped alias.
| File | Description |
|---|---|
pkg/workflow/model_aliases_test.go |
Updates the expected built-in evals alias. |
pkg/workflow/data/model_aliases.json |
Provider-scopes the compiler’s evals alias. |
actions/setup/js/run_evals.cjs |
Removes the provider prefix from the resolved API model ID. |
actions/setup/js/model_aliases.json |
Keeps the runtime alias catalog aligned with the compiler. |
Review effort: Balanced (auto)
|
🎉 This pull request is included in a new release. Release: |
CI Optimization Proposal
Summary
Pre-flight
make lintfails invalidate-model-alias-chains: aliasevals->gpt-6-luna-decisionsis not provider-scoped.Changes
model_aliases.json(pkg/workflow/data and actions/setup/js):evalsnow resolves tocopilot/gpt-6-luna-decisions.run_evals.cjs: strip provider prefix from the resolved alias so the API request model staysgpt-6-luna-decisions.model_aliases_test.go: updated expectation.Validation Results
node scripts/validate-model-alias-chains.jspasses (61 aliases).go test ./pkg/workflow -run Alias|Evals|Fallbackpasses.vitest run_evals.test.cjspasses (31 tests).test-unitalso failed with no log; not investigated.