[codex] fix local endpoint recovery after IP changes#1270
Merged
Conversation
d982b8b to
098c13d
Compare
098c13d to
0d2a935
Compare
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.4 to 8.2.0. - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md) - [Commits](protobufjs/protobuf.js@protobufjs-v7.5.4...protobufjs-v8.2.0) --- updated-dependencies: - dependency-name: protobufjs dependency-version: 8.2.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [zod](https://github.com/colinhacks/zod) from 4.3.6 to 4.4.3. - [Release notes](https://github.com/colinhacks/zod/releases) - [Commits](colinhacks/zod@v4.3.6...v4.4.3) --- updated-dependencies: - dependency-name: zod dependency-version: 4.4.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@napi-rs/canvas](https://github.com/Brooooooklyn/canvas) from 0.1.100 to 1.0.0. - [Release notes](https://github.com/Brooooooklyn/canvas/releases) - [Changelog](https://github.com/Brooooooklyn/canvas/blob/main/CHANGELOG.md) - [Commits](Brooooooklyn/canvas@v0.1.100...v1.0.0) --- updated-dependencies: - dependency-name: "@napi-rs/canvas" dependency-version: 1.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.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.
Summary
Fixes local TCP recovery when a Roborock device receives a new LAN IP address. The local IP is now handled as dynamic local transport endpoint state inside localApi, instead of being treated as a one-time startup discovery result.
Root Cause
localApi.localDevices[duid].ip was populated from startup discovery/probing and TCP reconnects kept retrying that stored IP. If DHCP moved a robot from one address to another, reconnects could keep targeting the stale address indefinitely and log repeated EHOSTUNREACH warnings.
Changes
Validation