Repository navigation
fix(drawer): read pending requests from busy projects at once - #87
Merged
Merged
Conversation
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
force-pushed
the
port-requests
branch
from
November 15, 2026 23:54
f4dcac9 to
211231a
Compare
Merged
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
devthe 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.Verified: new test
homeAttentionAsksHotDirectoriesAtOncefails without the fix;scripts/check.sh :server :feature:drawerpasses.