Fix CI failures: server tests, app tests, CLI typecheck

- worktree.ts: remove double-shelling in execFileAsync (shell integration tests)
- agent-manager.test: expect "closed" status after archive+close
- use-open-project.test: fix workspace ID encoding (no longer base64)
- use-agent-input-draft.live.test: add QueryClientProvider wrapper
- voice-runtime.test: align assertions with dev branch runtime changes
- ci.yml: add server build step before typecheck (CLI needs dist types)
This commit is contained in:
Mohamed Boudra
2026-04-14 05:05:54 +07:00
parent 84600609f0
commit c54e2ccabe
6 changed files with 27 additions and 13 deletions

View File

@@ -3166,7 +3166,7 @@ describe("AgentManager", () => {
id: agent.id,
archivedAt,
updatedAt: archivedAt,
lastStatus: "idle",
lastStatus: "closed",
requiresAttention: false,
attentionReason: null,
attentionTimestamp: null,

View File

@@ -329,7 +329,6 @@ async function execSetupCommand(
const { stdout, stderr } = await execFileAsync(shellInvocation.shell, shellInvocation.args, {
cwd: options.cwd,
env: options.env,
...(process.platform === "win32" ? {} : { shell: "/bin/bash" }),
});
return {
command,