Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[pull] canary from vercel:canary #132

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 4 commits into from
May 16, 2025
Merged
Show file tree
Hide file tree
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
19 changes: 12 additions & 7 deletions test/rspack-build-tests-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3406,6 +3406,13 @@
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/monaco-editor/monaco-editor.test.ts": {
"passed": ["monaco-editor should load monaco-editor"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/navigation-layout-suspense/navigation-layout-suspense.test.ts": {
"passed": [
"app dir - navigation with Suspense in nested layout resolves data after client navigation to a nested layout with Suspense"
Expand Down Expand Up @@ -4301,12 +4308,11 @@
"ppr-full Dynamic RSC Response for /on-demand/c should have correct headers",
"ppr-full Dynamic RSC Response for /static should have correct headers",
"ppr-full Dynamic RSC Response for /static should not contain dynamic content",
"ppr-full HTML Fallback Dynamic Shell should render the dynamic shell as static if the page is static",
"ppr-full HTML Fallback Dynamic Shell should render the fallback shell even if the page is static",
"ppr-full HTML Fallback Dynamic Shell should render the fallback shell every time",
"ppr-full HTML Fallback Dynamic Shell should render the fallback shell on first visit",
"ppr-full HTML Fallback Dynamic Shell should render the route shell on the second visit",
"ppr-full HTML Fallback Dynamic Shell will allow dynamic fallback shells even when static is enforced",
"ppr-full HTML Fallback Dynamic Shell will only revalidate the page",
"ppr-full HTML Fallback Dynamic Shell will revalidate the page and fallback shell",
"ppr-full HTML Fallback Dynamic Shell will not revalidate the fallback shell",
"ppr-full HTML Fallback for /fallback/nested/params/slug-01/slug-02 should render the fallback HTML immediately",
"ppr-full HTML Fallback for /fallback/nested/use-params/slug-01/slug-02 should render the fallback HTML immediately",
"ppr-full HTML Fallback for /fallback/nested/use-pathname/slug-01/slug-02 should render the fallback HTML immediately",
Expand Down Expand Up @@ -19454,11 +19460,10 @@
},
"test/production/pnpm-support/index.test.ts": {
"passed": [
"pnpm support should build with dependencies installed via pnpm"
],
"failed": [
"pnpm support should build with dependencies installed via pnpm",
"pnpm support should execute client-side JS on each page in output: \"standalone\""
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
Expand Down
14 changes: 10 additions & 4 deletions test/turbopack-build-tests-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,13 @@
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/monaco-editor/monaco-editor.test.ts": {
"passed": ["monaco-editor should load monaco-editor"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/navigation-layout-suspense/navigation-layout-suspense.test.ts": {
"passed": [
"app dir - navigation with Suspense in nested layout resolves data after client navigation to a nested layout with Suspense"
Expand Down Expand Up @@ -4185,12 +4192,11 @@
"ppr-full Dynamic RSC Response for /on-demand/c should have correct headers",
"ppr-full Dynamic RSC Response for /static should have correct headers",
"ppr-full Dynamic RSC Response for /static should not contain dynamic content",
"ppr-full HTML Fallback Dynamic Shell should render the dynamic shell as static if the page is static",
"ppr-full HTML Fallback Dynamic Shell should render the fallback shell even if the page is static",
"ppr-full HTML Fallback Dynamic Shell should render the fallback shell every time",
"ppr-full HTML Fallback Dynamic Shell should render the fallback shell on first visit",
"ppr-full HTML Fallback Dynamic Shell should render the route shell on the second visit",
"ppr-full HTML Fallback Dynamic Shell will allow dynamic fallback shells even when static is enforced",
"ppr-full HTML Fallback Dynamic Shell will only revalidate the page",
"ppr-full HTML Fallback Dynamic Shell will revalidate the page and fallback shell",
"ppr-full HTML Fallback Dynamic Shell will not revalidate the fallback shell",
"ppr-full HTML Fallback for /fallback/nested/params/slug-01/slug-02 should render the fallback HTML immediately",
"ppr-full HTML Fallback for /fallback/nested/use-params/slug-01/slug-02 should render the fallback HTML immediately",
"ppr-full HTML Fallback for /fallback/nested/use-pathname/slug-01/slug-02 should render the fallback HTML immediately",
Expand Down
33 changes: 31 additions & 2 deletions test/turbopack-dev-tests-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1930,9 +1930,10 @@
"Error recovery app render error not shown right after syntax error",
"Error recovery app server component can recover from a component error",
"Error recovery app server component can recover from syntax error",
"Error recovery app stuck error"
"Error recovery app stuck error",
"Error recovery app syntax > runtime error"
],
"failed": ["Error recovery app syntax > runtime error"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
Expand Down Expand Up @@ -2722,6 +2723,16 @@
"flakey": [],
"runtimeError": false
},
"test/development/app-dir/use-cache-errors/use-cache-errors.test.ts": {
"passed": [
"use-cache-errors should not show a false-positive compiler error about a misplaced \"use cache\" directive",
"use-cache-errors should show a runtime error when calling the incorrectly used cache function"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/development/app-hmr/hmr.test.ts": {
"passed": [
"app-dir-hmr filesystem changes can navigate cleanly to a page that requires a change in the Webpack runtime",
Expand Down Expand Up @@ -3896,6 +3907,17 @@
"flakey": [],
"runtimeError": false
},
"test/development/typescript-plugin/client-boundary/client-boundary.test.ts": {
"passed": [
"typescript-plugin - client-boundary should have diagnostics for non-serializable props",
"typescript-plugin - client-boundary should not have diagnostics for non-serializable action props",
"typescript-plugin - client-boundary should not have diagnostics for serializable props"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/development/typescript-plugin/index.test.ts": {
"passed": ["typescript-plugin should be able to get the language service"],
"failed": [],
Expand Down Expand Up @@ -7014,6 +7036,13 @@
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/monaco-editor/monaco-editor.test.ts": {
"passed": ["monaco-editor should load monaco-editor"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/navigation-layout-suspense/navigation-layout-suspense.test.ts": {
"passed": [
"app dir - navigation with Suspense in nested layout resolves data after client navigation to a nested layout with Suspense"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ impl Introspectable for StaticAssetsContentSource {
.to_resolved()
.await?,
),
DirectoryEntry::Other(_) => todo!("what's DirectoryContent::Other?"),
DirectoryEntry::Error => todo!(),
DirectoryEntry::Other(_) | DirectoryEntry::Error => {
todo!("unsupported DirectoryContent variant: {entry:?}")
}
};
Ok((ResolvedVc::cell(name.clone()), child))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Module for AsyncLoaderModule {
impl Asset for AsyncLoaderModule {
#[turbo_tasks::function]
fn content(&self) -> Vc<AssetContent> {
todo!()
panic!("content() should not be called");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Module for ManifestAsyncModule {
impl Asset for ManifestAsyncModule {
#[turbo_tasks::function]
fn content(&self) -> Vc<AssetContent> {
todo!()
panic!("content() should not be called");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,35 +268,3 @@ impl EcmascriptChunkItem for CachedExternalModuleChunkItem {
)
}
}

/// A module that only has an ident and no content nor references.
///
/// It is used to include a module's ident in the module graph before the module
/// itself is resolved, as is the case with NextServerComponentModule's
/// "client modules" and "ssr modules".
#[turbo_tasks::value]
pub struct IncludeIdentModule {
ident: ResolvedVc<AssetIdent>,
}

#[turbo_tasks::value_impl]
impl IncludeIdentModule {
#[turbo_tasks::function]
pub fn new(ident: ResolvedVc<AssetIdent>) -> Vc<Self> {
Self { ident }.cell()
}
}

impl Asset for IncludeIdentModule {
fn content(self: Vc<Self>) -> Vc<AssetContent> {
todo!("IncludeIdentModule doesn't implement content()")
}
}

#[turbo_tasks::value_impl]
impl Module for IncludeIdentModule {
#[turbo_tasks::function]
fn ident(&self) -> Vc<AssetIdent> {
*self.ident
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Module for WorkerLoaderModule {
impl Asset for WorkerLoaderModule {
#[turbo_tasks::function]
fn content(&self) -> Vc<AssetContent> {
todo!()
panic!("content() should not be called");
}
}

Expand Down
Loading