Repository navigation
Conversation
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2857.
When a client disconnects while Wayfire is sending it a JSON message,
write_exactfails andclient_t::send_jsonloggedError sending json to client!at error level. This is a routine event (clients such as status bars or scripts come and go), and it produced a burst of error-level log spam.This PR changes that single log call from
LOGEtoLOGWinplugins/ipc/ipc.cpp. The connection is still shut down exactly as before; only the log severity changes. Themessage too longerror path is unchanged.Tests: no regression test was added. The change is a log severity level, and the headless test harness has no facility for capturing log output, so there is nothing practical to assert against. I did not build or run the test suite in this environment (dependencies were not installed, per instructions), so this is verified by reading the diff only; CI should build and run the existing tests.
Tests not run here: meson compile / meson test: not run because build dependencies are not installed here and the instructions forbid installing them; CI will build and run the suite, uncrustify formatting check: not run because uncrustify is not installed here; the change only swaps one macro name on an existing line, so formatting is unaffected, regression test for log level: not added because the test harness has no log-capture facility, so the severity cannot be asserted
Fixes #2857