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

+6 -4
View File
@@ -1,4 +1,6 @@
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
import type { BrowserWindow } from "electron";
import type { DesktopEvent } from "@shared/types";
// Track all constructed notification instances
const constructedNotifications: Array<{
@@ -61,9 +63,9 @@ describe("notification-service", () => {
};
service = createNotificationService({
getMainWindow: mockGetMainWindow,
emitEvent: mockEmitEvent,
logger: mockLogger,
getMainWindow: mockGetMainWindow as unknown as () => BrowserWindow | null,
emitEvent: mockEmitEvent as unknown as (event: DesktopEvent) => void,
logger: mockLogger as { info: (...args: unknown[]) => void; error: (...args: unknown[]) => void },
});
});
@@ -203,7 +205,7 @@ describe("notification-service", () => {
// emitEvent should have been called with section but no entityId
const emitCall = mockEmitEvent.mock.calls.find(
([event]: [{ type: string }]) => event.type === "notification-click",
(args: unknown[]) => (args[0] as { type?: string })?.type === "notification-click",
);
expect(emitCall).toBeDefined();
expect(emitCall![0].section).toBe("orgchart");