Skip to content

fix: ConfigureAwait(false) in UI startup caused empty UI (beta.18 regression)#426

Merged
rygel merged 1 commit intodevelopfrom
hotfix/startup-configureawait-deadlock
Mar 22, 2026
Merged

fix: ConfigureAwait(false) in UI startup caused empty UI (beta.18 regression)#426
rygel merged 1 commit intodevelopfrom
hotfix/startup-configureawait-deadlock

Conversation

@rygel
Copy link
Copy Markdown
Owner

@rygel rygel commented Mar 22, 2026

Summary

HOTFIX — beta.18 shows empty UI and never recovers.

ConfigureAwait(false) on RefreshPortAsync moved the continuation off the UI thread. FetchDataAsync then silently failed trying to update UI controls from a background thread.

Fix: remove ConfigureAwait(false), add diagnostic logging.

Test plan

  • Build succeeds
  • Manual: restart UI — data appears

🤖 Generated with Claude Code

RefreshPortAsync().ConfigureAwait(false) moved the continuation off
the UI thread. FetchDataAsync then tried to update UI controls from
a background thread, causing a silent failure. The UI showed empty
state and never recovered.

Fix: remove ConfigureAwait(false) from UI-thread code path. Add
diagnostic logging to trace the startup sequence.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rygel rygel merged commit 6abb12b into develop Mar 22, 2026
15 of 16 checks passed
@rygel rygel deleted the hotfix/startup-configureawait-deadlock branch March 22, 2026 12:54
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.

2 participants