helloadhavan/github_issues huggingface dataset:
Repository: vercel/next.js
Pull request: Development: Implement request time for Pages Router

## What?

Implemented #84906 for Pages Router.

Closes PACK-5714

Changed files:
filename: packages/next/src/build/templates/pages-api.ts
patch: @@ -13,6 +13,7 @@ import * as userland from 'VAR_USERLAND'
 import { getTracer, SpanKind } from '../../server/lib/trace/tracer'
 import { BaseServerSpan } from '../../server/lib/trace/constants'
 import type { InstrumentationOnRequestError } from '../../server/instrumentation/types'
+import { addRequestMeta } from '../../server/request-meta'
 
 // Re-export the handler (should be the default export).
 export default hoist(userland, 'default')
@@ -42,6 +43,9 @@ export async function handler(
     waitUntil?: (prom: Promise<void>) => void
   }
 ): Promise<void> {
+  if (routeModule.isDev) {
+    addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())
+  }
   let srcPage = 'VAR_DEFINITION_PAGE'
 
   // turbopack doesn't normalize `/index` in the page name

filename: packages/next/src/server/route-modules/pages/pages-handler.ts
patch: @@ -69,6 +69,13 @@ export const getHandler = ({
       waitUntil: (prom: Promise<void>) => void
     }
   ): Promise<void> {
+    if (routeModule.isDev) {
+      addRequestMeta(
+        req,
+        'devRequestTimingInternalsEnd',
+        process.hrtime.bigint()
+      )
+    }
     let srcPage = originalSrcPage
     // turbopack doesn't normalize `/index` in the page name
     // so we need to to process dynamic routes properly
Repository: ollama/ollama
Pull request: Use flash attention flag for now


Changed files:
filename: llm/server.go
patch: @@ -200,20 +200,20 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr
 		params = append(params, "--numa")
 	}
 
-	flashAttnSupported := true
+	flashAttnEnabled := envconfig.FlashAttention
 
 	// partial offloading does not support flash attention
