You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retire mobile picker requests on worker failure and preserve same-frame request options #2206
The mobile shell retains two request-lifecycle gaps on current main:
open_waiting moves reads into a worker. If Builder::spawn fails, it deletes unread copies and reports each failure, but never sends the empty DXF answer that terminates the outstanding dxf:N dialog request. The dialog can remain waiting and retain a request slot.
raw_input_hook snapshots Kept only when a picker is already up before the frame. If two picker requests occur in one UI frame, the first may be accepted and the second refused while kept is still None. The second request can overwrite the first request's pending options with nothing to restore afterward.
Capture accepted request options when admission occurs and retire every accepted DXF request on worker-start failure. Use a fake Phone/request harness to test two same-frame requests and an injected worker-start failure, asserting the first options survive, every request terminates, and no temporary copies remain.
Verified on ce40749 in apps/rustgis-mobile/src/shell.rs:292-310,432-436,489.
Source discussions: #2072 (comment); #2072 (comment) Duplicate search: all-state picker DXF spawn found no dedicated issue; #1902 broadly tracks mobile work.
Activity