helloadhavan/github_issues huggingface dataset:
Repository: facebook/react
Pull request: Fix typo: supportsMicrotask -> supportsMicrotasks

Fix a typo in the README because [the implementation](https://github.com/facebook/react/blob/main/packages/react-reconciler/src/forks/ReactFiberHostConfig.custom.js#L75) and its method name were different.

Changed files:
filename: packages/react-reconciler/README.md
patch: @@ -199,7 +199,7 @@ You can proxy this to `clearTimeout` or its equivalent in your environment.
 
 This is a property (not a function) that should be set to something that can never be a valid timeout ID. For example, you can set it to `-1`.
 
-#### `supportsMicrotask`
+#### `supportsMicrotasks`
 
 Set this to true to indicate that your renderer supports `scheduleMicrotask`. We use microtasks as part of our discrete event implementation in React DOM. If you're not sure if your renderer should support this, you probably should. The option to not implement `scheduleMicrotask` exists so that platforms with more control over user events, like React Native, can choose to use a different mechanism.
 #### `scheduleMicrotask(fn)`
Repository: vercel/next.js
Pull request: Prettier ignore changeset's format

### Why?

When adding changesets via the changeset/bot, it uses double quotes, which fails lint. The lint is not really important for changesets, so ignore running prettier for `.changeset/*.md`.

![CleanShot 2025-05-14 at 14 26 17@2x](https://github.com/user-attachments/assets/5371209d-e9d1-4627-840c-0615b1e2923e)

https://github.com/vercel/next.js/actions/runs/15020159472/job/42207301914?pr=79193#step:34:45

Changed files:
filename: .prettierignore
patch: @@ -17,6 +17,7 @@ packages/next/wasm/@next
 packages/next/errors.json
 
 .github/actions/next-stats-action/.work
+.changeset/*.md
 
 crates/**/tests/**/output*
 crates/core/tests/loader/issue-32553/input.js
Repository: denoland/deno
Pull request: fix(ext/node): support x509 certificates in `createPublicKey`

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


Changed files:
filename: ext/node/ops/crypto/keys.rs
patch: @@ -752,7 +752,15 @@ impl KeyObjectHandle {
               | KeyObjectHandle::Secret(_) => unreachable!(),
             }
           }
-          // TODO: handle x509 certificates as public keys
+          "CERTIFICATE" => {
+            let (_, pem) = x509_parser::pem::parse_x509_pem(pem.as_bytes())
+              .map_err(|_| type_error("invalid x509 certificate"))?;
+
+            let cert = pem.parse_x509()?;
+            let public_key = cert.tbs_certificate.subject_pki;
+
+            return KeyObjectHandle::new_x509_public_key(&public_key);
+          }
           _ => {
             return Err(type_error(format!("unsupported PEM label: {}", label)))
           }

filename: tests/unit_node/crypto/crypto_key_test.ts
patch: @@ -631,3 +631,28 @@ xjwfpTZOdWW36U3GRuXn12QyITRg6el7ro6CajhCVNg9nJIxvZzp0jyE
 
   assertEquals(privatePkcs8, pkcs8Expected);
 });
+
+Deno.test("createPublicKey x509", function () {
+  const certificate = `-----BEGIN CERTIFICATE-----
+MIIC8zCCAdugAwIBAgIBATANBgkqhkiG9w0BAQsFADAbMRkwFwYDVQQDExB0ZXN0
+LWNlcnRpZmljYXRlMB4XDTI0MDkxNzA5MTczNVoXDTI3MDkxNzA5MTczNVowGzEZ
+MBcGA1UEAxMQdGVzdC1jZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEP
+ADCCAQoCggEBAMOzTIrwvbUbPIrxCr5DO1XMd3tH37pID0no4cOUq1hxNEnB4l1j
+2201atvmXwzWI3xtPzfwOYUtE/DGagFh805/nod5yXwR6liGd9RjkABxPi0UF7jl
+lWHfBLyILUHVR9hEOl65vUpKx5ORNgbO9L7WsL/FKH9pvCbWjdI29+pQnZ4gOoWZ
+YC6auoKfG7TcbaFb9AubolcIlofC2MHP+cWjPA+iX6ezUqqN1Ug5xGiF/sC79M0o
+5d6E83zdXxyyFwydUWUv3EKgmVTLln/2hYQFKCRhy72n6L7y9JNcieOauQK0efJB
++2HwaWeAr2xkhSnWVCRl4nEgiu/E0nL/zNUCAwEAAaNCMEAwDgYDVR0PAQH/BAQD
+AgGGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFIAeXho137l8V6daKI33IvRb
+N6CyMA0GCSqGSIb3DQEBCwUAA4IBAQAQU1Sast6VsD4uTJiSz/lSEkLZ6wC/6v+R
+az0YSnbNmQ5YczBLdTLs07hBC1tDvv0vfopRXvNxP7AxkopX5O7Lc15zf5JdTZnY
+/tJwO62jZiaLsfAo2JzrZ31h2cFFFRTYPTx+8E4djgdmwKtaECeQFXqdpOHOJCGv
+NfwVlZ7Z/cd8fI8oiNtvJDAhPa/UZXAhFV74hT0DiuMwPiJvsG83rutvAYpZ8lPu
+yG6QSsxPnxzEHIKR+vgxUHKwTdv0sWt3XBmpIY5CGXFR2eIQP1jv0ohtcnLMJe8N
+z6TExWlQMjt66nV7R8cRAkzmABrG+NW3e8Zpac7Lkuv+zu0S+K7c
+-----END CERTIFICATE-----`;
+
+  const publicKey = createPublicKey(certificate);
+  assertEquals(publicKey.type, "public");
+  assertEquals(publicKey.asymmetricKeyType, "rsa");
+});
Repository: ggml-org/llama.cpp
Pull request: llama-graph : use ggml_repeat_4d

Resolve one tech debt


Changed files:
filename: src/llama-graph.cpp
patch: @@ -769,9 +769,8 @@ ggml_tensor * llm_graph_context::build_moe_ffn(
     cur = ggml_reshape_3d(ctx0, cur, n_embd, 1, n_tokens);
 
     if (weight_before_ffn) {
-        // TODO: this is a workaround as we don't yet have a repeat op that takes custom dim (ggml_repeat_4d)
-        ggml_tensor * repeated = ggml_new_tensor_3d(ctx0, cur->type, n_embd, n_expert_used, n_tokens);
-        repeated = ggml_repeat(ctx0, cur, repeated); // [n_embd, n_expert_used, n_tokens]
+        // repeat cur to [n_embd, n_expert_used, n_tokens]
+        ggml_tensor * repeated = ggml_repeat_4d(ctx0, cur, n_embd, n_expert_used, n_tokens, 1);
         cur = ggml_mul(ctx0, repeated, weights);
         cb(cur, "ffn_moe_weighted", il);
     }
Repository: denoland/deno
Pull request: fix(ext/console): more precision in console.time

Closes #15175

Changed files:
filename: ext/console/01_console.js
patch: @@ -33,6 +33,7 @@ import {
   op_get_non_index_property_names,
   op_preview_entries,
 } from "ext:core/ops";
+import * as ops from "ext:core/ops";
 const {
   Array,
   ArrayBufferPrototypeGetByteLength,
@@ -83,6 +84,7 @@ const {
   NumberIsInteger,
   NumberIsNaN,
   NumberParseInt,
+  NumberPrototypeToFixed,
   NumberPrototypeToString,
   NumberPrototypeValueOf,
   ObjectAssign,
@@ -151,11 +153,23 @@ const {
   SymbolPrototypeToString,
   SymbolPrototypeValueOf,
   SymbolToStringTag,
+  TypedArrayPrototypeGetBuffer,
   TypedArrayPrototypeGetByteLength,
   TypedArrayPrototypeGetLength,
   Uint8Array,
+  Uint32Array,
 } = primordials;
 
+let currentTime = DateNow;
+if (ops.op_now) {
+  const hrU8 = new Uint8Array(8);
+  const hr = new Uint32Array(TypedArrayPrototypeGetBuffer(hrU8));
+  currentTime = function opNow() {
+    ops.op_now(hrU8);
+    return (hr[0] * 1000 + hr[1] / 1e6);
+  };
+}
+
 let noColorStdout = () => false;
 let noColorStderr = () => false;
 
@@ -3331,7 +3345,7 @@ class Console {
       return;
     }
 
-    MapPrototypeSet(timerMap, label, DateNow());
+    MapPrototypeSet(timerMap, label, currentTime());
   };
 
   timeLog = (label = "default", ...args) => {
@@ -3343,7 +3357,16 @@ class Console {
     }
 
     const startTime = MapPrototypeGet(timerMap, label);
-    const duration = DateNow() - startTime;
+    let duration = currentTime() - startTime;
+    if (duration < 1) {
+      duration = NumberPrototypeToFixed(duration, 3);
+    } else if (duration < 10) {
+      duration = NumberPrototypeToFixed(duration, 2);
+    } else if (duration < 100) {
+      duration = NumberPrototypeToFixed(duration, 1);
+    } else {
+      duration = NumberPrototypeToFixed(duration, 0);
+    }
 
     this.info(`${label}: ${duration}ms`, ...new SafeArrayIterator(args));
   };
@@ -3358,7 +3381,16 @@ class Console {
 
     const startTime = MapPrototypeGet(timerMap, label);
     MapPrototypeDelete(timerMap, label);
-    const duration = DateNow() - startTime;
+    let duration = currentTime() - startTime;
+    if (duration < 1) {
+      duration = NumberPrototypeToFixed(duration, 3);
+    } else if (duration < 10) {
+      duration = NumberPrototypeToFixed(duration, 2);
+    } else if (duration < 100) {
+      duration = NumberPrototypeToFixed(duration, 1);
+    } else {
+      duration = NumberPrototypeToFixed(duration, 0);
+    }
 
     this.info(`${label}: ${duration}ms`);
   };
Repository: nodejs/node
Pull request: test: add missing test for env file

Adds missing test for https://github.com/nodejs/node/issues/54255

Fixes https://github.com/nodejs/node/issues/54255

Changed files:
filename: test/parallel/test-dotenv-edge-cases.js
patch: @@ -170,4 +170,16 @@ describe('.env supports edge cases', () => {
     assert.strictEqual(SingleQuotesChild.stderr, '');
     assert.strictEqual(SingleQuotesChild.code, 0);
   });
+
+  it('should reject invalid env file flag', async () => {
+    const child = await common.spawnPromisified(
+      process.execPath,
+      ['--env-file-ABCD', validEnvFilePath],
+      { cwd: __dirname },
+    );
+
+    assert.strictEqual(child.stdout, '');
+    assert.strictEqual(child.code, 9);
+    assert.match(child.stderr, /bad option: --env-file-ABCD/);
+  });
 });
Repository: ggml-org/llama.cpp
Pull request: CUDA: fix FTZ in FA for Gemma 3

Fixes https://github.com/ggml-org/llama.cpp/issues/12433#issuecomment-2926562123 .

What I think is happening is that there is an underflow in the FlashAttention code when rescaling the FP16 VKQ accumulators. This PR flushes the scale to 0 if it's < 2.06e-9. I don't have multimodal Gemma 3 set up, I did not reproduce the issue on my machine.

Changed files:
filename: ggml/src/ggml-cuda/fattn-mma-f16.cuh
patch: @@ -652,9 +652,12 @@ static __device__ __forceinline__ void flash_attn_ext_f16_iter(
         float KQ_max_scale[cols_per_thread];
 #pragma unroll
         for (int col = 0; col < cols_per_thread; ++col) {
-            KQ_max_scale[col] = expf(KQ_max[col] - KQ_max_new[col]);
+            const float KQ_max_diff = KQ_max[col] - KQ_max_new[col];
+            KQ_max_scale[col] = expf(KQ_max_diff);
             KQ_max[col] = KQ_max_new[col];
 
+            *((uint32_t *) &KQ_max_scale[col]) *= KQ_max_diff >= SOFTMAX_FTZ_THRESHOLD;
+
             // Scale previous KQ_rowsum to account for a potential increase in KQ_max:
             KQ_rowsum[col] = KQ_max_scale[col]*KQ_rowsum[col] + KQ_rowsum_add[col];
         }
Repository: electron/electron
Pull request: fix: FTBFS when building with `enable_plugins = false`

Backport of #44003

See that PR for details.


Notes: Fixed a build failure when the `enable_plugins` build flag is false.

Changed files:
filename: BUILD.gn
patch: @@ -674,6 +674,8 @@ source_set("electron_lib") {
 
   if (enable_plugins) {
     sources += [
+      "shell/browser/electron_plugin_info_host_impl.cc",
+      "shell/browser/electron_plugin_info_host_impl.h",
       "shell/common/plugin_info.cc",
       "shell/common/plugin_info.h",
     ]

filename: filenames.gni
patch: @@ -379,8 +379,6 @@ filenames = {
     "shell/browser/electron_navigation_throttle.h",
     "shell/browser/electron_permission_manager.cc",
     "shell/browser/electron_permission_manager.h",
-    "shell/browser/electron_plugin_info_host_impl.cc",
-    "shell/browser/electron_plugin_info_host_impl.h",
     "shell/browser/electron_speech_recognition_manager_delegate.cc",
     "shell/browser/electron_speech_recognition_manager_delegate.h",
     "shell/browser/electron_web_contents_utility_handler_impl.cc",

filename: shell/browser/electron_browser_client.cc
patch: @@ -1459,6 +1459,7 @@ void ElectronBrowserClient::
                                                       render_frame_host);
           },
           &render_frame_host));
+#if BUILDFLAG(ENABLE_PLUGINS)
   associated_registry.AddInterface<mojom::ElectronPluginInfoHost>(
       base::BindRepeating(
           [](content::RenderFrameHost* render_frame_host,
@@ -1469,6 +1470,7 @@ void ElectronBrowserClient::
                 std::move(receiver));
           },
           &render_frame_host));
+#endif
 #if BUILDFLAG(ENABLE_PRINTING)
   associated_registry.AddInterface<printing::mojom::PrintManagerHost>(
       base::BindRepeating(

filename: shell/browser/printing/printing_utils.cc
patch: @@ -15,11 +15,14 @@
 #include "content/public/browser/render_frame_host.h"
 #include "content/public/browser/web_contents.h"
 #include "electron/buildflags/buildflags.h"
-#include "pdf/pdf_features.h"
 #include "printing/backend/print_backend.h"  // nogncheck
 #include "printing/units.h"
 #include "shell/common/thread_restrictions.h"
 
+#if BUILDFLAG(ENABLE_PDF_VIEWER)
+#include "pdf/pdf_features.h"
+#endif
+
 #if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h"
 #endif
Repository: electron/electron
Pull request: fix: FTBFS when building with `enable_plugins = false`

#### Description of Change

Fix a FTBFS regression in 33-x-y and main that prevents Electron from building when plugins are disabled.

CC @mlaurencin 

#### Checklist

- [x] PR description included and stakeholders cc'd
- [x] `npm test` passes
- [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: Fixed a build failure when the `enable_plugins` build flag is false.

Changed files:
filename: BUILD.gn
patch: @@ -674,6 +674,8 @@ source_set("electron_lib") {
 
   if (enable_plugins) {
     sources += [
+      "shell/browser/electron_plugin_info_host_impl.cc",
+      "shell/browser/electron_plugin_info_host_impl.h",
       "shell/common/plugin_info.cc",
       "shell/common/plugin_info.h",
     ]

filename: filenames.gni
patch: @@ -379,8 +379,6 @@ filenames = {
     "shell/browser/electron_navigation_throttle.h",
     "shell/browser/electron_permission_manager.cc",
     "shell/browser/electron_permission_manager.h",
-    "shell/browser/electron_plugin_info_host_impl.cc",
-    "shell/browser/electron_plugin_info_host_impl.h",
     "shell/browser/electron_speech_recognition_manager_delegate.cc",
     "shell/browser/electron_speech_recognition_manager_delegate.h",
     "shell/browser/electron_web_contents_utility_handler_impl.cc",

filename: shell/browser/electron_browser_client.cc
patch: @@ -1458,6 +1458,7 @@ void ElectronBrowserClient::
                                                       render_frame_host);
           },
           &render_frame_host));
+#if BUILDFLAG(ENABLE_PLUGINS)
   associated_registry.AddInterface<mojom::ElectronPluginInfoHost>(
       base::BindRepeating(
           [](content::RenderFrameHost* render_frame_host,
@@ -1468,6 +1469,7 @@ void ElectronBrowserClient::
                 std::move(receiver));
           },
           &render_frame_host));
+#endif
 #if BUILDFLAG(ENABLE_PRINTING)
   associated_registry.AddInterface<printing::mojom::PrintManagerHost>(
       base::BindRepeating(

filename: shell/browser/printing/printing_utils.cc
patch: @@ -15,11 +15,14 @@
 #include "content/public/browser/render_frame_host.h"
 #include "content/public/browser/web_contents.h"
 #include "electron/buildflags/buildflags.h"
-#include "pdf/pdf_features.h"
 #include "printing/backend/print_backend.h"  // nogncheck
 #include "printing/units.h"
 #include "shell/common/thread_restrictions.h"
 
+#if BUILDFLAG(ENABLE_PDF_VIEWER)
+#include "pdf/pdf_features.h"
+#endif
+
 #if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h"
 #endif
Repository: facebook/react
Pull request: [DevTools][RN] Return closestInstance in `getInspectorDataForViewAtPoint`

## Context

Currently in fabric mode, selecting an element in the RN inspector doesn't actually select the element in the React DevTools, because DevTools failed to find the tag sent from the [selectNode call in RN inspector.js](https://github.com/facebook/react-native/blob/main/Libraries/Inspector/Inspector.js#L198-L200). I found we need to send the instance directly for selecting element to work in fabric.

## This PR
Returns the closestInstance if it's in fabric mode for devtools


Changed files:
filename: packages/react-native-renderer/src/ReactNativeFiberInspector.js
patch: @@ -217,6 +217,7 @@ if (__DEV__) {
                 pointerY: locationY,
                 frame: {left: pageX, top: pageY, width, height},
                 touchedViewTag: nativeViewTag,
+                closestInstance,
               });
             },
           );

filename: packages/react-native-renderer/src/ReactNativeTypes.js
patch: @@ -150,6 +150,7 @@ export type InspectorData = $ReadOnly<{|
 export type TouchedViewDataAtPoint = $ReadOnly<{|
   pointerY: number,
   touchedViewTag?: number,
+  closestInstance?: Object,
   frame: $ReadOnly<{|
     top: number,
     left: number,
Repository: denoland/deno
Pull request: ci: fix 'promote_to_release' script

This CI action was using wrong variable to create release directory.

Changed files:
filename: .github/workflows/promote_to_release.yml
patch: @@ -58,5 +58,5 @@ jobs:
 
       - name: Upload archives to dl.deno.land
         run: |
-          gsutil -h "Cache-Control: public, max-age=3600" cp ./*.zip gs://dl.deno.land/release/$(cat release-${{github.event.inputs.commitHash}}-latest.txt)/
-          gsutil -h "Cache-Control: no-cache" cp release-${{github.event.inputs.commitHash}}-latest.txt gs://dl.deno.land/release-${{github.event.inputs.commitHash}}-latest.txt
+          gsutil -h "Cache-Control: public, max-age=3600" cp ./*.zip gs://dl.deno.land/release/$(cat release-${{github.event.inputs.releaseKind}}-latest.txt)/
+          gsutil -h "Cache-Control: no-cache" cp release-${{github.event.inputs.releaseKind}}-latest.txt gs://dl.deno.land/release-${{github.event.inputs.releaseKind}}-latest.txt
Repository: ggml-org/llama.cpp
Pull request: kv-cache : fix unified::seq_rm to work with seq_id < 0

fix #13983

Changed files:
filename: src/llama-kv-cache-unified.cpp
patch: @@ -149,12 +149,27 @@ bool llama_kv_cache_unified::seq_rm(llama_seq_id seq_id, llama_pos p0, llama_pos
         p1 = std::numeric_limits<llama_pos>::max();
     }
 
-    for (uint32_t i = 0; i < cells.size(); ++i) {
-        if (!cells.pos_in(i, p0, p1)) {
-            continue;
+    if (seq_id >= 0) {
+        for (uint32_t i = 0; i < cells.size(); ++i) {
+            if (!cells.pos_in(i, p0, p1)) {
+                continue;
+            }
+
+            if (cells.seq_has(i, seq_id) && cells.seq_rm(i, seq_id)) {
+                if (new_head == cells.size()) {
+                    new_head = i;
+                }
+            }
         }
+    } else {
+        // match any sequence
+        for (uint32_t i = 0; i < cells.size(); ++i) {
+            if (!cells.pos_in(i, p0, p1)) {
+                continue;
+            }
+
+            cells.rm(i);
 
-        if (cells.seq_has(i, seq_id) && cells.seq_rm(i, seq_id)) {
             if (new_head == cells.size()) {
                 new_head = i;
             }
Repository: ggml-org/llama.cpp
Pull request: vulkan: add environment variable to avoid VRAM allocation

With Vulkan on my PC (Ryzen 5 3400G APU, DDR4-3000, Debian 12), I noticed big performance drops (~2x or ~3x) associated with buffer allocations on VRAM.

It's easier to test with stable-diffusion.cpp: the VAE step on a 512x512 sd1.5 generation usually takes around 40 seconds with the default 2G dedicated VRAM. But if I _restrict_ VRAM to a very small value (64M-80M), that timing drops to around 13 seconds.

I noticed a similar performance drop on LLMs, but it's harder to pinpoint. For instance, prompt processing on smaller models running nearly twice as slow as larger ones, performance changing right after a koboldcpp restart, or inconsistent results between benchmarks and generation.

Checking with GGML_VULKAN_MEMORY_DEBUG, the slower behavior seems to be always associated with allocations on device memory, so I added this env var to confirm. And forcing host memory allocations seems to fix the performance drop.

OTOH, I don't see the original performance issue on a 4500U laptop (Ubuntu 24.04, DDR4-3200), so this would benefit from testing on different iGPU+OS combinations.

Changed files:
filename: ggml/src/ggml-vulkan/ggml-vulkan.cpp
patch: @@ -167,6 +167,7 @@ struct vk_device_struct {
     uint32_t subgroup_size;
     uint32_t shader_core_count;
     bool uma;
+    bool prefer_host_memory;
     bool float_controls_rte_fp16;
 
     bool subgroup_size_control;
@@ -1294,7 +1295,9 @@ static vk_buffer ggml_vk_create_buffer_check(vk_device& device, size_t size, vk:
 static vk_buffer ggml_vk_create_buffer_device(vk_device& device, size_t size) {
     vk_buffer buf;
     try {
-        if (device->uma) {
+        if (device->prefer_host_memory) {
+            buf = ggml_vk_create_buffer(device, size, vk::MemoryPropertyFlagBits::eHostVisible | vk::MemoryPropertyFlagBits::eHostCoherent, vk::MemoryPropertyFlagBits::eDeviceLocal);
+        } else if (device->uma) {
             // Fall back to host memory type
             buf = ggml_vk_create_buffer(device, size, vk::MemoryPropertyFlagBits::eDeviceLocal, vk::MemoryPropertyFlagBits::eHostVisible | vk::MemoryPropertyFlagBits::eHostCoherent);
         } else {
@@ -2199,6 +2202,9 @@ static vk_device ggml_vk_get_device(size_t idx) {
         device->physical_device = physical_devices[dev_num];
         const std::vector<vk::ExtensionProperties> ext_props = device->physical_device.enumerateDeviceExtensionProperties();
 
+        const char* GGML_VK_PREFER_HOST_MEMORY = getenv("GGML_VK_PREFER_HOST_MEMORY");
+        device->prefer_host_memory = GGML_VK_PREFER_HOST_MEMORY != nullptr;
+
         bool fp16_storage = false;
         bool fp16_compute = false;
         bool maintenance4_support = false;
Repository: vercel/next.js
Pull request: perf(turbopack): Use `Byte::from_static` when possible

### What?

Use the `Bytes::from_static` method, which does not allocate at all. As the lifetime dispatch is unsound, `Bytes as From<&[u8]>` is very unlikely to be able to optimize it as `Bytes::from_static`.

### Why?

x-ref: Numbers at https://vercel.slack.com/archives/C06PPGZ0FD3/p1747238443434299?thread_ts=1746834549.272939&cid=C06PPGZ0FD3



Closes PACK-4611

Changed files:
filename: turbopack/crates/turbo-tasks-fs/src/rope.rs
patch: @@ -181,7 +181,7 @@ impl RopeBuilder {
         self.finish();
 
         self.length += bytes.len();
-        self.committed.push(Local(bytes.into()));
+        self.committed.push(Local(Bytes::from_static(bytes)));
     }
 
     /// Concatenate another Rope instance into our builder.
@@ -323,7 +323,7 @@ impl Uncommitted {
     fn finish(&mut self) -> Option<Bytes> {
         match mem::take(self) {
             Self::None => None,
-            Self::Static(s) => Some(s.into()),
+            Self::Static(s) => Some(Bytes::from_static(s)),
             Self::Owned(mut v) => {
                 v.shrink_to_fit();
                 Some(v.into())