Skip to content

chore: switch claude workflow model from opus to sonnet 4.6#1734

Merged
KRRT7 merged 1 commit intomainfrom
chore/claude-workflow-use-sonnet
Mar 3, 2026
Merged

chore: switch claude workflow model from opus to sonnet 4.6#1734
KRRT7 merged 1 commit intomainfrom
chore/claude-workflow-use-sonnet

Conversation

@aseembits93
Copy link
Contributor

Summary

  • Switch the Claude Code Action model in .github/workflows/claude.yml from us.anthropic.claude-opus-4-6-v1 to us.anthropic.claude-sonnet-4-6 (both PR review and mention jobs)
  • Sonnet 4.6 is faster and cheaper while maintaining strong performance for CI tasks

Test plan

  • Verify the workflow triggers correctly on a PR with @claude mention
  • Confirm PR review job runs successfully with the new model

🤖 Generated with Claude Code

Use claude-sonnet-4-6 instead of claude-opus-4-6 for CI cost/speed savings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the workflow-modified This PR modifies GitHub Actions workflows label Mar 3, 2026
@aseembits93
Copy link
Contributor Author

@misrasaurabh1 force merge

@KRRT7 KRRT7 merged commit ed8991a into main Mar 3, 2026
24 of 28 checks passed
@KRRT7 KRRT7 deleted the chore/claude-workflow-use-sonnet branch March 3, 2026 02:39
@claude
Copy link
Contributor

claude bot commented Mar 3, 2026

Claude finished @aseembits93's task in 4m 30s —— View job


PR Review Summary

Prek Checks

No Python files changed — only .github/workflows/claude.yml was modified. Prek skipped (no files to check). No issues.

Mypy Type Checks

No Python files changed — skipped.

Code Review

Change: .github/workflows/claude.yml — two model ID replacements:

  • us.anthropic.claude-opus-4-6-v1us.anthropic.claude-sonnet-4-6 (pr-review job)
  • us.anthropic.claude-opus-4-6-v1us.anthropic.claude-sonnet-4-6 (claude-mention job)

No bugs, security issues, or breaking changes. The model IDs are valid Bedrock model identifiers. The change is consistent across both jobs.

Duplicate Detection

No source files changed — N/A.

Test Coverage

No Python files changed — N/A.

Simplify

No changes on this branch to simplify — PR is already merged.

Optimization PRs

Checked open PRs from codeflash-ai[bot]. Summary of findings:

Stale (CONFLICTING — cannot merge):

Stale (older than 7 days):

CI failing:

Potentially viable (unit tests + most integration tests pass):

Action needed: The gh pr close commands required user approval and could not be executed automatically. Please run the following to clean up stale PRs:

gh pr close 1656 --comment "Closing stale optimization PR." --delete-branch
gh pr close 1646 --comment "Closing stale optimization PR." --delete-branch
gh pr close 1645 --comment "Closing stale optimization PR." --delete-branch
gh pr close 1566 --comment "Closing stale optimization PR." --delete-branch
gh pr close 1565 --comment "Closing stale optimization PR." --delete-branch
gh pr close 1606 --comment "Closing stale optimization PR." --delete-branch
gh pr close 1610 --comment "Closing stale optimization PR." --delete-branch
gh pr close 1644 --comment "Closing stale optimization PR." --delete-branch
gh pr close 1721 --comment "Closing stale optimization PR." --delete-branch

Last updated: 2026-03-03T02:43:07Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

workflow-modified This PR modifies GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants