From 010f975a0ee20c31155127499a8533969a549eb1 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Thu, 4 Jun 2026 21:00:52 +0330 Subject: [PATCH] =?UTF-8?q?fix(nodes):=20add=20disk=20columns=20to=20ListN?= =?UTF-8?q?odes=20SELECT=20(scanNodes=2037/39=20mismatch=20=E2=86=92=20500?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The disk-column append only hit GetNodeByID (whitespace differed); ListNodes lacked last_disk_pct/disk_total_gb, so the node list 500'd and rendered empty. Co-Authored-By: Claude Opus 4.8 --- services/render/internal/db/db.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/render/internal/db/db.go b/services/render/internal/db/db.go index b5292ca..f32c9b2 100644 --- a/services/render/internal/db/db.go +++ b/services/render/internal/db/db.go @@ -31,7 +31,8 @@ func (s *Store) ListNodes(ctx context.Context, region, status string) ([]*models lifetime_task_count, lifetime_crash_count, consecutive_failures, priority, is_active, accepts_new_jobs, last_maintenance_at, next_maintenance_at, maintenance_reason, - cached_template_md5s, cache_used_gb, created_at, updated_at + cached_template_md5s, cache_used_gb, created_at, updated_at, + last_disk_pct, disk_total_gb FROM render.render_nodes WHERE is_active = TRUE` args := pgx.NamedArgs{}