slow-ios-window's headless-false case quits DeviceHub before nuke, so a warm refill restarts it and it outlives the lane

Open Beginner friendly
#2,088 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
73/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Read e2e/slow-ios-window.test.ts around lines 190–198 and compare its cleanup order with the two clipboard cases. Check the lane requirement in toolchain.md and the cited boot step in src/drivers/ios/boot-courtesies.ts. Reproduce or trace the warm refill after nuke; done means the lane ends with pgrep -x DeviceHub finding no process.

Written by the indexing model from the issue text.

Description

bug:new
What happened

The headless-false case of e2e/slow-ios-window.test.ts quits DeviceHub in its finally before it runs nuke (e2e/slow-ios-window.test.ts:190-198). Its daemon runs the default warm pool, so a refill can finish booting after the quit, and its window step (src/drivers/ios/boot-courtesies.ts, open -g -b com.apple.dt.Devices) starts DeviceHub again. Nothing quits that one.

Lane run simlock-slow-e2e-20261203-133523.log, unified log on this Mac:

13:40:40.693 DeviceHub[32839] Handling Quit AppleEvent          <- the case's finally
13:40:47.164 open: LAUNCH (devices://manage/select, refill 4C296CD2)
13:40:47.589 DeviceHub[35444] registers                          <- started again
14:47        pgrep -x DeviceHub -> 35444, "-shutdownStartedDevicesOnQuit NO", running 1 h 06 min

The two clipboard cases run nuke first, then quit, and leave nothing behind.

What you expected

The case leaves DeviceHub not running, as the lane's iOS window line requires (toolchain.md, "pgrep -x DeviceHub finds nothing").

Logs and evidence

Found while triaging #2086. Likely fix: quit DeviceHub after nuke, as the clipboard cases do, or turn the warm pool off in that case.

Written by an agent.

Dominant language
TypeScript
Stars
730
Forks
44
Avg merge
15h 28m
Merged PRs (30d)
387

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from callstackincubator/simlock

All issues in callstackincubator/simlock

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.