File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -1785,7 +1785,6 @@ impl AppEndpoint {
1785
1785
bail ! ( "rsc_entry must be evaluatable" ) ;
1786
1786
} ;
1787
1787
1788
- evaluatable_assets. push ( server_action_manifest_loader) ;
1789
1788
evaluatable_assets. push ( rsc_entry) ;
1790
1789
1791
1790
async {
@@ -1864,6 +1863,25 @@ impl AppEndpoint {
1864
1863
. await ?;
1865
1864
}
1866
1865
1866
+ {
1867
+ let chunk_group = chunking_context
1868
+ . chunk_group (
1869
+ server_action_manifest_loader. ident ( ) ,
1870
+ ChunkGroup :: Entry ( vec ! [ ResolvedVc :: upcast(
1871
+ server_action_manifest_loader,
1872
+ ) ] ) ,
1873
+ module_graph,
1874
+ current_availability_info,
1875
+ )
1876
+ . await ?;
1877
+
1878
+ current_chunks = current_chunks
1879
+ . concatenate ( * chunk_group. assets )
1880
+ . resolve ( )
1881
+ . await ?;
1882
+ current_availability_info = chunk_group. availability_info ;
1883
+ }
1884
+
1867
1885
anyhow:: Ok ( Vc :: cell ( vec ! [
1868
1886
chunking_context
1869
1887
. entry_chunk_group_asset(
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ describe('app-dir action handling', () => {
44
44
45
45
expect ( itemInfo . filename ) . toBeString ( )
46
46
// can be outside app dir but this test suite has them all in app
47
- expect ( itemInfo . filename . startsWith ( 'app/' ) ) . toBe ( true )
47
+ expect ( itemInfo . filename ) . toStartWith ( 'app/' )
48
48
expect ( itemInfo . exportedName ) . toBeString ( )
49
49
} catch ( err ) {
50
50
require ( 'console' ) . error ( `Invalid action entry ${ item } ` , err )
You can’t perform that action at this time.
0 commit comments