Skip to content

Conversation

@404GamerNotFound
Copy link
Owner

Motivation

  • Improve the user experience when configuring the polling interval by providing a numeric "number box" input instead of a plain integer field.
  • Reduce startup latency when multiple servers are configured by performing the coordinators' initial refreshes concurrently.
  • Ensure container and disk entities are created from fresh coordinator data so entity discovery is correct after the initial refresh.
  • Document the user-visible changes in the release notes so users are informed of the update.

Description

  • Replaced plain integer interval fields with selector.NumberSelector (box mode, min=1, step=1) in the server schema and the options flow init form in config_flow.py.
  • Collected VServerCoordinator instances and invoked their async_config_entry_first_refresh concurrently via asyncio.gather in sensor.py to parallelize initial data fetch.
  • Deferred creation of container and disk entities until after the concurrent refresh by storing ServerContainerRegistry/ServerDiskRegistry tuples and creating initial entities from the coordinators' refreshed data.
  • Added a v1.2.24 entry to CHANGELOG.md describing the interval input change and the parallel refresh improvement.

Testing

  • No automated tests were run as part of this change.
  • Basic repository operations (adding and committing CHANGELOG.md) were performed successfully during the rollout.
  • Manual validation of code formatting and imports was not recorded as automated tests.
  • No test failures were reported.

Codex Task

@404GamerNotFound 404GamerNotFound merged commit 05764ce into main Jan 9, 2026
2 checks passed
@404GamerNotFound 404GamerNotFound deleted the codex/optimize-plugin-for-performance branch January 9, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants