feat(pipeline): skip the preview build and inherit the previous one
Deploy / deploy (push) Successful in 7m8s
Deploy / deploy (push) Successful in 7m8s
Some exports are deliberately framed differently from their review — unscaled or un-punched-in EXRs — and a preview rebuilt from those frames would be the wrong picture. The previous export's MOV is the correct one. skipPreview renders the EXRs and goes straight to READY_FOR_QC. Available at Queue Export (a "No preview" checkbox in the panel, E1 field) and as an option when overriding a validation failure. The inheritance is as important as the skip: deliveryMovPath, the review MP4, the thumbnail and the Version are carried over from the newest earlier export of that shot which has them. Without it the delivery builder — which takes its MOV from deliveryMovPath — would package EXRs with no MOV at all. Where there is nothing to inherit, the export still reaches QC and the timeline says it has no review media. QC is untouched by any of this: a skipped preview still needs a human pass before the export can be delivered. Panel 2.3.0. Adds migration 20260814000000_export_skip_preview. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+19
-2
@@ -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.2.1";
|
||||
var PANEL_VERSION = "2.3.0";
|
||||
|
||||
(function VFXReviewConnector(thisObj) {
|
||||
var uiState = {
|
||||
@@ -44,6 +44,7 @@ var PANEL_VERSION = "2.2.1";
|
||||
lastActionText: null,
|
||||
pipelineStatusText: null,
|
||||
urgentCheckbox: null,
|
||||
skipPreviewCheckbox: null,
|
||||
submissionNoteField: null,
|
||||
qcList: null,
|
||||
qcNotesField: null,
|
||||
@@ -3851,6 +3852,13 @@ var PANEL_VERSION = "2.2.1";
|
||||
force: force ? true : false
|
||||
};
|
||||
|
||||
// Renders the EXRs and inherits the previous export's review media
|
||||
// rather than rebuilding a preview from frames that are not the review
|
||||
// framing (unscaled / un-punched-in deliverables).
|
||||
if (uiState.skipPreviewCheckbox && uiState.skipPreviewCheckbox.value) {
|
||||
body.skipPreview = true;
|
||||
}
|
||||
|
||||
if (CONFIG.artistEmail) {
|
||||
body.submittedByEmail = CONFIG.artistEmail;
|
||||
}
|
||||
@@ -3942,7 +3950,9 @@ var PANEL_VERSION = "2.2.1";
|
||||
|
||||
if (lastQueued) {
|
||||
updateStatus(comps.length, "Queued " + lastQueued.versionString +
|
||||
(urgent ? " (urgent)" : "") + " on render farm. " +
|
||||
(urgent ? " (urgent)" : "") +
|
||||
((uiState.skipPreviewCheckbox && uiState.skipPreviewCheckbox.value) ? " (no preview)" : "") +
|
||||
" on render farm. " +
|
||||
result.queued + " queued, " + result.skipped + " skipped.");
|
||||
setPipelineStatus(formatExportStatus(lastShotCode, lastQueued));
|
||||
startExportPolling(lastShotCode);
|
||||
@@ -4410,6 +4420,13 @@ var PANEL_VERSION = "2.2.1";
|
||||
pipelineRow1.spacing = 6;
|
||||
queueExportButton = pipelineRow1.add("button", undefined, "Queue Export");
|
||||
uiState.urgentCheckbox = pipelineRow1.add("checkbox", undefined, "Urgent");
|
||||
uiState.skipPreviewCheckbox = pipelineRow1.add("checkbox", undefined, "No preview");
|
||||
uiState.skipPreviewCheckbox.helpTip =
|
||||
"Render the EXRs but build no preview, reusing the previous export's\n" +
|
||||
"MOV and review media.\n\n" +
|
||||
"For deliverables framed differently from the review — unscaled or\n" +
|
||||
"un-punched-in EXRs — where a preview rebuilt from these frames\n" +
|
||||
"would be the wrong picture.";
|
||||
|
||||
var slateNoteGroup = pipelinePanel.add("group");
|
||||
slateNoteGroup.orientation = "row";
|
||||
|
||||
Reference in New Issue
Block a user