Skip to content
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

fix integration tests on windows #3737

Merged
merged 13 commits into from Feb 13, 2023

Conversation

sokra
Copy link
Member

@sokra sokra commented Feb 10, 2023

For windows it's important that the browser is dropped so that the test can
complete. To do that we need to cancel the spawned task below (which will
drop the browser). For this we are using a JoinSet which cancels all tasks
when dropped.

… start

avoid Drop implementation in favor of kill_on_drop
@vercel
Copy link

vercel bot commented Feb 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
examples-designsystem-docs 🔄 Building (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
9 Ignored Deployments
Name Status Preview Comments Updated
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
examples-cra-web ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
examples-nonmonorepo ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)
turbo-site ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2023 at 2:43PM (UTC)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2023

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

@github-actions
Copy link
Contributor

Benchmark for 0efa344

Test Base PR % Significant %
bench_hmr_to_commit/Turbopack RCC/1000 modules 10.59ms ± 0.16ms 9837.40µs ± 92.45µs -7.09% -2.41%
bench_hmr_to_commit/Turbopack RSC/1000 modules 513.79ms ± 6.47ms 488.13ms ± 3.10ms -4.99% -1.30%
bench_startup/Turbopack SSR/1000 modules 2150.13ms ± 5.94ms 2130.94ms ± 3.18ms -0.89% -0.04%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9897.60µs ± 58.32µs 10.03ms ± 0.10ms +1.35%
bench_hmr_to_commit/Turbopack RCC/1000 modules 10.59ms ± 0.16ms 9837.40µs ± 92.45µs -7.09% -2.41%
bench_hmr_to_commit/Turbopack RSC/1000 modules 513.79ms ± 6.47ms 488.13ms ± 3.10ms -4.99% -1.30%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9971.42µs ± 110.85µs 9996.81µs ± 53.18µs +0.25%
bench_hmr_to_eval/Turbopack CSR/1000 modules 9121.84µs ± 96.74µs 8953.37µs ± 111.30µs -1.85%
bench_hmr_to_eval/Turbopack RCC/1000 modules 9201.36µs ± 55.54µs 9139.40µs ± 78.89µs -0.67%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8969.03µs ± 104.09µs 9143.03µs ± 83.34µs +1.94%
bench_hydration/Turbopack RCC/1000 modules 4219.86ms ± 10.93ms 4261.08ms ± 11.11ms +0.98%
bench_hydration/Turbopack RSC/1000 modules 3858.66ms ± 19.41ms 3863.62ms ± 21.65ms +0.13%
bench_hydration/Turbopack SSR/1000 modules 3751.97ms ± 19.17ms 3734.57ms ± 24.18ms -0.46%
bench_startup/Turbopack CSR/1000 modules 2810.92ms ± 14.06ms 2780.17ms ± 14.74ms -1.09%
bench_startup/Turbopack RCC/1000 modules 2603.96ms ± 11.00ms 2605.88ms ± 9.49ms +0.07%
bench_startup/Turbopack RSC/1000 modules 2479.82ms ± 8.02ms 2486.64ms ± 6.67ms +0.28%
bench_startup/Turbopack SSR/1000 modules 2150.13ms ± 5.94ms 2130.94ms ± 3.18ms -0.89% -0.04%

@github-actions
Copy link
Contributor

Benchmark for 4a5d4c0

