Skip to content

fix(drawer): read pending requests from busy projects at once - #87

Merged
Tarquinen merged 1 commit into
devfrom
port-requests
Nov 15, 2026
Merged

Tarquinen merged 1 commit into
devfrom
port-requests

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

The drawer asked each busy project for its pending permissions and questions one at a time, so one project still starting up held back every other project's dot. It now asks up to four at once, and the same projects in a new order no longer trigger another read.

iOS: 417e5b4c

Emulator (session-lab, four busy projects, a permission waiting in the oldest one, each pending-request read delayed 2 s): on dev the projects were read one after another (about 9 s in all) and the orange dot on that session appeared about 4.5 s after the drawer opened; with this PR all four were read at once (about 2–3 s) and the dot was there when the drawer opened.

dev vs PR, as the drawer opens

Verified: new test homeAttentionAsksHotDirectoriesAtOnce fails without the fix; scripts/check.sh :server :feature:drawer passes.

Port of iOS 417e5b4c (#298): the home attention read asked each hot
directory for its permissions and questions one after another, so one
directory booting its instance held up every other directory's dot.
It now asks up to four at once (all must succeed, as before), and the
drawer compares attention directories as sets so the same directories
in a new order don't trigger another read.

Verified: new WireRequestTests.homeAttentionAsksHotDirectoriesAtOnce
fails on the old sequential read (0 of 2 requests for the second
directory while the first is held) and passes now; vm.sh check :server
and :feature:drawer pass; ios-sync.py check reports 0 errors.
@Tarquinen
Tarquinen merged commit 47f4e1d into dev Nov 15, 2026
1 check passed
@Tarquinen Tarquinen mentioned this pull request Nov 16, 2026

This branch was previously deployed

1 inactive deployment
release — 211231ab Deployed Nov 15, 2026 by Tarquinen via check #302
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant