agent-orchestrator/.github/workflows
Harshit Singh Bhandari 7ac1e2caa2
fix(desktop): handle Squirrel startup events + CI smoke-install the Windows build (#398)
* fix(desktop): handle Squirrel startup events + CI smoke-install the Windows build

Two Windows-install fixes.

1. Add electron-squirrel-startup handling. main.ts had no handler for the
   --squirrel-{install,updated,uninstall,obsolete} flags Squirrel runs the exe
   with during install/update/uninstall. Without it the install hook booted the
   full app (window + daemon spawn) and never exited, so the installer hung
   waiting on it. Now we create/remove shortcuts and quit immediately; it is a
   no-op on macOS/Linux.

2. Add a Windows CI smoke-install step. After the build, run Setup.exe --silent
   on the clean native x64 windows-latest runner, assert the install dir is
   created, and upload SquirrelSetup.log as an artifact. This captures the
   install log we otherwise cannot get and gives a build-vs-host verdict: a clean
   install proves the artifact is good, so a failing user machine is host-side
   (AV/disk/signing). The runner has no real-time AV, so it does NOT prove
   SmartScreen/Defender will accept the unsigned binaries on end-user machines;
   code-signing stays the durable fix.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* ci(windows): capture SquirrelSetup.log from the app dir, fix misleading warning

Update.exe writes SquirrelSetup.log into %LocalAppData%\AgentOrchestrator, not
SquirrelTemp; the smoke step looked only in SquirrelTemp and so printed
"failed before Update.exe ran" even on a successful install (exit 0, dir
created). Look in the app root dir first, fall back to SquirrelTemp, and drop
the false-failure wording.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 17:51:02 +05:30
..
cli-e2e.yml test(cli): port the E2E suite to cross-platform Go; slim the Docker harness 2026-06-01 03:14:08 +05:30
desktop-testing.yml ci: add manual/tag Linux testing build; disable desktop-testing tag trigger 2026-06-22 20:21:44 +05:30
frontend-release.yml feat(windows): ConPTY terminal, zellij discovery, agent launcher trampoline, codex shim resolution (#310) 2026-06-18 21:51:05 +05:30
frontend.yml ci: run the frontend vitest suite on pull requests (#172) 2026-06-11 12:18:55 +05:30
gitleaks.yml ci: add Go build/test and gitleaks secret-scan workflows 2026-05-26 21:02:58 +05:30
go.yml feat: automate OpenAPI spec + frontend TS type generation (issue #102) (#103) 2026-06-05 14:45:10 +05:30
prettier.yml chore: add prettier config and CI auto-formatter (#166) 2026-06-10 09:09:17 +05:30
react-doctor.yml ci(frontend): add react-doctor check for landing site (#151) 2026-06-07 07:11:35 +05:30
testing-build.yml fix(desktop): handle Squirrel startup events + CI smoke-install the Windows build (#398) 2026-06-23 17:51:02 +05:30