Skip to content

Pick up the fix that stops tabs hanging on their skeletons - #43

Merged
simonhamp merged 1 commit into
mainfrom
chore/async-completions-lock
Oct 20, 2026
Merged

simonhamp merged 1 commit into
mainfrom
chore/async-completions-lock

Conversation

@simonhamp

Copy link
Copy Markdown
Member

Since #36, the Log, Notifications, Remotes and Profile draw skeleton rows first and fill in once a no-op FirstFrame task comes back from the background thread. On a tab switch EDGE resets the event queue just before the new screen's first frame. If the task has already finished by then, its completion is thrown away, and so is its timeout, because the task did finish. With OPcache PHP builds that happens every time: every tab after the first stays on its skeleton, and the Log only fills in at its 30-second poll. Simon saw it on iOS and Android.

The fix is in mobile-air, NativePHP/mobile-air#555: the router keeps async completions across that reset. This bumps the lock to combined/dev-null-app at 5fa2cd2, which has it cherry-picked.

The lock also moves past #549 (text outline) and #551 (FlexContainer alignment), which #34 picks up too. If this merges first, #34 has nothing left to do.

Checked on Simon's iPhone 16 Pro:

  • With the OPcache PHP build: Notifications, Remotes and Profile fill in again after a tab switch.
  • With the stock 4.1.0 binaries and no OPcache: tabs still fill in. That run only went through the tabs; opening a commit, refresh, load more and the compose sheet weren't exercised.
  • mobile-air's suite passes on main and on the 4.6.0 tag with the fix applied. The app's 1013 tests pass.

🤖 Generated with Claude Code

Bumps nativephp/mobile on combined/dev-null-app to 5fa2cd2, which carries
NativePHP/mobile-air#555. A screen transition's reset dropped async
completions that came in before the new screen's first frame, so the
FirstFrame task the tabs dispatch from mount() never came back once it was
fast enough (with OPcache, always).

Also brings #549 and #551, which combined already had.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simonhamp
simonhamp merged commit ad8474f into main Oct 20, 2026
1 check passed
@simonhamp
simonhamp deleted the chore/async-completions-lock branch October 20, 2026 16:00
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