Fix CI failures: server tests, app typecheck, workspace schema alignment
- Fix workspace test files to use file-backed registry schema (cwd/workspaceId instead of directory/numeric id) - Remove DB-specific test setup (direct DB inserts) from snapshot-mutation test - Fix worktree-session.ts: remove duplicate createAgentWorktree call, fix imports - Fix daemon-client.test.ts and agent-manager.test.ts assertions - Fix app typecheck: add `as any` casts for web-only backgroundImage CSS - Fix session.workspace-git-watch.test.ts workspace shape - Fix workspace-reconciliation-service.test.ts registry mocks
This commit is contained in:
@@ -327,7 +327,7 @@ function WorkspaceHoverCardContent({
|
||||
styles.externalLinkOverlay,
|
||||
{
|
||||
backgroundImage: `linear-gradient(to right, transparent, ${theme.colors.surface2} 40%)`,
|
||||
},
|
||||
} as any,
|
||||
]}
|
||||
>
|
||||
<ExternalLink size={12} color={theme.colors.foreground} />
|
||||
|
||||
@@ -184,7 +184,7 @@ export function WorkspaceScriptsButton({
|
||||
styles.externalLinkOverlay,
|
||||
{
|
||||
backgroundImage: `linear-gradient(to right, transparent, ${theme.colors.surface2} 40%)`,
|
||||
},
|
||||
} as any,
|
||||
]}
|
||||
>
|
||||
<ExternalLink size={12} color={theme.colors.foreground} />
|
||||
|
||||
Reference in New Issue
Block a user