From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id E84D51FF17C for ; Tue, 16 Dec 2025 14:14:46 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CCD72F729; Tue, 16 Dec 2025 14:15:30 +0100 (CET) From: Lukas Wagner To: pdm-devel@lists.proxmox.com Date: Tue, 16 Dec 2025 14:15:12 +0100 Message-ID: <20251216131518.241022-1-l.wagner@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1765890917323 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.168 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_SBL_A 0.1 Contains URL's A record listed in the Spamhaus SBL blocklist [188.114.96.3] Subject: [pdm-devel] [PATCH-SERIES 0/6] manual refresh button for remote task cache X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" 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(-) -- Generated by murpp 0.9.0 _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel