Repository navigation
test(desktop): end-to-end checks of a built desktop app - #2809
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 seconds. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Review round 1: how each finding was handledReviewers: omo (CLEAR at 73d1560), Codex adversarial (gpt-6.1-terra, xhigh), one gate reviewer. Codex:
Re-run after the fixes: Linux lifecycle 28/29 + 1 known (#2802), Linux |
Review round 2 (Codex re-review at 24419c1): no HIGHThe fix round held: cleanup matches the run id, not command lines. Remaining findings are left as they are under this lane's one-fix-round rule; none is user-facing (they concern the test harness):
|
Gate review (omo-native-gate-reviewer) at 24419c1: APPROVEIt checked each check name against what it observes and ran a negative control for the killed-app case (with no next start, the leftover server was still alive 60 s later, so the next start is what ends it). Low notes, not blocking, left for a follow-up:
|
Deploying ovis with
|
| Latest commit: |
59990d3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a65eb309.ovis.pages.dev |
| Branch Preview URL: | https://test-desktop-e2e.ovis.pages.dev |
|
Merge note: desktop app end-to-end checks (app/electron); waited for the GitHub required checks as the local gate exempts desktop-only changes. omo CLEAR at this head, threads resolved, required checks green. |
Summary
End-to-end checks of a built desktop app (app/electron), runnable headless on Linux and from a logged-in session on macOS:
app/electron/scripts/e2e.ts. No workflow is changed; CI can call it later.Each run uses a temporary HOME with its own PATH (no herdr, no hc), hc session and user data folder, so the PC's own herdr, hc core and Ovis state are never touched. The app's main process is driven through its Node inspector (
--inspect-brk): before the app's code runs, the tray's menu andshell.openExternalare wrapped so the checks can press tray items and see what would open in the browser. On Linux withoutDISPLAYit starts its own Xvfb; withoutlibfuse.so.2the AppImage runs unpacked.Scenarios:
claude) in the app's own corekill -9of the app: the server is left behind, and the next start ends it--update(Linux): packages 0.0.1 and 0.0.2 fromstage/andout/, serves the newer one over local https, and checks download, Restart to Update, the replaced AppImage and the relaunched appA check that fails for a filed bug prints
KNOWN (#N)and does not fail the run (today: #2802).Bugs found and filed: #2802 (push notice on a fresh desktop install), #2803 (
OVIS_UPDATE_URLon a build without a feed), #2804 (AppImage needs libfuse2).Validation
bun run dist):bun scripts/e2e.ts dist/Ovis-0.4.22-x86_64.AppImage-> 28/29 passed, 1 known (Desktop app: a fresh install shows "push subscription is missing", and Turn alerts on again cannot fix it #2802);bun scripts/e2e.ts --update-> 10/10 passed; no process of the run left afterwards.bun run dist):bun scripts/e2e.ts dist/mac-arm64/Ovis.app-> 28/29 passed, 1 known (Desktop app: a fresh install shows "push subscription is missing", and Turn alerts on again cannot fix it #2802); nothing left afterwards.bun run typecheckin app/electron: clean.bun run check fast: passed.check full, Windows (the desktop app has no Windows build yet).