Share scanned source storage across native publications

This commit is contained in:
gloamxun committed 2026-11-28 23:25:29 +08:00
1 parent c09d545da6
commit d6ab5a025f
6 files changed
+46 -10

No files matched your search

@@ -472,7 +472,7 @@ impl Executor {
executor.fresh_job = false;
executor.job_name = execution.job_name;
executor.interaction_mode = execution.interaction_mode;
executor.sources = execution.sources.into_iter().map(Arc::new).collect();
executor.sources = execution.sources;
executor.stream_sources = execution.stream_sources;
executor.generated_inputs = execution.generated_inputs;
executor.split_discards = execution.split_discards;
@@ -3306,7 +3306,7 @@ impl Executor {
} else {
ParagraphMode::Vertical
},
sources: self.sources.into_iter().map(Arc::unwrap_or_clone).collect(),
sources: self.sources,
stream_sources: self.stream_sources,
generated_inputs: self.generated_inputs,
reads: self.reads,
@@ -3740,7 +3740,7 @@ impl Executor {
})
.collect();
let evidence = ExecutionEvidence {
sources: self.sources.into_iter().map(Arc::unwrap_or_clone).collect(),
sources: self.sources,
source_versions,
stream_sources: self.stream_sources,
generated_inputs: self.generated_inputs,
@@ -3784,7 +3784,7 @@ impl Executor {
io: self.io,
input_position: self.input_position,
paragraph_mode: ParagraphMode::Vertical,
sources: self.sources.into_iter().map(Arc::unwrap_or_clone).collect(),
sources: self.sources,
stream_sources: self.stream_sources,
generated_inputs: self.generated_inputs,
reads: self.reads,