Skip to content

fix(hot-reload): log unrecognized client frame at Debug not Error - #23467

Merged
nickrandolph merged 1 commit into
masterfrom
dev/vatsa/hotreload-unknown-frame-log-level
Jun 18, 2026
Merged

nickrandolph merged 1 commit into
masterfrom
dev/vatsa/hotreload-unknown-frame-log-level

Conversation

@vatsashah45

@vatsashah45 vatsashah45 commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue: closes https://github.com/unoplatform/studio.live/issues/2620

PR Type:

🐞 Bugfix
✨ Feature
🎨 Code style update (formatting)
🔄 Refactoring (no functional changes, no api changes)

What changed? 🚀

The hot-reload client logged every frame whose Name it does not handle at Error. A frame can legitimately arrive on a scope this client participates in while being addressed to a different consumer (e.g. host-only diagnostics frames relayed over a shared scope). Those are benign and expected, so surfacing them as red console errors is misleading. Log them at Debug.

PR Checklist ✅

The hot-reload client logged every frame whose Name it does not handle at
Error. A frame can legitimately arrive on a scope this client participates
in while being addressed to a different consumer (e.g. host-only diagnostics
frames relayed over a shared scope). Those are benign and expected, so
surfacing them as red console errors is misleading. Log them at Debug.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@vatsashah45 vatsashah45 self-assigned this Jun 15, 2026
Copilot AI review requested due to automatic review settings June 15, 2026 17:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts Hot Reload client logging so that frames on the shared hot-reload scope that aren’t handled by this client are treated as benign noise rather than errors, reducing misleading “red” console output.

Changes:

  • Downgrade “unknown frame” logging from Error to Debug in ClientHotReloadProcessor.ProcessFrame.
  • Add inline rationale explaining why unrecognized frame names can be expected in shared scopes.

Process note (PR metadata):

  • The PR description currently says closes # (missing issue number/link). Per repo guidelines, this should be a fully-qualified issue URL (e.g., Closes https://github.com/unoplatform/uno/issues/<number>), or a note stating there is no related issue.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@unodevops

Copy link
Copy Markdown
Contributor

@vatsashah45
vatsashah45 marked this pull request as ready for review June 15, 2026 19:31
@unodevops

Copy link
Copy Markdown
Contributor

@nickrandolph
nickrandolph merged commit c651ed4 into master Jun 18, 2026
66 of 67 checks passed
@nickrandolph
nickrandolph deleted the dev/vatsa/hotreload-unknown-frame-log-level branch June 18, 2026 13:12
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.

4 participants