From 59af7959e6e26bbefa10b08f165d3a6217be899d Mon Sep 17 00:00:00 2001 From: twotalesanimation <80506065+twotalesanimation@users.noreply.github.com> Date: Tue, 1 Sep 2026 07:24:21 +0200 Subject: [PATCH] fix(connector): request the full QC queue instead of the default 50 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit loadQCQueue called /api/ext/qc/queue with no limit, so it always got the endpoint's default page of 50. The query orders oldest-first, so a project with more than 50 exports in READY_FOR_QC showed only the oldest 50 with nothing to say the list was short. Ask for 200 — the server's hard ceiling in getQCQueue — and say so in the status line when the count comes back at the cap, so a truncated queue is visible rather than silent. The diagnostics call in checkServerPathReachable stays on the default: it only reads entries[0]. Co-Authored-By: Claude Opus 5 --- VFXReviewConnector.jsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/VFXReviewConnector.jsx b/VFXReviewConnector.jsx index aa618df..e6dffde 100644 --- a/VFXReviewConnector.jsx +++ b/VFXReviewConnector.jsx @@ -32,7 +32,7 @@ var SETTINGS_KEY = "cfg"; // Bump on every change deployed to a workstation. The panel reports this to // the server on load, so Pipeline → Machines shows which version each machine // is actually running and flags the ones left behind. -var PANEL_VERSION = "2.6.1"; +var PANEL_VERSION = "2.6.2"; (function VFXReviewConnector(thisObj) { var uiState = { @@ -4420,8 +4420,13 @@ var PANEL_VERSION = "2.6.1"; // catching mask slips, export glitches and metadata faults at full res, so // selecting a queue entry imports the real sequence. + // The queue endpoint defaults to 50 rows and refuses anything above 200, so + // ask for the ceiling: a busy project can have well over 50 exports sitting + // in READY_FOR_QC, and the panel silently showed only the oldest 50. + var QC_QUEUE_LIMIT = 200; + function loadQCQueue() { - var url = CONFIG.baseUrl + "/api/ext/qc/queue"; + var url = CONFIG.baseUrl + "/api/ext/qc/queue?limit=" + QC_QUEUE_LIMIT; var data; var entries; var i; @@ -4432,7 +4437,7 @@ var PANEL_VERSION = "2.6.1"; return; } if (CURRENT_PROJECT) { - url += "?projectCode=" + encodeURIComponent(CURRENT_PROJECT.code); + url += "&projectCode=" + encodeURIComponent(CURRENT_PROJECT.code); } setQCStatus("Loading QC queue..."); @@ -4457,7 +4462,8 @@ var PANEL_VERSION = "2.6.1"; if (entries.length) { uiState.qcList.selection = 0; - setQCStatus(entries.length + " export(s) awaiting QC"); + setQCStatus(entries.length + " export(s) awaiting QC" + + (entries.length >= QC_QUEUE_LIMIT ? " (list is capped — QC some and reload)" : "")); } else { setQCStatus("Nothing waiting for QC"); }