Skip to content

fix(PRLT-1370): isClaudeExecutor accepts legacy 'claude' value#1259

Open
chrismcdermut wants to merge 1 commit into
mainfrom
PRLT-1370/feat/isclaudeexecutor-onl
Open

fix(PRLT-1370): isClaudeExecutor accepts legacy 'claude' value#1259
chrismcdermut wants to merge 1 commit into
mainfrom
PRLT-1370/feat/isclaudeexecutor-onl

Conversation

@chrismcdermut
Copy link
Copy Markdown
Owner

Summary

workspace_settings.execution.default_executor is seeded as 'claude' by migration 0023, but isClaudeExecutor() only matched 'claude-code'. This caused buildContainerMounts() to skip the credential bind mount in Docker agents, leaving them unable to authenticate.

Fix

isClaudeExecutor() now also returns true for the legacy 'claude' value. The cast keeps the function compatible with the strict ExecutorType union while accepting the runtime value the DB actually holds.

Test plan

  • Added regression test in execution-utils.test.ts asserting isClaudeExecutor('claude') returns true
  • Existing isClaudeExecutor tests still pass
  • pnpm build clean

Linear: PRLT-1370

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant