helloadhavan/github_issues huggingface dataset:
Repository: vercel/next.js
Pull request: Roll out validateRSCRequestHeaders

We’ll default to enabling validateRSCRequestHeaders in canary builds to verify that everything works as expected.

Changed files:
filename: packages/next/src/server/config-shared.ts
patch: @@ -19,6 +19,7 @@ import type {
   ManifestRedirectRoute,
   RouteType,
 } from '../build'
+import { isStableBuild } from '../shared/lib/canary-only'
 
 export type NextConfigComplete = Required<NextConfig> & {
   images: Required<ImageConfigComplete>
@@ -1437,7 +1438,9 @@ export const defaultConfig = {
     viewTransition: false,
     routerBFCache: false,
     removeUncaughtErrorAndRejectionListeners: false,
-    validateRSCRequestHeaders: false,
+    validateRSCRequestHeaders: !!(
+      process.env.__NEXT_TEST_MODE || !isStableBuild()
+    ),
     staleTimes: {
       dynamic: 0,
       static: 300,
Repository: electron/electron
Pull request: build: use windows builders for win-publish

#### Description of Change

Follow up to #45137, mild clean up on the Windows actions workflow names & images

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [ ] PR description included and stakeholders cc'd
- [ ] `npm test` passes
- [ ] tests are [changed or added](https://github.com/electron/electron/blob/main/docs/development/testing.md)
- [ ] relevant documentation, tutorials, templates and examples are changed or added
- [ ] [PR release notes](https://github.com/electron/clerk/blob/main/README.md) describe the change in a way relevant to app developers, and are [capitalized, punctuated, and past tense](https://github.com/electron/clerk/blob/main/README.md#examples).

#### Release Notes

Notes: none


Changed files:
filename: .github/workflows/windows-publish.yml
patch: @@ -13,7 +13,7 @@ on:
         required: false
         default: '1'
         type: string
-      run-macos-publish:
+      run-windows-publish:
         description: 'Run the publish jobs vs just the build jobs'
         type: boolean
         default: false
@@ -48,7 +48,7 @@ jobs:
     needs: checkout-windows
     with:
       environment: production-release
-      build-runs-on: macos-14-xlarge
+      build-runs-on: electron-arc-windows-amd64-16core
       target-platform: win
       target-arch: x64
       is-release: true
@@ -62,7 +62,7 @@ jobs:
     needs: checkout-windows
     with:
       environment: production-release
-      build-runs-on: macos-14-xlarge
+      build-runs-on: electron-arc-windows-amd64-16core
       target-platform: win
       target-arch: arm64
       is-release: true
@@ -76,7 +76,7 @@ jobs:
     needs: checkout-windows
     with:
       environment: production-release
-      build-runs-on: macos-14-xlarge
+      build-runs-on: electron-arc-windows-amd64-16core
       target-platform: win
       target-arch: x86
       is-release: true
Repository: facebook/react
Pull request: [flow] upgrade to 0.214.0

Simple upgrade without any code changes required.

Changelog: https://github.com/facebook/flow/blob/main/Changelog.md

Changed files:
filename: package.json
patch: @@ -64,8 +64,8 @@
     "eslint-plugin-react-internal": "link:./scripts/eslint-rules",
     "fbjs-scripts": "^3.0.1",
     "filesize": "^6.0.1",
-    "flow-bin": "^0.213.0",
-    "flow-remove-types": "^2.213.0",
+    "flow-bin": "^0.214.0",
+    "flow-remove-types": "^2.214.0",
     "glob": "^7.1.6",
     "glob-stream": "^6.1.0",
     "google-closure-compiler": "^20230206.0.0",

filename: scripts/flow/config/flowconfig
patch: @@ -36,4 +36,4 @@ munge_underscores=false
 %REACT_RENDERER_FLOW_OPTIONS%
 
 [version]
-^0.213.0
+^0.214.0

filename: yarn.lock
patch: @@ -7866,22 +7866,22 @@ flatted@^3.1.0:
   resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"
   integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==
 
-flow-bin@^0.213.0:
-  version "0.213.0"
-  resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.213.0.tgz#02a85537cce3ea1f61bff77e7995a49a1db2e963"
-  integrity sha512-adGcPA3jiz3l0MM4zHVxVUgatvYsDowjT7cje7AvY38z/M0HO2YKcGLRp2xeqbigCgaqXEV6V3/1TaRDVjR++A==
-
-flow-parser@^0.213.0:
-  version "0.213.0"
-  resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.213.0.tgz#a3a2f9ad3eb56309d6aedd9d45b06f31cf3ebbe8"
-  integrity sha512-jPTKNk0lC/iVbaPzfSReo/I67x+PLYiXkFuxHyFYmlJReP3RAoGbmRSC6g8MCEtzw8Uv3clKFmOlEL/LEcoWlw==
-
-flow-remove-types@^2.213.0:
-  version "2.213.0"
-  resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.213.0.tgz#6c81032a32db98f274420b83b92c6bd1828a4037"
-  integrity sha512-HzEFhp5LI1UVLCwm0jm//ocq51yfsR7YPi3U4vOu0AvZX+cdRVIq9P5YEe4lyY6d8Rx8s+6Q1DUHhpNmlTsqPQ==
-  dependencies:
-    flow-parser "^0.213.0"
+flow-bin@^0.214.0:
+  version "0.214.0"
+  resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.214.0.tgz#3ace7984a69309392e056f96cf3bf8623fa93d1c"
+  integrity sha512-rPexleFynYsxsBAPHqRvCIqzcRZ9KkPjlFbuOATmFlHyG6vdy9V+SWPYdzBtgsfhGbj9PZ14pzv1zzgNd7rmvQ==
+
+flow-parser@^0.214.0:
+  version "0.214.0"
+  resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.214.0.tgz#455efc841ec015c62f6dec022cf6c61480f231a2"
+  integrity sha512-RW1Dh6BuT14DA7+gtNRKzgzvG3GTPdrceHCi4ddZ9VFGQ9HtO5L8wzxMGsor7XtInIrbWZZCSak0oxnBF7tApw==
+
+flow-remove-types@^2.214.0:
+  version "2.214.0"
+  resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.214.0.tgz#8283b97f7374512504fd8cef250482cace7e44fd"
+  integrity sha512-nM2hr8JgvZVvQOnF9Hyk/V5SVLzV0fliIYNGu90jusYsTHt4B8ODMcoTKnzrDkFhYBzwurzN3SZEDDkQOtCucA==
+  dependencies:
+    flow-parser "^0.214.0"
     pirates "^3.0.2"
     vlq "^0.2.1"
Repository: huggingface/transformers
Pull request: Fix chat

# What does this PR do?

Fix chat init


Changed files:
filename: src/transformers/commands/chat.py
patch: @@ -636,7 +636,6 @@ def run(self):
     async def _inner_run(self):
         if self.spawn_backend:
             serve_args = ServeArguments(
-                model_revision=self.args.model_revision,
                 device=self.args.device,
                 torch_dtype=self.args.torch_dtype,
                 trust_remote_code=self.args.trust_remote_code,
@@ -649,13 +648,13 @@ async def _inner_run(self):
                 port=self.args.port,
                 log_level="error",
             )
-            serve_args.model_name_or_path = self.args.model_name_or_path
             serve_command = ServeCommand(serve_args)
 
             thread = Thread(target=serve_command.run)
             thread.daemon = True
             thread.start()
 
+        model = self.args.model_name_or_path + "@" + self.args.model_revision
         host = "http://localhost" if self.args.host == "localhost" else self.args.host
         client = AsyncInferenceClient(f"{host}:{self.args.port}")
 
@@ -709,7 +708,11 @@ async def _inner_run(self):
                 stream = client.chat_completion(
                     chat,
                     stream=True,
-                    extra_body={"request_id": request_id, "generation_config": {**generation_config.to_dict()}},
+                    extra_body={
+                        "request_id": request_id,
+                        "generation_config": {**generation_config.to_dict()},
+                        "model": model,
+                    },
                 )
 
                 model_output, request_id = await interface.stream_output(stream)
Repository: huggingface/transformers
Pull request: Licenses

Arthur's comments

Changed files:
filename: src/transformers/commands/serving.py
patch: @@ -1,4 +1,4 @@
-# Copyright 2020 The HuggingFace Team. All rights reserved.
+# Copyright 2025 The HuggingFace Team. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

filename: tests/commands/test_chat.py
patch: @@ -1,3 +1,16 @@
+# Copyright 2025 The HuggingFace Team. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 import os
 import tempfile
 import unittest

filename: tests/commands/test_serving.py
patch: @@ -1,3 +1,16 @@
+# Copyright 2025 The HuggingFace Team. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 import unittest
 from unittest.mock import patch
Repository: denoland/deno
Pull request: fix: unhandled rejection from quic

Fixes: https://github.com/denoland/deno/issues/28406

Changed files:
filename: ext/net/03_quic.js
patch: @@ -55,11 +55,14 @@ const {
   ReflectConstruct,
   Symbol,
   SymbolAsyncIterator,
-  SafePromisePrototypeFinally,
 } = primordials;
 
 let getEndpointResource;
 
+function promiseFinallyWithoutUnhandled(p, f) {
+  return PromisePrototypeThen(p, f, f);
+}
+
 function transportOptions({
   keepAliveInterval,
   maxIdleTimeout,
@@ -385,7 +388,7 @@ class QuicReceiveStream extends ReadableStream {
 
 function readableStream(rid, closed) {
   // stream can be indirectly closed by closing connection.
-  SafePromisePrototypeFinally(closed, () => {
+  promiseFinallyWithoutUnhandled(closed, () => {
     core.tryClose(rid);
   });
   return readableStreamForRid(
@@ -397,7 +400,7 @@ function readableStream(rid, closed) {
 
 function writableStream(rid, closed) {
   // stream can be indirectly closed by closing connection.
-  SafePromisePrototypeFinally(closed, () => {
+  promiseFinallyWithoutUnhandled(closed, () => {
     core.tryClose(rid);
   });
   return writableStreamForRid(

filename: ext/web/webtransport.js
patch: @@ -682,10 +682,14 @@ class WebTransportDatagramDuplexStream {
     }
 
     this.#promise = promise;
-    PromisePrototypeThen(promise, ({ conn, sessionIdBuf }) => {
-      this.#conn = conn;
-      this.#sessionIdBuf = sessionIdBuf;
-    });
+    PromisePrototypeThen(
+      promise,
+      ({ conn, sessionIdBuf }) => {
+        this.#conn = conn;
+        this.#sessionIdBuf = sessionIdBuf;
+      },
+      () => {},
+    );
 
     this.#receiveDatagrams();
   }
Repository: nodejs/node
Pull request: tools: add codeql nightly

Refs: https://github.com/nodejs/node/pull/57535

cc: @nodejs/security-wg 

Changed files:
filename: .github/workflows/codeql.yml
patch: @@ -0,0 +1,40 @@
+name: Run CodeQL
+
+on:
+  schedule:
+    - cron: 0 0 * * *
+
+permissions:
+  contents: read
+
+jobs:
+  analyze:
+    name: Analyze
+    runs-on: ubuntu-latest
+    permissions:
+      actions: read
+      contents: read
+      security-events: write
+
+    strategy:
+      fail-fast: false
+      matrix:
+        language: [cpp, javascript, python]
+
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # v4.2.2
+
+      # Initializes the CodeQL tools for scanning.
+      - name: Initialize CodeQL
+        uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5  # v3.28.11
+        with:
+          languages: ${{ matrix.language }}
+
+      - name: Autobuild
+        uses: github/codeql-action/autobuild@6bb031afdd8eb862ea3fc1848194185e076637e5  # v3.28.11
+
+      - name: Perform CodeQL Analysis
+        uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5  # v3.28.11
+        with:
+          category: /language:${{matrix.language}}
Repository: vercel/next.js
Pull request: fix(turbopack): Fix a panic when the generated hash is too short when radix formatting a string.

## Fix hash length check in metadata formatting

### What?
Fixed a panic in the `format_radix` function when the generated hash is shorter than 6 characters.

### Why?
The current implementation always tries to take the first 6 characters of the hash using a fixed slice `result[..6]`, which would panic if the hash is shorter than 6 characters. This doesn't match the JavaScript behavior where `toString(36).slice(0, 6)` automatically takes the minimum of the hash length and 6.

### How?
Added a check to determine the minimum length between the hash length and 6, then use that value for slicing:
```rust
let len = result.len().min(6);
result[..len].iter().collect()
```

Fixes #PACK-4495

Changed files:
filename: crates/next-core/src/next_app/metadata/mod.rs
patch: @@ -276,7 +276,12 @@ fn format_radix(mut x: u32, radix: u32) -> String {
     }
 
     result.reverse();
-    result[..6].iter().collect()
+
+    // We only need the first 6 characters of the hash but sometimes the hash is too short.
+    // In JavaScript, we use `toString(36).slice(0, 6)` to get the first 6 characters of the hash,
+    // but it will automatically take the minimum of the length of the hash and 6. Rust will panic.
+    let len = result.len().min(6);
+    result[..len].iter().collect()
 }
 
 /// If there's special convention like (...) or @ in the page path,
@@ -360,7 +365,7 @@ pub fn normalize_metadata_route(mut page: AppPage) -> Result<AppPage> {
 
 #[cfg(test)]
 mod test {
-    use super::normalize_metadata_route;
+    use super::{djb2_hash, format_radix, normalize_metadata_route};
     use crate::next_app::AppPage;
 
     #[test]
@@ -385,4 +390,10 @@ mod test {
             assert_eq!(&normalized.to_string(), expected);
         }
     }
+
+    #[test]
+    fn test_format_radix_doesnt_panic_with_result_less_than_6_characters() {
+        let hash = format_radix(djb2_hash("/lookup/[domain]/(dns)"), 36);
+        assert!(hash.len() < 6);
+    }
 }
Repository: electron/electron
Pull request: build: create maintainer issue template and disable blank issues

#### Description of Change

<!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.

Contributors guide: https://github.com/electron/electron/blob/main/CONTRIBUTING.md
-->

The Electron project regularly receives issues where the authors didn't fill out the available issue templates.

This leads to lengthy back and forth to obtain the required information. Additionally, these issues currently do not show up in the maintainer tooling for triaging.

@dsanders11 told me that blank issues are currently enabled so that maintainers can create issues for tasks, e.g. upgrade follow-ups.

This PR:

- Creates a new issue template for maintainers to cover the aforementioned use case
- Disables blank issues

The new task type should solve maintainers' need to create issues without following any templates. At the same time, it has issue authors confirm that they are maintainers of the Electron project and guides them towards the appropriate templates if they are not. This should hopefully reduce the amount of incomplete bug reports.

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included and stakeholders cc'd
- [x] [PR release notes](https://github.com/electron/clerk/blob/main/README.md) describe the change in a way relevant to app developers, and are [capitalized, punctuated, and past tense](https://github.com/electron/clerk/blob/main/README.md#examples).

#### Release Notes

Notes: none

Changed files:
filename: .github/ISSUE_TEMPLATE/config.yml
patch: @@ -1,3 +1,4 @@
+blank_issues_enabled: false
 contact_links:
   - name: Discord Chat
     url: https://discord.gg/APGC3k5yaH

filename: .github/ISSUE_TEMPLATE/maintainer_issue.yml
patch: @@ -0,0 +1,14 @@
+name: Maintainer Issue (not for public use)
+description: Only to be created by Electron maintainers
+body:
+- type: checkboxes
+  attributes:
+    label: Confirmation
+    options:
+      - label: I am a [maintainer](https://github.com/orgs/electron/people) of the Electron project. (If not, please create a [different issue type](https://github.com/electron/electron/issues/new/).)
+        required: true
+- type: textarea
+  attributes:
+    label: Description
+  validations:
+    required: true
Repository: ggml-org/llama.cpp
Pull request: llama-bench: fixed help output for `-override-tensors` to `-override-tensor`

Just fixed this help output for `llama-bench`

```
  -ot --override-tensors <tensor name pattern>=<buffer type>;...
                                            (default: disabled)
```

```
error: invalid parameter for argument: --override-tensors
```

it should be `--override-tensor` to match the rest of `llama.cpp`.

Changed files:
filename: tools/llama-bench/llama-bench.cpp
patch: @@ -374,7 +374,7 @@ static void print_usage(int /* argc */, char ** argv) {
     printf("  -embd, --embeddings <0|1>                 (default: %s)\n",
            join(cmd_params_defaults.embeddings, ",").c_str());
     printf("  -ts, --tensor-split <ts0/ts1/..>          (default: 0)\n");
-    printf("  -ot --override-tensors <tensor name pattern>=<buffer type>;...\n");
+    printf("  -ot --override-tensor <tensor name pattern>=<buffer type>;...\n");
     printf("                                            (default: disabled)\n");
     printf("  -nopo, --no-op-offload <0|1>              (default: 0)\n");
     printf("\n");
Repository: facebook/react
Pull request: Renames master to main in fixtures/flight webpack config file

## Summary

Updates the reference to the main branch in the webpack config file of fixtures/flight package

## Test Plan
No tests are required.

Changed files:
filename: fixtures/flight/config/webpack.config.js
patch: @@ -608,7 +608,7 @@ module.exports = function(webpackEnv) {
       // This is necessary to emit hot updates (CSS and Fast Refresh):
       isEnvDevelopment && new webpack.HotModuleReplacementPlugin(),
       // Experimental hot reloading for React .
-      // https://github.com/facebook/react/tree/master/packages/react-refresh
+      // https://github.com/facebook/react/tree/main/packages/react-refresh
       isEnvDevelopment &&
         shouldUseReactRefresh &&
         new ReactRefreshWebpackPlugin({
Repository: denoland/deno
Pull request: fix(bench): lower bench time budget when `n` is specified

Closes #28430

Changed files:
filename: cli/js/40_bench.js
patch: @@ -241,7 +241,7 @@ const allMaxLength = 10_000_000;
 let all = new Array(allMaxLength);
 const lowPrecisionThresholdInNs = 1e4;
 
-async function benchMeasure(timeBudget, fn, desc, context) {
+async function benchMeasure(fn, desc, context) {
   let n = 0;
   let avg = 0;
   let wavg = 0;
@@ -251,7 +251,7 @@ async function benchMeasure(timeBudget, fn, desc, context) {
 
   // warmup step
   let c = 0;
-  let iterations = desc.warmup > 0 ? desc.warmup : 20;
+  let iterations = desc.warmup >= 0 ? desc.warmup : 20;
   let budget = 10 * 1e6;
 
   if (!desc.async) {
@@ -298,7 +298,7 @@ async function benchMeasure(timeBudget, fn, desc, context) {
 
   // measure step
   iterations = desc.n > 0 ? desc.n : 10;
-  budget = timeBudget * 1e6;
+  budget = desc.n > 0 ? 10 * 1e6 : 500 * 1e6;
 
   if (wavg > lowPrecisionThresholdInNs) {
     if (!desc.async) {
@@ -475,10 +475,8 @@ function wrapBenchmark(desc) {
         });
       }
 
-      const benchTimeInMs = 500;
       const context = createBenchContext(desc);
       const stats = await benchMeasure(
-        benchTimeInMs,
         fn,
         desc,
         context,

filename: cli/tsc/dts/lib.deno.ns.d.ts
patch: @@ -1242,9 +1242,16 @@ declare namespace Deno {
     /** If at least one bench has `only` set to true, only run benches that have
      * `only` set to `true` and fail the bench suite. */
     only?: boolean;
-    /** Number of iterations to perform. */
+    /** Number of iterations to perform.
+     * @remarks When the benchmark is very fast, this will only be used as a
+     * suggestion in order to get a more accurate measurement.
+     */
     n?: number;
-    /** Number of warmups to do before running the benchmark. */
+    /** Number of warmups to do before running the benchmark.
+     * @remarks A warmup will always be performed even if this is `0` in order to
+     * determine the speed of the benchmark in order to improve the measurement. When
+     * the benchmark is very fast, this will be used as a suggestion.
+     */
     warmup?: number;
     /** Ensure the bench case does not prematurely cause the process to exit,
      * for example via a call to {@linkcode Deno.exit}.
Repository: vercel/next.js
Pull request: [tests]: add failing deploy test to manifest

For the same reason we have the other `unstable_expire<x>` tests disabled, this adds another one that has been frequently failing for us. ([Linear x-ref](https://linear.app/vercel/issue/ENET-1729))

`app-action-node-middleware` is also a duplicate of `app-action`, but when we created it, we did not copy over the manifest exclude list. 



Changed files:
filename: test/deploy-tests-manifest.json
patch: @@ -4,6 +4,14 @@
     "test/e2e/app-dir/actions/app-action.test.ts": {
       "failed": [
         "app-dir action handling fetch actions should invalidate client cache when path is revalidated",
+        "app-dir action handling fetch actions should invalidate client cache when tag is revalidated",
+        "app-dir action handling fetch actions should handle unstable_expireTag"
+      ]
+    },
+    "test/e2e/app-dir/actions/app-action-node-middleware.test.ts": {
+      "failed": [
+        "app-dir action handling fetch actions should invalidate client cache when path is revalidated",
+        "app-dir action handling fetch actions should invalidate client cache when tag is revalidated",
         "app-dir action handling fetch actions should handle unstable_expireTag"
       ]
     },

filename: test/e2e/app-dir/actions/app-action.test.ts
patch: @@ -10,7 +10,6 @@ import {
 import type { Request, Response } from 'playwright'
 import fs from 'node:fs/promises'
 import { join } from 'node:path'
-import { setTimeout } from 'node:timers/promises'
 
 const GENERIC_RSC_ERROR =
   'Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.'
@@ -1487,14 +1486,10 @@ describe('app-dir action handling', () => {
           )
         })
 
-        // Should be the same number although in serverless it might be
-        // eventually consistent.
-        if (!isNextDeploy) {
-          await retry(async () => {
-            const another = await browser.elementByCss('#thankyounext').text()
-            expect(another).toEqual(original)
-          })
-        }
+        await retry(async () => {
+          const another = await browser.elementByCss('#thankyounext').text()
+          expect(another).toEqual(original)
+        })
 
         await browser.elementByCss('#back').click()
         await retry(async () => {
@@ -1512,11 +1507,6 @@ describe('app-dir action handling', () => {
             throw new Error(`Invalid type: ${type}`)
         }
 
-        // Give some time for it to be revalidated.
-        if (isNextDeploy) {
-          await setTimeout(5000)
-        }
-
         // Should be different
         let revalidated
         await retry(async () => {