[pdm-devel] superseded: [PATCH-SERIES 0/6] manual refresh button for remote task cache

Lukas Wagner l.wagner at proxmox.com
Thu Dec 18 15:22:20 CET 2025


On Tue Dec 16, 2025 at 2:15 PM CET, Lukas Wagner wrote:
> This adds the 
>   POST /remotes/tasks/refresh[?remote=...]
>
> endpoint for manually triggering task collection from a single or all remotes.
>
> The task viewer component is changed so that the refresh button can be wired
> up to trigger this new endpoint.
>
> Also add some task descriptions for PDM tasks.
>
> Note for reviewers/testers:
>   Built against latest pwt/yew-comp
>   PDM needs [1] applied to build with latest pwt/yew-comp
>
> [1] https://lore.proxmox.com/pdm-devel/a4598ca9-19a6-4653-813a-0769e42ed111@proxmox.com/T/#t
>
>
> proxmox-yew-comp:
>
> Lukas Wagner (1):
>   task list: add support for starting refresh tasks
>
>  src/tasks.rs | 20 +++++++++++++++++++-
>  1 file changed, 19 insertions(+), 1 deletion(-)
>
>
> proxmox-datacenter-manager:
>
> Lukas Wagner (5):
>   remote tasks: move implementation to server crate
>   remote tasks: implement `refresh_task_cache` for manual task fetching
>   api: add /remotes/tasks/refresh
>   ui: remote task view: set refresh_task_url property for task viewer
>   ui: register task descriptions for some native PDM tasks
>
>  server/src/api/remote_tasks.rs                |  90 ++-
>  .../tasks/remote_tasks.rs                     | 535 +----------------
>  server/src/remote_tasks/mod.rs                |   1 +
>  server/src/remote_tasks/refresh_task.rs       | 544 ++++++++++++++++++
>  ui/src/lib.rs                                 |   2 +-
>  ui/src/main.rs                                |   7 +-
>  ui/src/remotes/tasks.rs                       |  14 +-
>  ui/src/tasks.rs                               |  19 +-
>  8 files changed, 673 insertions(+), 539 deletions(-)
>  create mode 100644 server/src/remote_tasks/refresh_task.rs
>
>
> Summary over all repositories:
>   9 files changed, 692 insertions(+), 540 deletions(-)

superseded by v2:

https://lore.proxmox.com/all/20251218142007.279631-1-l.wagner@proxmox.com/T/#t





More information about the pdm-devel mailing list