Allow artifact-only continuation from imported products
This commit is contained in:
@@ -14,11 +14,20 @@ func validateBoundedPrerequisites(plan BoundedPlan, m *manifest.Manifest, cfg *c
|
||||
return nil
|
||||
}
|
||||
coverage := suppliedCompletion(cfg, m)
|
||||
hasTranscript := coverage["transcribe"]
|
||||
supplied := hasSuppliedBaseline(m)
|
||||
for _, name := range plan.PrefixNames() {
|
||||
if coverage[name] || (hasTranscript && (name == "prepare" || name == "render" || name == "extract")) {
|
||||
if coverage[name] {
|
||||
continue
|
||||
}
|
||||
if supplied {
|
||||
// Imported products replace producer history as the starting point.
|
||||
// Selected consumers validate their actual inputs. Publication and
|
||||
// post-publication actions retain their own execution prerequisites.
|
||||
switch name {
|
||||
case "prepare", "transcribe", "merge", "polish", "normalize", "trim", "render", "extract", "analyze":
|
||||
continue
|
||||
}
|
||||
}
|
||||
status := "absent"
|
||||
if m != nil && m.Stages != nil && m.Stages[name] != nil {
|
||||
stageStatus := m.Stages[name].Status
|
||||
|
||||
Reference in New Issue
Block a user