Test Base PR % Significant %
bench_startup/Turbopack RSC/1000 modules 2453.82ms ± 12.81ms 2407.61ms ± 9.88ms -1.88% -0.03%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9150.64µs ± 101.06µs 9122.05µs ± 63.20µs -0.31%
bench_hmr_to_commit/Turbopack RCC/1000 modules 12.91ms ± 0.15ms 12.91ms ± 0.29ms +0.05%
bench_hmr_to_commit/Turbopack RSC/1000 modules 496.48ms ± 1.88ms 503.27ms ± 1.81ms +1.37%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9304.73µs ± 65.90µs 9452.88µs ± 84.86µs +1.59%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8080.97µs ± 73.57µs 8152.40µs ± 65.71µs +0.88%
bench_hmr_to_eval/Turbopack RCC/1000 modules 10.92ms ± 0.30ms 11.47ms ± 0.36ms +5.03%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8242.91µs ± 81.96µs 8231.31µs ± 67.37µs -0.14%
bench_hydration/Turbopack RCC/1000 modules 4147.28ms ± 5.37ms 4150.15ms ± 10.49ms +0.07%
bench_hydration/Turbopack RSC/1000 modules 3737.67ms ± 17.67ms 3761.19ms ± 18.53ms +0.63%
bench_hydration/Turbopack SSR/1000 modules 3661.08ms ± 26.07ms 3686.85ms ± 7.58ms +0.70%
bench_startup/Turbopack CSR/1000 modules 2787.99ms ± 8.89ms 2791.24ms ± 10.46ms +0.12%
bench_startup/Turbopack RCC/1000 modules 2536.63ms ± 3.30ms 2548.97ms ± 6.96ms +0.49%
bench_startup/Turbopack RSC/1000 modules 2453.82ms ± 12.81ms 2407.61ms ± 9.88ms -1.88% -0.03%
bench_startup/Turbopack SSR/1000 modules 2088.50ms ± 3.95ms 2095.26ms ± 2.35ms +0.32%

@github-actions
Copy link
Contributor

Benchmark for d772ddc

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 10.38ms ± 0.07ms 10.46ms ± 0.13ms +0.71%
bench_hmr_to_commit/Turbopack RCC/1000 modules 12.05ms ± 0.10ms 12.11ms ± 0.11ms +0.46%
bench_hmr_to_commit/Turbopack RSC/1000 modules 526.10ms ± 1.58ms 526.86ms ± 2.07ms +0.14%
bench_hmr_to_commit/Turbopack SSR/1000 modules 10.49ms ± 0.07ms 10.46ms ± 0.08ms -0.27%
bench_hmr_to_eval/Turbopack CSR/1000 modules 9320.22µs ± 88.93µs 9302.62µs ± 64.28µs -0.19%
bench_hmr_to_eval/Turbopack RCC/1000 modules 10.96ms ± 0.12ms 11.03ms ± 0.13ms +0.60%
bench_hmr_to_eval/Turbopack SSR/1000 modules 9366.49µs ± 67.40µs 9403.23µs ± 73.28µs +0.39%
bench_hydration/Turbopack RCC/1000 modules 4356.58ms ± 10.14ms 4350.70ms ± 8.43ms -0.13%
bench_hydration/Turbopack RSC/1000 modules 3951.16ms ± 23.75ms 3956.92ms ± 15.26ms +0.15%
bench_hydration/Turbopack SSR/1000 modules 3827.46ms ± 21.90ms 3778.74ms ± 26.12ms -1.27%
bench_startup/Turbopack CSR/1000 modules 2850.23ms ± 6.88ms 2826.78ms ± 7.38ms -0.82%
bench_startup/Turbopack RCC/1000 modules 2628.12ms ± 6.99ms 2633.49ms ± 6.81ms +0.20%
bench_startup/Turbopack RSC/1000 modules 2543.10ms ± 7.72ms 2554.46ms ± 3.61ms +0.45%
bench_startup/Turbopack SSR/1000 modules 2193.80ms ± 3.94ms 2186.35ms ± 3.05ms -0.34%

@github-actions
Copy link
Contributor

Benchmark for b25364a

Test Base PR % Significant %
bench_hydration/Turbopack RSC/1000 modules 3776.81ms ± 7.65ms 3827.67ms ± 13.32ms +1.35% +0.23%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9302.42µs ± 86.54µs 9440.80µs ± 80.70µs +1.49%
bench_hmr_to_commit/Turbopack RCC/1000 modules 12.11ms ± 0.40ms 11.52ms ± 0.21ms -4.82%
bench_hmr_to_commit/Turbopack RSC/1000 modules 505.90ms ± 1.79ms 509.38ms ± 2.01ms +0.69%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9521.86µs ± 80.33µs 9451.53µs ± 90.19µs -0.74%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8439.15µs ± 57.56µs 8456.96µs ± 84.34µs +0.21%
bench_hmr_to_eval/Turbopack RCC/1000 modules 10.51ms ± 0.20ms 10.46ms ± 0.25ms -0.49%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8471.05µs ± 74.39µs 8482.68µs ± 60.21µs +0.14%
bench_hydration/Turbopack RCC/1000 modules 4214.58ms ± 14.62ms 4220.39ms ± 14.92ms +0.14%
bench_hydration/Turbopack RSC/1000 modules 3776.81ms ± 7.65ms 3827.67ms ± 13.32ms +1.35% +0.23%
bench_hydration/Turbopack SSR/1000 modules 3717.99ms ± 12.10ms 3730.79ms ± 12.80ms +0.34%
bench_startup/Turbopack CSR/1000 modules 2815.97ms ± 14.23ms 2796.88ms ± 16.04ms -0.68%
bench_startup/Turbopack RCC/1000 modules 2570.63ms ± 7.66ms 2548.14ms ± 8.88ms -0.87%
bench_startup/Turbopack RSC/1000 modules 2457.69ms ± 8.04ms 2457.74ms ± 6.86ms +0.00%
bench_startup/Turbopack SSR/1000 modules 2116.34ms ± 1.42ms 2113.16ms ± 2.91ms -0.15%

