Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: skip rebuilding routes for nodes with priority return routes #7252

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

AlCalzone
Copy link
Member

@AlCalzone AlCalzone commented Oct 8, 2024

With this PR, full-network route rebuilding will skip nodes with priority return routes (end node or SUC) by default, unless the new deletePriorityReturnRoutes option is set to true.

Note that rebuilding routes for a single node will still delete existing priority return routes to end nodes and the SUC. It is recommended to first check if priority return routes are known to exist using getPriorityReturnRoutesCached and getPrioritySUCReturnRouteCached and asking for confirmation before proceeding.

fixes: #7147

@AlCalzone
Copy link
Member Author

/cc @robertsLando this might need a new checkbox in the rebuild routes dialog, under the "include sleeping nodes" one.

@AlCalzone
Copy link
Member Author

@zwave-js-bot automerge

@zwave-js-bot zwave-js-bot merged commit 6b35559 into master Oct 8, 2024
15 checks passed
@zwave-js-bot zwave-js-bot deleted the rebuild-skip-priority branch October 8, 2024 11:03
AlCalzone added a commit that referenced this pull request Oct 10, 2024
### Features
* Skip rebuilding routes for nodes with priority return routes (#7252)
* Add `node info received` event (#7253)
* OTA firmware updates now use the task scheduler. This allows running multiple OTA updates at once. (#7256)
* Implement Multilevel Switch mocks, add default state for Binary Switch mocks (#7270)

### Bugfixes
* Use configured network keys on secondary controller if learned keys are absent (#7226)
* Pending tasks are removed when hard-resetting or entering bootloader (#7255)

### Config file changes
* Add incompatibility warning to UZB1 (#7225)
* Override Central Scene CC version for Springs Window Fashions VCZ1 (#7263)

### Changes under the hood
* Dependency updates
* Fix bootstrap command in devcontainer (#7254)
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.

Rebuild routes: Add option to skip nodes with priority routes
2 participants