Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
187 changes: 100 additions & 87 deletions .github/workflows/daily-cli-tools-tester.lock.yml

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions .github/workflows/daily-cli-tools-tester.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ permissions:
issues: read
pull-requests: read
actions: read
copilot-requests: write
Comment thread
SivaKesava1 marked this conversation as resolved.
Resolved
tools:
cli-proxy: true
agentic-workflows:
Expand All @@ -28,8 +29,10 @@ safe-outputs:
timeout-minutes: 60
engine:
id: codex
model-provider: openai
model: openai/gpt-6-astra
model-provider: github
model-routing:
goal: cost
mode: economy
strict: true
imports:
- uses: shared/daily-audit-base.md
Expand Down
78 changes: 55 additions & 23 deletions .github/workflows/daily-spending-forecast.lock.yml

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .github/workflows/daily-spending-forecast.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ permissions:
engine:
id: codex
model-provider: github
model: copilot/gpt-6.1-sol
model-routing:
goal: cost
mode: economy
strict: true
imports:
- shared/trending-charts-simple.md
Expand Down
74 changes: 52 additions & 22 deletions .github/workflows/issue-triage-agent.lock.yml

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .github/workflows/issue-triage-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ timeout-minutes: 5
engine:
id: codex
model-provider: github
model: copilot/gpt-6-sol
model-routing:
goal: cost
mode: economy
strict: true
on:
schedule: "daily around 14:00 on weekdays" # ~2 PM UTC, weekdays only
Expand Down
184 changes: 98 additions & 86 deletions .github/workflows/schema-consistency-checker.lock.yml

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions .github/workflows/schema-consistency-checker.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ permissions:
discussions: read
issues: read
pull-requests: read
model: openai/gpt-6.1-sol
copilot-requests: write
engine:
id: codex
model-provider: openai
model-provider: github
model-routing:
goal: cost
mode: economy
max-ai-credits: 1500
tools:
cli-proxy: true
Expand Down
15 changes: 15 additions & 0 deletions pkg/workflow/model_routing_native_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,21 @@ func TestModelRoutingCopilotLocksUnchanged(t *testing.T) {
}
}
require.NotZero(t, routed, "no compiled lock has apiProxy.routing")

for name, provider := range map[string]string{
"daily-cli-tools-tester.lock.yml": "",
"schema-consistency-checker.lock.yml": "",
"daily-spending-forecast.lock.yml": "",
"issue-triage-agent.lock.yml": "",
} {
t.Run(name, func(t *testing.T) {
content, err := os.ReadFile(filepath.Join("..", "..", ".github", "workflows", name))
require.NoError(t, err)
match := routedLockRoutingPattern.FindStringSubmatch(string(content))
require.NotNil(t, match, "%s lost model routing", name)
require.Equal(t, provider, match[2], "%s routing provider", name)
})
}
}

// TestNativeRoutingSmokeEvidence checks that the native routed smokes compile to native
Expand Down
Loading