Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/entrypoints/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function installClaudeCode(): Promise<void> {
return;
}

const claudeCodeVersion = "2.1.31";
const claudeCodeVersion = "2.1.42";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version bump to 2.1.42 is correct and now matches base-action/action.yml.

Minor architectural observation: this pattern of a hardcoded version string kept in sync across files via an external sed script is inherently fragile (as this bug demonstrated — 11 automated bumps missed this file). A more robust long-term approach would be to have run.ts read the version from a single source of truth (e.g., an env var set in action.yml, or a shared config file), eliminating the need for multi-file sed coordination. Not blocking for this fix, but worth considering for the future.

console.log(`Installing Claude Code v${claudeCodeVersion}...`);

for (let attempt = 1; attempt <= 3; attempt++) {
Expand Down
Loading