Skip to content

Conversation

@agners
Copy link
Collaborator

@agners agners commented Apr 24, 2025

Proposed Changes

Add /reload_updates endpoint which refreshes updates of the main components only (OS, Supervisor, Core and Plug-ins).

Add /reload_updates endpoint which refreshes updates of the main components
only (OS, Supervisor, Core and Plug-ins).
Copy link
Collaborator

@sairon sairon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple test case (like test_refresh_updates) should be added here as well.

@agners agners requested a review from sairon April 24, 2025 13:40
"""Refresh updates (discouraged)."""
"""Refresh updates.
Discouraged. Use the `reload_updates()` and `store.reload()` instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say something about why it is discouraged.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Not sure if that is a good reason really, but it is why I plan to not use the endpoint from Core side anymore. With that, this endpoint likely has no users at all, so I'd rather prefer to remove it at one point.

@agners agners merged commit 136c0cd into main Apr 24, 2025
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

new-feature New features or options.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants