Skip to content

Turbopack: create module graph strongly consistent #77051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/next-api/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ impl Project {
pub async fn whole_app_module_graphs(self: ResolvedVc<Self>) -> Result<Vc<ModuleGraphs>> {
async move {
let module_graphs_op = whole_app_module_graph_operation(self);
let module_graphs_vc = module_graphs_op.connect().resolve().await?;
let module_graphs_vc = module_graphs_op.resolve_strongly_consistent().await?;
let _ = module_graphs_op.take_issues_with_path().await?;

// At this point all modules have been computed and we can get rid of the node.js
Expand All @@ -926,7 +926,7 @@ impl Project {
turbopack_node::evaluate::scale_zero();
}

Ok(module_graphs_vc)
Ok(*module_graphs_vc)
}
.instrument(tracing::info_span!("module graph for app"))
.await
Expand Down
Loading