Build the current workspace snapshot on native CI runners

This branch snapshots the in-progress desktop workspace so GitHub-hosted Windows and Linux runners can package the same source tree that already passes local verification on macOS.

Constraint: Local Apple Silicon Docker/Wine packaging crashes before Windows artifacts are produced
Rejected: Publish from the incomplete base repo state | remote typecheck failed because current source additions were missing
Confidence: medium
Scope-risk: broad
Directive: Treat this branch as a build snapshot only; do not merge it without reviewing the unrelated workspace changes it contains
Tested: local typecheck, lint, workspace typecheck, unit tests, integration tests, e2e smoke, macOS signed release upload
Not-tested: Native Windows/Linux artifacts before this CI run
This commit is contained in:
ZacharyZhang-NY committed 2026-04-04 03:28:14 -04:00
1 parent 0e497cd892
commit b772e1c758
271 files changed
+35047 -22879

No files matched your search

+5 -5
View File
@@ -205,7 +205,7 @@ describe("task_sessions CRUD", () => {
const run1 = db.createRun({ companyId, taskId, agentId, workspaceId, connectorId: "claude_local" });
db.finishRun({
runId: run1.id,
status: "completed",
status: "succeeded",
summary: "First run done",
errorMessage: null,
exitCode: 0,
@@ -237,7 +237,7 @@ describe("task_sessions CRUD", () => {
expect(runs[0].status).toBe("failed");
expect(runs[0].errorMessage).toBe("Timeout");
expect(runs[1].id).toBe(run1.id);
expect(runs[1].status).toBe("completed");
expect(runs[1].status).toBe("succeeded");
});
});
@@ -561,7 +561,7 @@ describe("session management service", () => {
const run = db.createRun({ companyId, taskId, agentId, workspaceId, connectorId: "gemini_local" as ConnectorId });
db.finishRun({
runId: run.id,
status: "completed",
status: "succeeded",
summary: "Implemented initial logic",
errorMessage: null,
exitCode: 0,
@@ -582,7 +582,7 @@ describe("session management service", () => {
expect(handoff).toContain("# Session Handoff");
expect(handoff).toContain("Implement session rotation"); // task title
expect(handoff).toContain("## Recent Run History");
expect(handoff).toContain("completed");
expect(handoff).toContain("succeeded");
expect(handoff).toContain("15000 total tokens"); // 10000 + 5000
});
});
@@ -736,7 +736,7 @@ describe("wiring integration", () => {
function simulateRunFinishedSessionWiring(
sessionService: ReturnType<typeof createMockSessionService>,
db: {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
getActiveTaskSession: (...args: any[]) => any;
},
task: { id: string } | null,