test(desktop): the Linux logout e2e can hang after its last check until the job limit
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github-actions, javascript, tauri
Research direction
Start with tests/e2e/desktop-linux-logout/run.mjs, especially wd(), main() and its finally block, then inspect the workflow step named “Linux logout hold e2e” and its evidence upload step. Reproduce or simulate a DELETE request that never answers and confirm the test step ends within its limit, reports all six check results, and uploads results.json.
Written by the indexing model from the issue text.
Description
What happens
The Linux logout e2e test (tests/e2e/desktop-linux-logout/run.mjs, workflow "Linux logout hold e2e") sometimes passes all six checks and then never exits. The job hangs until its 45-minute limit and is cancelled ("The operation was canceled."), so a run where every check passed is reported as failed.
Evidence (job logs)
| Run | Branch / PR | Last line | Then |
|---|---|---|---|
| 47127927442 | feat/chat-attachments | PASS 6. at 14:37:46 |
cancelled 15:01:29 |
| 47171555477 | #268 (deb leg) | PASS 6. at 18:20:58 |
cancelled 18:59:52 |
The first two predate the #243 matrix. In the third, the apt step and the build finished normally.
Likely cause (from the script; not yet proven)
After check 6 the script runs await app.quit() then await stop(session) (run.mjs, end of main).
quit()sendswd("DELETE", base), afetchto tauri-driver with no timeout.- Check 6 has just ended the GNOME session the app ran in.
- If tauri-driver or WebKitWebDriver never answers the DELETE for that app, the
fetchwaits forever. Thefinallyblock (driver.kill(), writingresults.json) never runs, and neither doesprocess.exit.
stop() itself is bounded (5 s), and every other wait in the script has a limit.
Scope
- Give
wd()a time limit (e.g.AbortSignal.timeout(...)) so a request that is never answered fails instead of hanging. Aquit()that times out after a session-ending check should not fail the run. - Give the test step its own
timeout-minutes, so a hang fails in minutes with a named step. - Keep the evidence upload working when the test times out.
Done when
A control run in which the DELETE never answers ends within the step limit, reports the six check results, and uploads results.json.
Correction: an earlier version of this table listed run 47126828180 as a hang. It was not one: its test step passed in 1 min 42 s and uploaded its evidence. The run shows as cancelled only because a newer push superseded it. The two hangs are 47127927442 and the first attempt of 47171555477.
- Dominant language
- No language data
- Stars
- 1
- Forks
- 2
- Avg merge
- 1h 51m
- Merged PRs (30d)
- 103
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextlevelbuilder/dewee-desktop-app
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
nextlevelbuilder/dewee-desktop-app#277 · 1 comment ·
Maintainers usually reply within 1 day
-
PWA update: navigations and precached files can still hold activation after SKIP_WAITINGPossibly taken @mrgoonie claimed this today. Open
nextlevelbuilder/dewee-desktop-app#270 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
PWA update: ordinary fetches during SKIP_WAITING can still delay activation past the fallbackPossibly taken @mrgoonie claimed this today. Open
nextlevelbuilder/dewee-desktop-app#261 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 39/100
nextlevelbuilder/dewee-desktop-app#256 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 28/100
nextlevelbuilder/dewee-desktop-app#255 ·
Maintainers usually reply within 1 day
All issues in nextlevelbuilder/dewee-desktop-app
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
storytold/photocraft#20056 ·
Maintainers usually reply within 1 day
-
area:doc bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bherbruck/solvecraft#26051 ·
-
bugfix
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
storytold/designcraft#3662 ·
Maintainers usually reply within 1 day
-
type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ynput/ayon-equalizer#46 ·
-
ui
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day