Skip to content

Remove browser CustomEvent publishing from ObservableQueryDiagnostics#2261

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-observable-query-diagnostics-error
Closed

Remove browser CustomEvent publishing from ObservableQueryDiagnostics#2261
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-observable-query-diagnostics-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 28, 2026

Summary

ObservableQueryDiagnostics was publishing a browser CustomEvent on every snapshot, which crashes on React Native/Hermes where CustomEvent is not available. This change removes that browser event path and keeps diagnostics transport purely API-based.

private _publishSnapshot(snapshot: ObservableQueryDiagnosticsSnapshot): void {
    this._snapshots.next(snapshot);
}

Added

Changed

Fixed

Removed

Security

Deprecated

Copilot AI changed the title [WIP] Fix ObservableQueryDiagnostics crash on React Native / Hermes Remove browser CustomEvent publishing from ObservableQueryDiagnostics May 28, 2026
Copilot finished work on behalf of einari May 28, 2026 08:26
Copilot AI requested a review from einari May 28, 2026 08:26
@github-actions
Copy link
Copy Markdown

NuGet packages for this PR, e.g. Cratis.Arc:
https://github.com/cratis/arc/packages/1655206?version=20.30.0

@einari einari closed this May 31, 2026
@einari einari deleted the copilot/fix-observable-query-diagnostics-error branch May 31, 2026 08:09
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.

ObservableQueryDiagnostics crashes on React Native / Hermes due to missing CustomEvent

2 participants