-	if uint64(opts.NumGPU) < ggml.KV().BlockCount() + 1 {
-		flashAttnSupported = false
+	if uint64(opts.NumGPU) < ggml.KV().BlockCount()+1 {
+		flashAttnEnabled = false
 	}
 
 	// only cuda (compute capability 7+) and metal support flash attention
 	for _, g := range gpus {
 		if g.Library != "metal" && (g.Library != "cuda" || g.DriverMajor < 7) {
-			flashAttnSupported = false
+			flashAttnEnabled = false
 		}
 	}
-	if flashAttnSupported {
+	if flashAttnEnabled {
 		params = append(params, "--flash-attn")
 	}
 

filename: server/envconfig/config.go
patch: @@ -31,6 +31,8 @@ var (
 	RunnersDir string
 	// Set via OLLAMA_TMPDIR in the environment
 	TmpDir string
+	// Experimental flash attention
+	FlashAttention bool
 )
 
 func AsMap() map[string]string {
@@ -45,6 +47,7 @@ func AsMap() map[string]string {
 		"OLLAMA_NUM_PARALLEL":      fmt.Sprintf("%v", NumParallel),
 		"OLLAMA_RUNNERS_DIR":       fmt.Sprintf("%v", RunnersDir),
 		"OLLAMA_TMPDIR":            fmt.Sprintf("%v", TmpDir),
+		"OLLAMA_FLASH_ATTENTION":   fmt.Sprintf("%v", FlashAttention),
 	}
 }
 
@@ -78,6 +81,13 @@ func LoadConfig() {
 		}
 	}
 
+	if fa := clean("OLLAMA_FLASH_ATTENTION"); fa != "" {
+		d, err := strconv.ParseBool(fa)
+		if err == nil {
+			FlashAttention = d
+		}
+	}
+
 	RunnersDir = clean("OLLAMA_RUNNERS_DIR")
 	if runtime.GOOS == "windows" && RunnersDir == "" {
 		// On Windows we do not carry the payloads inside the main executable

filename: server/envconfig/config_test.go
patch: @@ -17,4 +17,7 @@ func TestConfig(t *testing.T) {
 	t.Setenv("OLLAMA_DEBUG", "1")
 	LoadConfig()
 	require.True(t, Debug)
+	t.Setenv("OLLAMA_FLASH_ATTENTION", "1")
+	LoadConfig()
+	require.True(t, FlashAttention)
 }

filename: server/sched_test.go
patch: @@ -151,7 +151,7 @@ func newScenario(t *testing.T, ctx context.Context, modelName string, estimatedV
 }
 
 func TestRequests(t *testing.T) {
-	ctx, done := context.WithTimeout(context.Background(), 500*time.Millisecond)
+	ctx, done := context.WithTimeout(context.Background(), time.Second)
 	defer done()
 
 	// Same model, same request
Repository: huggingface/transformers
Pull request: Fix torch.no_grad decorator in VLMS

As per the title

Changed files:
filename: src/transformers/models/emu3/modeling_emu3.py
patch: @@ -1392,7 +1392,7 @@ def get_image_features(self, pixel_values: torch.FloatTensor, image_sizes: torch
         image_features = torch.split(image_features, split_sizes)
         return image_features
 
-    @torch.no_grad
+    @torch.no_grad()
     def decode_image_tokens(self, image_tokens: torch.LongTensor, height: int, width: int):
         """
         Decodes generated image tokens from language model to continuous pixel values

filename: src/transformers/models/emu3/modular_emu3.py
patch: @@ -946,7 +946,7 @@ def get_image_features(self, pixel_values: torch.FloatTensor, image_sizes: torch
         image_features = torch.split(image_features, split_sizes)
         return image_features
 
-    @torch.no_grad
+    @torch.no_grad()
     def decode_image_tokens(self, image_tokens: torch.LongTensor, height: int, width: int):
         """
         Decodes generated image tokens from language model to continuous pixel values

filename: src/transformers/models/janus/modeling_janus.py
patch: @@ -1283,7 +1283,7 @@ def decode_image_tokens(self, image_tokens: torch.Tensor):
         decoded_image = decoded_image.permute(0, 2, 3, 1)
         return decoded_image
 
-    @torch.no_grad
+    @torch.no_grad()
     def generate(
         self,
         inputs: Optional[torch.Tensor] = None,

filename: src/transformers/models/janus/modular_janus.py
patch: @@ -1099,7 +1099,7 @@ def decode_image_tokens(self, image_tokens: torch.Tensor):
         decoded_image = decoded_image.permute(0, 2, 3, 1)
         return decoded_image
 
-    @torch.no_grad
+    @torch.no_grad()
     def generate(
         self,
         inputs: Optional[torch.Tensor] = None,
Repository: ollama/ollama
Pull request: fix q5_0, q5_1


Changed files:
filename: llm/ggml.go
patch: @@ -125,9 +125,9 @@ type Tensor struct {
 
 func (t Tensor) blockSize() uint64 {
 	switch t.Kind {
-	case 0, 1, 24, 25, 26, 27, 28, 31: // F32, F16, I8, I16, I32, I64, F64, BF16
+	case 0, 1, 24, 25, 26, 27, 28, 30: // F32, F16, I8, I16, I32, I64, F64, BF16
 		return 1
-	case 2, 3, 8, 9, 20: // Q4_0, Q4_1, Q8_0, Q8_1, IQ4_NL
+	case 2, 3, 4, 5, 6, 7, 8, 9, 20: // Q4_0, Q4_1, Q5_0, Q5_1, Q8_0, Q8_1, IQ4_NL
 		return 32
 	default: // All others
 		return 256
Repository: vercel/next.js
Pull request: [cache components] add cache components indicator to dev start

Missed the plumbing for this in `dev`. 

Changed files:
filename: packages/next/src/server/lib/start-server.ts
patch: @@ -367,17 +367,20 @@ export async function startServer(
       // Only load env and config in dev to for logging purposes
       let envInfo: string[] | undefined
       let experimentalFeatures: ConfiguredExperimentalFeature[] | undefined
+      let cacheComponents: boolean | undefined
       try {
         if (isDev) {
           const startServerInfo = await getStartServerInfo({ dir, dev: isDev })
           envInfo = startServerInfo.envInfo
+          cacheComponents = startServerInfo.cacheComponents
           experimentalFeatures = startServerInfo.experimentalFeatures
         }
         logStartInfo({
           networkUrl,
           appUrl,
           envInfo,
           experimentalFeatures,
+          cacheComponents,
           logBundler: isDev,
         })
 

filename: test/development/app-dir/dev-output/app/layout.tsx
patch: @@ -0,0 +1,11 @@
+export default function RootLayout({
+  children,
+}: {
+  children: React.ReactNode
+}) {
+  return (
+    <html>
+      <body>{children}</body>
+    </html>
+  )
+}

filename: test/development/app-dir/dev-output/app/page.tsx
patch: @@ -0,0 +1,3 @@
+export default function Page() {
+  return <p>Hello, World!</p>
+}

filename: test/development/app-dir/dev-output/dev-output.test.ts
patch: @@ -0,0 +1,50 @@
+import { nextTestSetup } from 'e2e-utils'
+const { version: nextVersion } = require('next/package.json')
+
+const cacheComponentsEnabled = process.env.__NEXT_CACHE_COMPONENTS === 'true'
+
+describe('dev-output', () => {
+  const { next, isTurbopack } = nextTestSetup({
+    files: __dirname,
+  })
+
+  it('shows Cache Components indicator when enabled', async () => {
+    const preamble = getPreambleOutput(next.cliOutput)
+
+    if (cacheComponentsEnabled) {
+      if (isTurbopack) {
+        expect(preamble).toContain('Next.js')
+        expect(preamble).toContain('Turbopack')
+        expect(preamble).toContain('Cache Components')
+      } else {
+        expect(preamble).toContain('Next.js')
+        expect(preamble).toContain('webpack')
+        expect(preamble).toContain('Cache Components')
+      }
+    } else {
+      // When cache components env is not set, should not show the indicator
+      expect(preamble).toContain('Next.js')
+      if (isTurbopack) {
+        expect(preamble).toContain('Turbopack')
+      } else {
+        expect(preamble).toContain('webpack')
+      }
+      expect(preamble).not.toContain('Cache Components')
+    }
+  })
+})
+
+function getPreambleOutput(cliOutput: string): string {
+  const lines: string[] = []
+
+  for (const line of cliOutput.split('\n')) {
+    // Capture lines up to and including the "Local:" line
+    lines.push(line.replace(nextVersion, 'x.y.z'))
+
+    if (line.includes('Local:')) {
+      break
+    }
+  }
+
+  return lines.join('\n').trim()
+}
Repository: electron/electron
Pull request: fix: dark mode on Linux default themeing

Backport of #47869

See that PR for details.


Notes: Fixed an issue where windows used dark theme on Linux all the time without reacting to system theme changes.


Changed files:
filename: shell/browser/ui/electron_desktop_window_tree_host_linux.cc
patch: @@ -25,6 +25,7 @@
 #include "ui/linux/linux_ui.h"
 #include "ui/ozone/public/ozone_platform.h"
 #include "ui/platform_window/platform_window.h"
+#include "ui/platform_window/platform_window_init_properties.h"
 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h"
 
@@ -307,4 +308,14 @@ void ElectronDesktopWindowTreeHostLinux::DispatchEvent(ui::Event* event) {
   views::DesktopWindowTreeHostLinux::DispatchEvent(event);
 }
 
+void ElectronDesktopWindowTreeHostLinux::AddAdditionalInitProperties(
+    const views::Widget::InitParams& params,
+    ui::PlatformWindowInitProperties* properties) {
+  views::DesktopWindowTreeHostLinux::AddAdditionalInitProperties(params,
+                                                                 properties);
+  const auto* linux_ui_theme = ui::LinuxUiTheme::GetForProfile(nullptr);
+  properties->prefer_dark_theme =
+      linux_ui_theme && linux_ui_theme->PreferDarkTheme();
+}
+
 }  // namespace electron

filename: shell/browser/ui/electron_desktop_window_tree_host_linux.h
patch: @@ -61,6 +61,9 @@ class ElectronDesktopWindowTreeHostLinux
   // views::DesktopWindowTreeHostLinux:
   void UpdateFrameHints() override;
   void DispatchEvent(ui::Event* event) override;
+  void AddAdditionalInitProperties(
+      const views::Widget::InitParams& params,
+      ui::PlatformWindowInitProperties* properties) override;
 
  private:
   void UpdateWindowState(ui::PlatformWindowState new_state);
Repository: ggml-org/llama.cpp
Pull request: GGML RPC use unordered_map::reserve and emplace

Using `unordered_map::reserve` for `tensor_ptrs` and `tensor_map` presizes the arrays so inserts in these loops don’t trigger rehashing. Also prefer `emplace` over `operator[]` to avoid the default value insert then assign behavior.

Tested by loading multiple models over rpc-server with CUDA backend.

`./build/bin/test-backend-ops` passes locally with backend GB10 CUDA and CPU devices

Changed files:
filename: ggml/src/ggml-rpc/ggml-rpc.cpp
patch: @@ -1517,10 +1517,12 @@ bool rpc_server::graph_compute(const std::vector<uint8_t> & input) {
     struct ggml_cgraph * graph = ggml_new_graph_custom(ctx, n_nodes, false);
     graph->n_nodes = n_nodes;
     std::unordered_map<uint64_t, const rpc_tensor*> tensor_ptrs;
+    tensor_ptrs.reserve(n_tensors);
     for (uint32_t i = 0; i < n_tensors; i++) {
-        tensor_ptrs[tensors[i].id] = &tensors[i];
+        tensor_ptrs.emplace(tensors[i].id, &tensors[i]);
     }
     std::unordered_map<uint64_t, ggml_tensor*> tensor_map;
+    tensor_map.reserve(n_nodes);
     for (uint32_t i = 0; i < n_nodes; i++) {
         int64_t id;
         memcpy(&id, &nodes[i], sizeof(id));
Repository: ggml-org/llama.cpp
Pull request: model : remove modern-bert iswa template

As pointed out here https://github.com/ggml-org/llama.cpp/pull/18526#discussion_r2656550967 it didn't make much sense.

Changed files:
filename: src/llama-model.cpp
patch: @@ -7457,7 +7457,7 @@ ggml_cgraph * llama_model::build_graph(const llm_graph_params & params) const {
             } break;
         case LLM_ARCH_MODERN_BERT:
             {
-                llm = std::make_unique<llm_build_modern_bert<true>>(*this, params);
+                llm = std::make_unique<llm_build_modern_bert>(*this, params);
             } break;
         case LLM_ARCH_NEO_BERT:
             {

filename: src/models/models.h
patch: @@ -332,7 +332,6 @@ struct llm_build_mistral3 : public llm_graph_context {
     llm_build_mistral3(const llama_model & model, const llm_graph_params & params);
 };
 
-template <bool iswa>
 struct llm_build_modern_bert : public llm_graph_context {
     llm_build_modern_bert(const llama_model & model, const llm_graph_params & params);
 };

filename: src/models/modern-bert.cpp
patch: @@ -1,7 +1,6 @@
 #include "models.h"
 
-template <bool iswa>
-llm_build_modern_bert<iswa>::llm_build_modern_bert(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) {
+llm_build_modern_bert::llm_build_modern_bert(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) {
     const int64_t n_embd_head = hparams.n_embd_head_v;
     const int64_t n_embd_gqa  = hparams.n_embd_v_gqa();
 
@@ -24,13 +23,7 @@ llm_build_modern_bert<iswa>::llm_build_modern_bert(const llama_model & model, co
     auto * inp_attn = build_attn_inp_no_cache();
 
     for (int il = 0; il < n_layer; ++il) {
-        float freq_base_l  = 0.0f;
-
-        if constexpr (iswa) {
-            freq_base_l = model.get_rope_freq_base(cparams, il);
-        } else {
-            freq_base_l = freq_base;
-        }
+        float freq_base_l = model.get_rope_freq_base(cparams, il);
 
         cur = inpL;
 
@@ -120,7 +113,3 @@ llm_build_modern_bert<iswa>::llm_build_modern_bert(const llama_model & model, co
     res->t_embd = cur;
     ggml_build_forward_expand(gf, cur);
 }
-
-// Explicit template instantiations
-template struct llm_build_modern_bert<false>;
-template struct llm_build_modern_bert<true>;
Repository: facebook/react
Pull request: fix[react-devtools]: request hook initialization inside http server response

Fixes https://github.com/facebook/react/issues/31100.

There are 2 things:
1. In https://github.com/facebook/react/pull/30987, we've introduced a breaking change: importing `react-devtools-core` is no longer enough for installing React DevTools global Hook. You need to call `initialize`, in which you may provide initial settings. I am not adding settings here, because it is not implemented, and there are no plans for supporting this.
2. Calling `installHook` is not necessary inside `standalone.js`, because this script is running inside Electron wrapper (which is just a UI, not the app that we are debugging). We will loose the ability to use React DevTools on this React application, but I guess thats fine.

Changed files:
filename: packages/react-devtools-core/src/standalone.js
patch: @@ -17,7 +17,6 @@ import {registerDevToolsEventLogger} from 'react-devtools-shared/src/registerDev
 import {Server} from 'ws';
 import {join} from 'path';
 import {readFileSync} from 'fs';
-import {installHook} from 'react-devtools-shared/src/hook';
 import DevTools from 'react-devtools-shared/src/devtools/views/DevTools';
 import {doesFilePathExist, launchEditor} from './editor';
 import {
@@ -29,8 +28,6 @@ import {localStorageSetItem} from 'react-devtools-shared/src/storage';
 import type {FrontendBridge} from 'react-devtools-shared/src/bridge';
 import type {Source} from 'react-devtools-shared/src/shared/types';
 
-installHook(window);
-
 export type StatusTypes = 'server-connected' | 'devtools-connected' | 'error';
 export type StatusListener = (message: string, status: StatusTypes) => void;
 export type OnDisconnectedCallback = () => void;
@@ -371,9 +368,12 @@ function startServer(
         '\n;' +
         backendFile.toString() +
         '\n;' +
+        'ReactDevToolsBackend.initialize();' +
+        '\n' +
         `ReactDevToolsBackend.connectToDevTools({port: ${port}, host: '${host}', useHttps: ${
           useHttps ? 'true' : 'false'
-        }});`,
+        }});
+        `,
     );
   });
Repository: ollama/ollama
Pull request: Set darwin CI timeout to longer


Changed files:
filename: .github/workflows/release.yaml
patch: @@ -28,6 +28,7 @@ jobs:
           security unlock-keychain -p password build.keychain
           security import certificate.p12 -k build.keychain -P $MACOS_SIGNING_KEY_PASSWORD -T /usr/bin/codesign
           security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k password build.keychain
+          security set-keychain-settings -lut 3600 build.keychain
       - uses: actions/setup-go@v5
         with:
           go-version-file: go.mod
Repository: ggml-org/llama.cpp
Pull request: Add conversion support for IQuestCoderForCausalLM

Complex and comprehensive support, and I didn't even use any AI!



Changed files:
filename: convert_hf_to_gguf.py
patch: @@ -2492,6 +2492,7 @@ def prepare_tensors(self):
     "VLlama3ForCausalLM",
     "LlavaForConditionalGeneration",
     "VoxtralForConditionalGeneration",
+    "IQuestCoderForCausalLM",
     "LlamaModel")
 class LlamaModel(TextModel):
     model_arch = gguf.MODEL_ARCH.LLAMA
Repository: ollama/ollama
Pull request: Tidy up developer guide a little


Changed files:
filename: README.md
patch: @@ -194,25 +194,7 @@ ollama list
 
 ## Building
 
-Install `cmake` and `go`:
-
-```
-brew install cmake go
-```
-
-Then generate dependencies:
-
-```
-go generate ./...
-```
-
-Then build the binary:
-
-```
-go build .
-```
-
-More detailed instructions can be found in the [developer guide](https://github.com/ollama/ollama/blob/main/docs/development.md)
+See the [developer guide](https://github.com/ollama/ollama/blob/main/docs/development.md)
 
 ### Running local builds
 

filename: docs/development.md
patch: @@ -6,6 +6,8 @@ Install required tools:
 - go version 1.22 or higher
 - gcc version 11.4.0 or higher
 
+### MacOS
+
 ```bash
 brew install go cmake gcc
 ```
Repository: ggml-org/llama.cpp
Pull request: convert: avoid token collision when stripping ## prefix

When converting BERT models to GGUF, the `phantom()` function transforms wordpiece tokens by stripping the `##` prefix. This can cause token collisions:

**Example:**
- Original vocab contains both `[1]` and `##[1]`
- After transformation: `##[1]` → `[1]`
- Result: Two different tokens now have the same string representation

Changed files:
filename: convert_hf_to_gguf.py
patch: @@ -5287,13 +5287,14 @@ def set_vocab(self):
         self.gguf_writer.add_token_type_count(self.hparams.get("type_vocab_size", 1))
 
         # convert to phantom space vocab
-        def phantom(tok):
-            if tok.startswith("[") and tok.endswith("]"):
+        def phantom(tok, toktype):
+            if toktype == gguf.TokenType.CONTROL:
                 return tok
             if tok.startswith("##"):
                 return tok[2:]
             return "\u2581" + tok
-        tokens = list(map(phantom, tokens))
+        assert len(tokens) == len(toktypes)
+        tokens = list(map(phantom, tokens, toktypes))
 
         # add vocab to gguf
         self.gguf_writer.add_tokenizer_model("bert")
Repository: nodejs/node
Pull request: src: simplify is_callable by making it a concept

Using a C++20 `concept` here makes `is_callable` much simpler than relying on SFINAE. It is equivalent for function types, `std::function`, lambdas, and classes with `operator()`, regardless of argument or return types.

<!--
Before submitting a pull request, please read:

- the CONTRIBUTING guide at https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
- the commit message formatting guidelines at
  https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines

For code changes:
1. Include tests for any bug fixes or new features.
2. Update documentation if relevant.
3. Ensure that `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes.

If you believe this PR should be highlighted in the Node.js CHANGELOG
please add the `notable-change` label.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
-->


Changed files:
filename: src/req_wrap-inl.h
patch: @@ -111,7 +111,7 @@ struct CallLibuvFunction<ReqT, void(*)(ReqT*, Args...)> {
 template <typename ReqT, typename T>
 struct MakeLibuvRequestCallback {
   static T For(ReqWrap<ReqT>* req_wrap, T v) {
-    static_assert(!is_callable<T>::value,
+    static_assert(!is_callable<T>,
                   "MakeLibuvRequestCallback missed a callback");
     return v;
   }

filename: src/util.h
patch: @@ -661,13 +661,9 @@ struct MallocedBuffer {
 };
 
 // Test whether some value can be called with ().
-template <typename T, typename = void>
-struct is_callable : std::is_function<T> { };
-
 template <typename T>
-struct is_callable<T, typename std::enable_if<
-    std::is_same<decltype(void(&T::operator())), void>::value
-    >::type> : std::true_type { };
+concept is_callable =
+    std::is_function<T>::value || requires { &T::operator(); };
 
 template <typename T, void (*function)(T*)>
 struct FunctionDeleter {
Repository: vercel/next.js
Pull request: Turbopack: Remove unneeded warning for telemetry

### What?

* The information is only needed for telementry, we should not error when a module doesn't match the regexp.
* Fix the regex to support json too. (it was missing a layer attribute)

Closes PACK-5709

Changed files:
filename: packages/next/src/client/dev/hot-reloader/turbopack-hot-reloader-common.ts
patch: @@ -142,11 +142,8 @@ function extractModulesFromTurbopackMessage(
 
     for (const mergedUpdate of update.instruction.merged) {
       for (const name of Object.keys(mergedUpdate.entries)) {
-        const res = /(.*)\s+\[.*/.exec(name)
+        const res = /(.*)\s+[([].*/.exec(name)
         if (res === null) {
-          console.error(
-            '[Turbopack HMR] Expected module to match pattern: ' + name
-          )
           continue
         }