From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 23D4E1FF0A7 for ; Wed, 02 Sep 2026 17:00:22 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id CEBE9215FB; Wed, 02 Sep 2026 17:00:05 +0200 (CEST) From: Shan Shaji To: pve-devel@lists.proxmox.com Subject: [PATCH manager/proxmox{-yew-comp,} v2 0/6] add missing uptime to the GUI, update API dump, and regenerate pve-api-types Date: Wed, 2 Sep 2026 16:59:38 +0200 Message-ID: <20260902145944.365185-1-s.shaji@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1788361190716 X-SPAM-LEVEL: Spam detection results: 0 AWL -1.219 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) KAM_SHORT 0.001 Use of a URL Shortener for very short URL 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_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLACK 3 Contains an URL listed in the URIBL blacklist [types.rs] URIBL_CSS_A 0.1 Contains URL's A record listed in the Spamhaus CSS blocklist [34.117.176.22] Message-ID-Hash: KA47TKPJ3RF3P6I3OUDBHHHUZSPFQXA5 X-Message-ID-Hash: KA47TKPJ3RF3P6I3OUDBHHHUZSPFQXA5 X-MailFrom: s.shaji@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This series adds missing uptime [0] to the GUI. I have also updated the API dump and regenerated the types after adding the missing idle and uptime properties to the return schema of Proxmox VE's /nodes/{node}/status endpoint. This also fixes an issue where the idle field always returned 0. Apart from patch [3/6], all other patches are new. Changes since v1: [1] Thanks @Dominik - fix white space after "=" - fix idle property always returns 0. - add idle property to the return schema. - add uptime to the return schema. - update API dump and regenerate types. For the firewall comment format/verify function took reference from the following patch [2]. - [0] https://man7.org/linux/man-pages/man5/proc_uptime.5.html - [1] https://lore.proxmox.com/yew-devel/DKYYDNGIAVMV.2WF3ZBQW0OMTW@proxmox.com/T/#t - [2] https://lore.proxmox.com/pve-devel/20260715093432.34437-1-s.hanreich@proxmox.com/T/#u pve-manager: Shan Shaji (2): fix: nodes: update `idle` key value in hash reference fix: node: add missing `uptime` property inside the return schema PVE/API2/Nodes.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) proxmox-yew-comp: Shan Shaji (1): fix #7932: add missing uptime to the GUI src/node_status_panel.rs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) proxmox: Shan Shaji (3): chore: pve-api-types: update API dump and regenerate types pve-api-types: register missing pve-fw-comment-spec verify function pve-api-types: update API dump for /node/status and regenerate types pve-api-types/generate.pl | 2 +- pve-api-types/pve-api.json | 695 +++++++++++++++++++++------ pve-api-types/src/generated/code.rs | 3 + pve-api-types/src/generated/types.rs | 36 +- pve-api-types/src/types/verifiers.rs | 9 + 5 files changed, 584 insertions(+), 161 deletions(-) Summary over all repositories: 7 files changed, 615 insertions(+), 163 deletions(-) -- Generated by murpp 0.10.0