@@ -1658,16 +1658,14 @@ impl AppEndpoint {
1658
1658
}
1659
1659
}
1660
1660
NextRuntime :: NodeJs => {
1661
- let mut evaluatable_assets = this. app_project . rsc_runtime_entries ( ) . owned ( ) . await ?;
1662
-
1663
1661
let Some ( rsc_entry) = ResolvedVc :: try_downcast ( app_entry. rsc_entry ) else {
1664
1662
bail ! ( "rsc_entry must be evaluatable" ) ;
1665
1663
} ;
1666
1664
1667
- evaluatable_assets. push ( server_action_manifest_loader ) ;
1665
+ let mut evaluatable_assets = this . app_project . rsc_runtime_entries ( ) . owned ( ) . await ? ;
1668
1666
evaluatable_assets. push ( rsc_entry) ;
1669
1667
1670
- let entry_chunk_group = * module_graph
1668
+ let entry_chunk_group_idx = * module_graph
1671
1669
. chunk_group_info ( )
1672
1670
. get_index_of ( ChunkGroup :: Entry {
1673
1671
entries : vec ! [ ResolvedVc :: upcast( rsc_entry) ] ,
@@ -1696,7 +1694,7 @@ impl AppEndpoint {
1696
1694
)
1697
1695
. with_modifier ( server_utils_modifier ( ) ) ,
1698
1696
ChunkGroup :: SharedMerged {
1699
- parent : entry_chunk_group ,
1697
+ parent : entry_chunk_group_idx ,
1700
1698
merge_tag : NEXT_SERVER_UTILITY_MERGE_TAG . clone ( ) ,
1701
1699
entries : server_utils,
1702
1700
} ,
@@ -1754,6 +1752,19 @@ impl AppEndpoint {
1754
1752
. await ?;
1755
1753
}
1756
1754
1755
+ current_chunks = current_chunks
1756
+ . concatenate ( chunking_context. chunk_group_assets (
1757
+ server_action_manifest_loader. ident ( ) ,
1758
+ ChunkGroup :: Entry {
1759
+ entries : vec ! [ ResolvedVc :: upcast( server_action_manifest_loader) ] ,
1760
+ ty : ChunkGroupType :: Entry ,
1761
+ } ,
1762
+ module_graph,
1763
+ Value :: new ( current_availability_info) ,
1764
+ ) )
1765
+ . resolve ( )
1766
+ . await ?;
1767
+
1757
1768
anyhow:: Ok ( Vc :: cell ( vec ! [
1758
1769
chunking_context
1759
1770
. entry_chunk_group_asset(
0 commit comments