Skip to content

Release v1.6.1

Choose a tag to compare

@github-actions github-actions released this 07 Jun 12:32
0ad6c4c

Summary

Activating a read model row in the Chronicle Workbench blocked the UI thread on the instances fetch: OpenDetailOverlay called BuildInstancesContent, which ran OnFetchInstances(...).GetAwaiter().GetResult() synchronously before building the overlay. The whole TUI froze for the duration of the network call, and the detail overlay only appeared once data returned.

This opens the overlay immediately with a Loading instances… placeholder, fetches off the UI thread, and updates the Instances tab when the data arrives.

Fixed

  • Read model instances now load asynchronously: the detail overlay opens immediately and the UI thread no longer blocks on the instances fetch when activating a read model row.

Changed

  • DetailOverlayWindow exposes its per-tab editors (TabEditors) so a tab’s content can be updated after Build — used to fill the Instances tab once the async fetch completes. The fetch runs on a background task (Task.Run + ConfigureAwait(false)) and the result is marshalled back onto the UI thread via EnqueueOnUIThread.

The change is confined to ReadModelsView and DetailOverlayWindow (no public API removed; DetailOverlayWindow change is additive).

Note: I could not produce a full local build — this repo’s source generators require a newer Roslyn than my local SDK ships (CS9057), so generator-emitted symbols are unavailable in my environment. The two changed files compile clean; CI with the project’s toolchain should build normally.