fix(connector): request the full QC queue instead of the default 50
Deploy / deploy (push) Successful in 6m41s
Deploy / deploy (push) Successful in 6m41s
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 <noreply@anthropic.com>
This commit is contained in:
+10
-4
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user