ci: Remove model override from warden.toml - #5419
Merged
Merged
Conversation
The org-level Warden environment only supplies WARDEN_OPENROUTER_API_KEY, so pinning the default model to anthropic/claude-opus-4-5 made every skill that actually invoked the model fail with auth_failed. Dropping the override lets skills inherit the org default model, which matches the credentials CI actually has. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
jamescrosswell
marked this pull request as ready for review
July 22, 2026 07:04
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5419 +/- ##
==========================================
+ Coverage 74.54% 74.59% +0.04%
==========================================
Files 512 512
Lines 18666 18666
Branches 3659 3659
==========================================
+ Hits 13915 13923 +8
+ Misses 3878 3868 -10
- Partials 873 875 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
dingsdax
self-requested a review
July 22, 2026 07:22
dingsdax
approved these changes
Jul 22, 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.
Summary
Warden checks have been failing "inexplicably" on PRs (e.g. #5417, #5412). The runner logs show the actual error:
Root cause: the org-level Warden workflow only supplies
WARDEN_OPENROUTER_API_KEY, but this repo'swarden.tomloverrides the default model toanthropic/claude-opus-4-5— a provider CI has no credentials for. Any skill that actually invoked the model failed withauth_failed; skills with nothing to analyze no-opped and passed, which is why failures looked intermittent (they tracked whether the diff triggered a real model call, not flakiness).Removing the
modeloverride lets skills inherit the org default (currentlyopenrouter/x-ai/grok-4.5), which matches the credentials the org workflow actually provides — and keeps the two from drifting apart again if the org default changes.#skip-changelog
🤖 Generated with Claude Code