Repository navigation
Housekeeping: socket timeout setting wired up, profileManager back-door removed, doc tidy - #424
Merged
Merged
Conversation
… back-door, tidy docs The socket "Connection timeout" setting had a field, validation and persistence, and nothing read it: the main process waited a fixed 2 s. socket:connect now takes connTimeoutMs and uses it for both the socket timeout and the connect race, keeping 2 s as a fallback for a caller that sends none. RxSettingsView and TxSettingsView reached the display settings through rxSettings.profileManager.app.settings.displaySettings (92 sites between them), which is the only reason the settings classes exposed profileManager. Both views now take displaySettings as a prop and the getters are gone from PortSettings, RxSettings, TxSettings and DisplaySettings. GeneralSettings keeps its own; it reads app-level flags through it. Macro.ts had a literal NUL byte in the rxMatchRegex cache key, which made grep treat the file as binary; it is now the \u0000 escape. README named the e2e directory tests/. TODO.md closes the two section 3 follow-ups and marks the archived analysis blocks' checkboxes as historical.
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.
Small cleanups left over from the last few weeks.
socket:connectignored it and waited a fixed 2 s. The renderer now passesconnTimeoutMsand the main process uses it for both the socket timeout and the connect race (2 s stays as a fallback for a caller that sends none). The connection characterisation spec asserts the value is passed. CHANGELOG entry under Fixed.RxSettingsViewandTxSettingsViewtakedisplaySettingsas a prop instead of reaching it throughrxSettings.profileManager.app.settings.displaySettings(92 sites between them). That was the only reason the settings classes exposedprofileManager; the getters are gone fromPortSettings,RxSettings,TxSettingsandDisplaySettings.GeneralSettingskeeps its own since it reads app-level flags through it.Macro.tshad a literal NUL byte in therxMatchRegexcache key, sogreptreated the file as binary. Now the\u0000escape.tests/; it ise2e-tests/.npx tscclean ·npm run lint0 errors · 506/506 unit · 92/92 e2e