@github-actions
Copy link
Contributor

Benchmark for 2022745

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 9154.73µs ± 108.93µs 9253.61µs ± 72.98µs +1.08%
bench_hmr_to_commit/Turbopack RCC/1000 modules 12.31ms ± 0.40ms 12.57ms ± 0.37ms +2.09%
bench_hmr_to_commit/Turbopack RSC/1000 modules 506.01ms ± 3.05ms 505.88ms ± 1.57ms -0.03%
bench_hmr_to_commit/Turbopack SSR/1000 modules 9253.28µs ± 132.13µs 9390.96µs ± 87.40µs +1.49%
bench_hmr_to_eval/Turbopack CSR/1000 modules 8025.91µs ± 100.89µs 8182.08µs ± 75.62µs +1.95%
bench_hmr_to_eval/Turbopack RCC/1000 modules 11.00ms ± 0.30ms 10.88ms ± 0.25ms -1.11%
bench_hmr_to_eval/Turbopack SSR/1000 modules 8347.73µs ± 85.11µs 8449.72µs ± 77.28µs +1.22%
bench_hydration/Turbopack RCC/1000 modules 4228.86ms ± 12.25ms 4213.06ms ± 7.96ms -0.37%
bench_hydration/Turbopack RSC/1000 modules 3814.86ms ± 16.28ms 3821.24ms ± 13.02ms +0.17%
bench_hydration/Turbopack SSR/1000 modules 3710.40ms ± 20.40ms 3718.19ms ± 22.07ms +0.21%
bench_startup/Turbopack CSR/1000 modules 2781.15ms ± 12.33ms 2795.87ms ± 12.15ms +0.53%
bench_startup/Turbopack RCC/1000 modules 2568.20ms ± 9.42ms 2575.02ms ± 7.76ms +0.27%
bench_startup/Turbopack RSC/1000 modules 2469.56ms ± 11.92ms 2453.19ms ± 9.72ms -0.66%
bench_startup/Turbopack SSR/1000 modules 2119.05ms ± 2.94ms 2112.50ms ± 2.24ms -0.31%

@sokra sokra marked this pull request as ready for review February 13, 2023 16:01
@sokra sokra requested review from a team as code owners February 13, 2023 16:02
@sokra sokra added the pr: automerge Kodiak will merge these automatically after checks pass label Feb 13, 2023
@kodiakhq kodiakhq bot merged commit a509b2c into main Feb 13, 2023
@kodiakhq kodiakhq bot deleted the sokra/web-568-and-web-387-windows-test-timeout branch February 13, 2023 16:16
@@ -39,6 +39,14 @@ struct SpawnedNodeJsPoolProcess {
struct RunningNodeJsPoolProcess {
child: Option<Child>,
connection: TcpStream,
stdout_buf: Vec<u8>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this just keeps getting worse

jridgewell pushed a commit to vercel/next.js that referenced this pull request Mar 10, 2023
For windows it's important that the browser is dropped so that the test can
complete. To do that we need to cancel the spawned task below (which will
drop the browser). For this we are using a JoinSet which cancels all tasks
when dropped.
sokra added a commit to vercel/next.js that referenced this pull request Mar 13, 2023
For windows it's important that the browser is dropped so that the test can
complete. To do that we need to cancel the spawned task below (which will
drop the browser). For this we are using a JoinSet which cancels all tasks
when dropped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: automerge Kodiak will merge these automatically after checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants