Repository navigation
improvement(desktop): Electron E2E for desktop tool lifetimes against a live local Sim - #8697
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
All reported issues were addressed across 5 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Turn on auto-fix | Re-trigger cubic
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
349e0ba to
e5717b0
Compare
|
@greptileai review |
|
@greptileai review |
74fa742 to
2163653
Compare
|
@greptileai review |
|
@greptileai review |
ab8109f to
6074c04
Compare
|
@greptileai review |
|
@greptileai review |
… a live local Sim Runs the real Electron app against a local Sim (Postgres, Redis, realtime) with a recording proxy and a scripted stand-in worker, covering chat switches, Stop, sign-out, approval-gated and stopped claims, and the flag-off foreground round trip. The spec skips unless a live Sim is configured; the http-e2e job provides one.
…e desktop build on the workspace disk
…in the Linux E2E step
…tcomes instead of time - Compile every route, page and client chunk the tests use in a named warm-up step before any timed hold - Send retries only while no turn reached Sim; every held request and poll is bounded - Stop and sign-out tests wait for the import's own report and assert one exact terminal state - Clicks fail fast with the dev overlay's error instead of a blocked click
…kground executor - The dormancy check accepts the app's own registrations, refused while signed out and answered as not enabled once signed in, and still forbids inbox, doorbell, claim, lease and completion - The app and realtime server run in their own sessions and stop through stop-session.sh
…ts go, and report the call's error on a wrong terminal state
… dev console notices, and keep failure diagnostics
…if Electron gave up on it, and require its 410
…ds honest, and check dormancy layer by layer - Warm-up runs the tests' own flows (read, import, a chat switch during a live turn, Stop, login) and waits until every request the app made has been answered - send() resends only when the UI did not take the message; a taken message whose turn never reaches Sim fails as a lost send - Stop and sign-out tests assert exact outcomes without holding the tool's report (the stopped tool reports nothing since #8732) - Dormancy checks registration, device records, binding, routes and the doorbell as separate soft assertions - CI: per-run E2E_APP tags, retries 0, and a path filter for pull requests
… chat pages and auth routes
…early unrelated, and fail open - The change check skips only docs, the other apps and published content; any change elsewhere, and any failure to fetch or diff the base, runs the suite - settled() discounts only requests a hold is keeping from Sim right now - The warm-up's Stop turn waits for its stream to close instead of on a promise that never settles
c1fccc0 to
5370c79
Compare
|
@greptileai review |
Summary
SIM_AGENT_API_URL.read_local_file, and an import survives chat switches (fix(mothership): keep local file tools running when the chat view changes #8666)cancelledwith no competing report (fix(mothership): keep local file tools running when the chat view changes #8666, fix(desktop): leave a stopped native file tool's outcome to Stop #8732)MONITOR.desktop-live-e2eCI job: dev app, realtime, Postgres and Redis, Xvfb,--retries=0, per-runE2E_APPtags. On pull requests it's skipped only when every change is clearly unrelated (docs, other apps, published content). If the diff can't be worked out, it runs.Type of Change
Testing
desktop-live-e2eCI job.retries: 0, no resends). After rebasing onto staging with fix(desktop): leave a stopped native file tool's outcome to Stop #8732, a 1 × 7 cold check (head merged with stagingf83d977d4) passed 7/7.Checklist