Repository navigation
[ca] chore: update Claude Code CLI to 2.1.318 #75838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,7 +32,7 @@ func (v Version) IsValid() bool { | |
| type ModelName string | ||
|
|
||
| // DefaultClaudeCodeVersion is the default version of the Claude Code CLI. | ||
| const DefaultClaudeCodeVersion Version = "2.1.317" | ||
| const DefaultClaudeCodeVersion Version = "2.1.318" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [/diagnosing-bugs] This pin bump does not take effect yet, and CI will fail. The committed 💡 FixRun @copilot please address this. |
||
|
|
||
| // DefaultCopilotVersion is the default version of the GitHub Copilot CLI. | ||
| // | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,7 @@ func TestDefaultCLIMCPVersions(t *testing.T) { | |
| got Version | ||
| want Version | ||
| }{ | ||
| {"Claude Code", DefaultClaudeCodeVersion, "2.1.317"}, | ||
| {"Claude Code", DefaultClaudeCodeVersion, "2.1.318"}, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [/tdd] This test passes even while the lock files pin the old version, so it cannot catch the drift above. It only checks the constant against a duplicate literal. 💡 Suggested coverageKeep this assertion. Consider adding a test that reads the committed @copilot please address this. |
||
| {"Copilot CLI", DefaultCopilotVersion, "1.0.103"}, | ||
| {"Copilot SDK", DefaultCopilotSDKVersion, "1.0.16"}, | ||
| {"Codex", DefaultCodexVersion, "0.166.0"}, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pin bump also requires regenerating and committing the checked-in
.lock.ymlworkflows. The current lock files still embed 2.1.317 (781 matches across 65 files), so merged workflows continue installing/reporting the old CLI and the repository becomes inconsistent until a later recompile. Please include the generated lock updates, or otherwise ensure the merge updates them atomically with this constant.