fix(ui): preserve runtime worktree source (#1259)
Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
committed by
GitHub
co-authored by
Isaac Sanchez
parent
ef85c63336
commit
bac655ddb4
@@ -104,7 +104,7 @@ export function resolveSessionWorktreeState(
|
||||
branch: runtimeResolution.branch ?? metadata?.branch ?? null,
|
||||
headState: runtimeResolution.headState ?? 'branch',
|
||||
worktreeStatus: runtimeResolution.worktreeStatus ?? 'ready',
|
||||
worktreeSource: runtimeResolution.worktreeSource ?? metadata?.source === 'sdk' ? 'created-for-session' : 'existing',
|
||||
worktreeSource: runtimeResolution.worktreeSource ?? (metadata?.source === 'sdk' ? 'created-for-session' : 'existing'),
|
||||
legacy: false,
|
||||
degraded: runtimeResolution.degraded,
|
||||
attentionReason: runtimeResolution.attentionReason ?? null,
|
||||
|
||||
Reference in New Issue
Block a user