Repository navigation
fix(hot-reload): log unrecognized client frame at Debug not Error - #23467
Conversation
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]>
There was a problem hiding this comment.
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
ErrortoDebuginClientHotReloadProcessor.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.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23467/wasm-skia-net9/index.html |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23467/wasm-skia-net9/index.html |
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 ✅
Screenshots Compare Test Runresults.