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
@@ -114,7 +114,7 @@ describe("openProjectDirectly", () => {
const tabs = collectAllTabs(layout.root);
expect(tabs).toHaveLength(1);
expect(tabs[0]?.target.kind).toBe("draft");
expect(replaceRoute).toHaveBeenCalledWith("/h/server-1/workspace/MQ");
expect(replaceRoute).toHaveBeenCalledWith("/h/server-1/workspace/1");
});
it("does not navigate or seed tabs when openProject fails", async () => {