Skip to content

fix(inspector): macOS headless export StatusText after async RelayCommand - #988

Merged
justcoding121 merged 2 commits into
developfrom
fix/macos-export-status-relay
Aug 30, 2026
Merged

fix(inspector): macOS headless export StatusText after async RelayCommand#988
justcoding121 merged 2 commits into
developfrom
fix/macos-export-status-relay

Conversation

@justcoding121

Copy link
Copy Markdown
Owner

Summary

macOS \ui-portable\ failed \FileExportHar_UsesScriptedPathPicker: HAR was written but \StatusText\ stayed \Ready\ because \RelayCommand\ used \ConfigureAwait(false), so post-await UI property updates ran off the Avalonia sync context (exceptions swallowed).

Fix

  • Await the command delegate without \ConfigureAwait(false)\
  • Slightly longer export status wait in headless tests

Test plan

  • .NET ui-portable macos/ubuntu/windows green
  • Unblocks Release 7.0.0-beta PR Release 7.0.0-beta #987 once merged to develop

Dispose/flush the zip before StatusText updates, surface import failures in StatusText, and wait for a readable file plus longer import completion in the headless path-picker test.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
76.9% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@justcoding121
justcoding121 merged commit aea6d0d into develop Aug 30, 2026
13 of 14 checks passed
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