@@ -1699,43 +1699,6 @@ impl AppEndpoint {
1699
1699
let mut current_availability_info = AvailabilityInfo :: Root ;
1700
1700
1701
1701
let client_references = client_references. await ?;
1702
- if !client_references. server_utils . is_empty ( ) {
1703
- let span = tracing:: trace_span!( "server utils" ) ;
1704
- async {
1705
- let server_utils_chunk_group = module_graph
1706
- . chunk_group_info ( )
1707
- . get_merged_group (
1708
- ChunkGroup :: Entry (
1709
- [ ResolvedVc :: upcast ( rsc_entry) ] . into_iter ( ) . collect ( ) ,
1710
- ) ,
1711
- NEXT_SERVER_UTILITY_MERGE_TAG . clone ( ) ,
1712
- )
1713
- . await ?
1714
- . first ( )
1715
- . cloned ( )
1716
- . unwrap ( ) ;
1717
-
1718
- let chunk_group = chunking_context
1719
- . chunk_group (
1720
- AssetIdent :: from_path (
1721
- this. app_project . project ( ) . project_path ( ) ,
1722
- )
1723
- . with_modifier ( server_utils_modifier ( ) ) ,
1724
- server_utils_chunk_group,
1725
- module_graph,
1726
- Value :: new ( current_availability_info) ,
1727
- )
1728
- . await ?;
1729
- current_chunks = current_chunks
1730
- . concatenate ( * chunk_group. assets )
1731
- . resolve ( )
1732
- . await ?;
1733
- current_availability_info = chunk_group. availability_info ;
1734
- anyhow:: Ok ( ( ) )
1735
- }
1736
- . instrument ( span)
1737
- . await ?;
1738
- }
1739
1702
for server_component in client_references
1740
1703
. server_component_entries
1741
1704
. iter ( )
@@ -1775,21 +1738,23 @@ impl AppEndpoint {
1775
1738
. await ?;
1776
1739
}
1777
1740
1778
- current_chunks = current_chunks
1779
- . concatenate (
1780
- chunking_context. chunk_group_assets (
1781
- server_action_manifest_loader. ident ( ) ,
1782
- ChunkGroup :: Entry (
1783
- [ ResolvedVc :: upcast ( server_action_manifest_loader) ]
1784
- . into_iter ( )
1785
- . collect ( ) ,
1786
- ) ,
1787
- module_graph,
1788
- Value :: new ( current_availability_info) ,
1741
+ let chunk_group = chunking_context
1742
+ . chunk_group (
1743
+ server_action_manifest_loader. ident ( ) ,
1744
+ ChunkGroup :: Entry (
1745
+ [ ResolvedVc :: upcast ( server_action_manifest_loader) ]
1746
+ . into_iter ( )
1747
+ . collect ( ) ,
1789
1748
) ,
1749
+ module_graph,
1750
+ Value :: new ( current_availability_info) ,
1790
1751
)
1752
+ . await ?;
1753
+ current_chunks = current_chunks
1754
+ . concatenate ( * chunk_group. assets )
1791
1755
. resolve ( )
1792
1756
. await ?;
1757
+ current_availability_info = chunk_group. availability_info ;
1793
1758
1794
1759
anyhow:: Ok ( Vc :: cell ( vec ! [
1795
1760
chunking_context
0 commit comments