helloadhavan/github_issues huggingface dataset:
Repository: vercel/next.js
Pull request: Enable pnpm dependency caching in e2e deploy tests

Adds pnpm dependency caching to the e2e deploy test workflow. Basically all workflows using build_reusable in a GitHub hosted runners now get pnpm dependency caching. Self-hosted runners relied on the persisted worker environment.

It's also nice for forks/mirrors that use GitHub-hosted runners.

For e2e deploy test this is mostly relevant for a retry. Right now the lockfile changes for every release anyway since we have to use exact versions in the package.json (which change for every release). Ideally we'd use `workspace:*` and `pnpm publish` to avoid lockfile changes on release.

### test plan

- [x] [e2e deploy tests get cached dependencies on retry](https://github.com/vercel/next.js/actions/runs/21353951846/job/61456884599#step:14:41) (cache hit on 1st attempt because we already had a cache entry for this lockfile)
- [x] [build_and_test does not use actions/cache](https://github.com/vercel/next.js/actions/runs/21353640715/job/61456303806?pr=88953)

---
[Slack Thread](https://vercel.slack.com/archives/D0A6SL1TGVA/p1769177717239639?thread_ts=1769177717.239639&cid=D0A6SL1TGVA)

<a href="https://cursor.com/background-agent?bcId=bc-7bb4fe61-31eb-44f2-b5fd-493ffcf2911c"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-7bb4fe61-31eb-44f2-b5fd-493ffcf2911c"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>



Changed files:
filename: .github/workflows/build_reusable.yml
patch: @@ -200,6 +200,22 @@ jobs:
         with:
           fetch-depth: 25
 
+      # Cache pnpm store on GitHub-hosted runners (self-hosted runners have their own persistent storage)
+      - name: Get pnpm store directory
+        if: ${{ runner.environment == 'github-hosted' }}
+        id: get-store-path
+        run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
+
+      - name: Cache pnpm store
+        if: ${{ runner.environment == 'github-hosted' }}
+        uses: actions/cache@v4
+        timeout-minutes: 5
+        id: cache-pnpm-store
+        with:
+          path: ${{ steps.get-store-path.outputs.STORE_PATH }}
+          key: pnpm-store-v2-${{ hashFiles('pnpm-lock.yaml') }}
+          # Do not use restore-keys since it leads to indefinite growth of the cache.
+
       # local action -> needs to run after checkout
       - name: Install Rust
         uses: ./.github/actions/setup-rust
Repository: huggingface/transformers
Pull request: Fix failing `markuplm` integration tests

# What does this PR do?

Fixes failing [MarkupLMModelIntegrationTest](https://github.com/huggingface/transformers/actions/runs/21307980813/job/61339620056#step:14:1451).



## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-request),
      Pull Request section?
- [ ] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link
      to it if that's the case.
- [ ] Did you make sure to update the documentation with your changes? Here are the
      [documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and
      [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
- [ ] Did you write any new necessary tests?


## Who can review?
@Rocketknight1 @vasqu

Changed files:
filename: tests/models/markuplm/test_modeling_markuplm.py
patch: @@ -368,7 +368,7 @@ def default_processor(self):
 
     @slow
     def test_forward_pass_no_head(self):
-        model = MarkupLMModel.from_pretrained("microsoft/markuplm-base").to(torch_device)
+        model = MarkupLMModel.from_pretrained("microsoft/markuplm-base", dtype=torch.float32).to(torch_device)
 
         processor = self.default_processor
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -220,6 +220,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
     </tr><tr></tr>
+    <tr>
+      <td align="center" valign="middle">
+        <a href="https://blokt.com/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/blokt_cryptocurrency_news.png">
+        </a>
+      </td>
+    </tr><tr></tr>
   </tbody>
 </table>
 <!--gold end-->

filename: README.md
patch: @@ -225,6 +225,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
     </tr><tr></tr>
+    <tr>
+      <td align="center" valign="middle">
+        <a href="https://blokt.com/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/blokt_cryptocurrency_news.png">
+        </a>
+      </td>
+    </tr><tr></tr>
   </tbody>
 </table>
 <!--gold end-->
Repository: nodejs/node
Pull request: doc: clarify TypedArray properties on Buffer

Add "properties" to clarify presence of non-method properties like `byteLength`. This follows MDN which also distinguishes methods and properties.

Fixes: https://github.com/nodejs/node/issues/34946
Ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/byteLength

Changed files:
filename: doc/api/buffer.md
patch: @@ -243,7 +243,7 @@ changes:
 -->
 
 `Buffer` instances are also JavaScript {Uint8Array} and {TypedArray}
-instances. All {TypedArray} methods are available on `Buffer`s. There are,
+instances. All {TypedArray} methods and properties are available on `Buffer`s. There are,
 however, subtle incompatibilities between the `Buffer` API and the
 {TypedArray} API.
Repository: facebook/react
Pull request: [Flight] Don't block on debug channel if it's not wired up

React Elements reference debug data (their stack and owner) in the debug channel. If the debug channel isn't wired up this can block the client from resolving.

We can infer that if there's no debug channel wired up and the reference wasn't emitted before the element, then it's probably because it's in the debug channel. So we can skip it.

This should also apply to debug chunks but they're not yet blocking until #33665 lands.

Changed files:
filename: packages/react-client/src/ReactFlightClient.js
patch: @@ -1353,6 +1353,26 @@ function waitForReference<T>(
   map: (response: Response, model: any, parentObject: Object, key: string) => T,
   path: Array<string>,
 ): T {
+  if (
+    __DEV__ &&
+    // TODO: This should check for the existence of the "readable" side, not the "writable".
+    response._debugChannel === undefined
+  ) {
+    if (
+      referencedChunk.status === PENDING &&
+      parentObject[0] === REACT_ELEMENT_TYPE &&
+      (key === '4' || key === '5')
+    ) {
+      // If the parent object is an unparsed React element tuple, and this is a reference
+      // to the owner or debug stack. Then we expect the chunk to have been emitted earlier
+      // in the stream. It might be blocked on other things but chunk should no longer be pending.
+      // If it's still pending that suggests that it was referencing an object in the debug
+      // channel, but no debug channel was wired up so it's missing. In this case we can just
+      // drop the debug info instead of halting the whole stream.
+      return (null: any);
+    }
+  }
+
   let handler: InitializationHandler;
   if (initializingHandler) {
     handler = initializingHandler;
Repository: ollama/ollama
Pull request: Give tests more time to run

Fix flake failures on windows

Changed files:
filename: server/sched_test.go
patch: @@ -355,7 +355,7 @@ func TestRequestsMultipleLoadedModels(t *testing.T) {
 }
 
 func TestGetRunner(t *testing.T) {
-	ctx, done := context.WithTimeout(context.Background(), 200*time.Millisecond)
+	ctx, done := context.WithTimeout(context.Background(), 3*time.Second)
 	defer done()
 
 	a := newScenarioRequest(t, ctx, "ollama-model-1a", 10, &api.Duration{Duration: 2 * time.Millisecond})
Repository: ggml-org/llama.cpp
Pull request: kleidiai: add data type check to get_tensor_traits

This patch adds a check for the F16 data type into the KleidiAI get_tensor_traits function if input data isn't in the `ggml_backend_cpu_kleidiai_buffer_type` format. 

The path with input data not in the KleidiAI buffer type format is currently only supported for the F16 type, notably causing issues in some specific cases with Q4_0 and Q8_0 types. This fix makes sure only the supported type is accepted.

Changed files:
filename: ggml/src/ggml-cpu/kleidiai/kleidiai.cpp
patch: @@ -1473,10 +1473,12 @@ class extra_buffer_type : ggml::cpu::extra_buffer_type {
             if (op->src[0]->buffer && op->src[0]->buffer->buft == ggml_backend_cpu_kleidiai_buffer_type()) {
                 return (ggml::cpu::tensor_traits *) op->src[0]->extra;
             } else {
+                if (op->src[0]->type != GGML_TYPE_F16) {
+                    return nullptr;
+                }
                 std::array<ggml_kleidiai_kernels *, GGML_KLEIDIAI_MAX_KERNEL_SLOTS> kernel_chain;
                 const int slot_total = kleidiai_collect_kernel_chain(op, kernel_chain);
-                const bool has_kernel = slot_total > 0;
-                if (has_kernel && op->src[1]->ne[1] > 1) {
+                if (slot_total > 0 && op->src[1]->ne[1] > 1) {
                     if ((op->src[0]->nb[1] * op->src[0]->ne[1] != op->src[0]->nb[2]) ||
                         (op->src[1]->nb[1] * op->src[1]->ne[1] != op->src[1]->nb[2])) {
                         return nullptr;
Repository: vercel/next.js
Pull request: [ci] Make `gh auth status` optional when triggering a release

Closes https://linear.app/vercel/issue/NAR-753/

To debug issues like https://github.com/vercel/next.js/actions/runs/21368451191 further.

Backport: https://github.com/vercel/next.js/pull/89100

Changed files:
filename: .github/workflows/trigger_release.yml
patch: @@ -28,10 +28,6 @@ on:
         default: false
         type: boolean
 
-    secrets:
-      RELEASE_BOT_GITHUB_TOKEN:
-        required: true
-
 name: Trigger Release
 
 env:
@@ -62,6 +58,9 @@ jobs:
 
       - name: Check token
         run: gh auth status
+        # This sometimes fails for unknown reasons.
+        # Ignoring failures for now to check if a failure truly implies a failed publish.
+        continue-on-error: true
         env:
           GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
Repository: vuejs/vue
Pull request: test: fix running e2e test on windows

<!--
Please make sure to read the Pull Request Guidelines:
https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines
-->

<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->

**What kind of change does this PR introduce?** (check at least one)

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [x] Other, please describe: fix running e2e test on Windows

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [x] No

If yes, please describe the impact and migration path for existing applications:

**The PR fulfills these requirements:**

- [x] It's submitted to the `dev` branch for v2.x (or to a previous version branch), _not_ the `master` branch
- [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number)
- [ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
- [ ] New/updated tests are included

If adding a **new feature**, the PR's description includes:
- [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

**Other information:**
Can not find phantomjs binary when run e2e test on Windows. same as [PR](https://github.com/vuejs/vuex/pull/1371)

Changed files:
filename: test/e2e/nightwatch.config.js
patch: @@ -50,7 +50,8 @@ module.exports = {
       'desiredCapabilities': {
         'browserName': 'phantomjs',
         'javascriptEnabled': true,
-        'acceptSslCerts': true
+        'acceptSslCerts': true,
+        'phantomjs.binary.path': require('phantomjs-prebuilt').path
       }
     }
   }
Repository: huggingface/transformers
Pull request: Add missing GPURawMetrics.from_dict() method in benchmark_v2

  Adds the missing `from_dict()` classmethod to the `GPURawMetrics` dataclass in `benchmark_v2/framework/hardware_metrics.py`.      
  
 (`BenchmarkResult.from_dict()` is used at line 144 of `data_classes.py`)
                                                                                                                                                              

Changed files:
filename: benchmark_v2/framework/data_classes.py
patch: @@ -136,7 +136,7 @@ def to_dict(self, summarized: bool = False) -> dict[str, Any]:
         }
 
     @classmethod
-    def from_dict(cls, data: dict[str, None | int | float]) -> "BenchmarkResult":
+    def from_dict(cls, data: dict[str, Any]) -> "BenchmarkResult":
         # Handle GPU metrics, which is saved as None if it contains only None values
         if data["gpu_metrics"] is None:
             gpu_metrics = [None for _ in range(len(data["e2e_latency"]))]

filename: benchmark_v2/framework/hardware_metrics.py
patch: @@ -154,6 +154,17 @@ def to_dict(self) -> dict[str, None | int | float | str]:
             "monitoring_status": self.monitoring_status.value,
         }
 
+    @classmethod
+    def from_dict(cls, data: dict[str, None | int | float | str]) -> "GPURawMetrics":
+        """Create a GPURawMetrics instance from a dictionary."""
+        return cls(
+            utilization=data["utilization"],
+            memory_used=data["memory_used"],
+            timestamps=data["timestamps"],
+            timestamp_0=data["timestamp_0"],
+            monitoring_status=GPUMonitoringStatus(data["monitoring_status"]),
+        )
+
 
 # Main class, used to monitor the GPU utilization during benchmark execution
 class GPUMonitor:
Repository: nodejs/node
Pull request: src: cache context lookup in vectored io loops

I tried to prevent the call from being repeated

Changed files:
filename: src/env-inl.h
patch: @@ -897,7 +897,7 @@ v8::Local<v8::Context> Environment::context() const {
   return principal_realm()->context();
 }
 
-Realm* Environment::principal_realm() const {
+PrincipalRealm* Environment::principal_realm() const {
   return principal_realm_.get();
 }
 

filename: src/env.h
patch: @@ -886,7 +886,7 @@ class Environment final : public MemoryRetainer {
   // Get the context with an explicit realm instead when possible.
   // Deprecate soon.
   inline v8::Local<v8::Context> context() const;
-  inline Realm* principal_realm() const;
+  inline PrincipalRealm* principal_realm() const;
 
 #if HAVE_INSPECTOR
   inline inspector::Agent* inspector_agent() const {

filename: src/node_realm-inl.h
patch: @@ -5,6 +5,7 @@
 
 #include "node_context_data.h"
 #include "node_realm.h"
+#include "util-inl.h"
 
 namespace node {
 
@@ -46,6 +47,10 @@ inline v8::Isolate* Realm::isolate() const {
   return isolate_;
 }
 
+inline v8::Local<v8::Context> Realm::context() const {
+  return PersistentToLocal::Strong(context_);
+}
+
 inline Realm::Kind Realm::kind() const {
   return kind_;
 }

filename: src/node_realm.cc
patch: @@ -295,10 +295,6 @@ void Realm::VerifyNoStrongBaseObjects() {
   });
 }
 
-v8::Local<v8::Context> Realm::context() const {
-  return PersistentToLocal::Strong(context_);
-}
-
 // Per-realm strong value accessors. The per-realm values should avoid being
 // accessed across realms.
 #define V(PropertyName, TypeName)                                              \

filename: src/node_realm.h
patch: @@ -121,7 +121,7 @@ class Realm : public MemoryRetainer {
   inline Environment* env() const;
   inline v8::Isolate* isolate() const;
   inline Kind kind() const;
-  virtual v8::Local<v8::Context> context() const;
+  inline virtual v8::Local<v8::Context> context() const;
   inline bool has_run_bootstrapping_code() const;
 
   // Methods created using SetMethod(), SetPrototypeMethod(), etc. inside
Repository: electron/electron
Pull request: ci: handle PRs with no checks in rerun apply patches

Backport of #49630

See that PR for details.


Notes: none <!-- Please add a one-line description for app developers to read in the release notes, or 'none' if no notes relevant to app developers. Examples and help on special cases: https://github.com/electron/clerk/blob/main/README.md#examples -->


Changed files:
filename: .github/workflows/rerun-apply-patches.yml
patch: @@ -35,20 +35,20 @@ jobs:
             echo "Processing PR #${PR_NUMBER}"
 
             # Find the Apply Patches workflow check for this PR
-            CHECK=$(gh pr checks "$PR_NUMBER" --json link,name,state,workflow --jq '[.[] | select(.workflow == "Apply Patches" and .name == "apply-patches")] | first')
+            CHECK=$(gh pr view "$PR_NUMBER" --json statusCheckRollup --jq '[.statusCheckRollup[] | select(.workflowName == "Apply Patches" and .name == "apply-patches")] | first')
 
             if [ -z "$CHECK" ] || [ "$CHECK" = "null" ]; then
               echo "  No Apply Patches workflow found for PR #${PR_NUMBER}"
               continue
             fi
 
-            STATE=$(echo "$CHECK" | jq -r '.state')
-            if [ "$STATE" = "SKIPPED" ]; then
+            CONCLUSION=$(echo "$CHECK" | jq -r '.conclusion')
+            if [ "$CONCLUSION" = "SKIPPED" ]; then
               echo "  apply-patches job was skipped for PR #${PR_NUMBER} (no patches)"
               continue
             fi
 
-            LINK=$(echo "$CHECK" | jq -r '.link')
+            LINK=$(echo "$CHECK" | jq -r '.detailsUrl')
 
             # Extract the run ID from the link (format: .../runs/RUN_ID/job/JOB_ID)
             RUN_ID=$(echo "$LINK" | grep -oE 'runs/[0-9]+' | cut -d'/' -f2)
Repository: ggml-org/llama.cpp
Pull request: ci : update labeler


Changed files:
filename: .github/labeler.yml
patch: @@ -104,3 +104,20 @@ OpenCL:
         - any-glob-to-any-file:
             - ggml/include/ggml-opencl.h
             - ggml/src/ggml-opencl/**
+            - docs/backend/OPENCL.md
+Hexagon:
+    - changed-files:
+        - any-glob-to-any-file:
+            - ggml/include/ggml-hexagon.h
+            - ggml/src/ggml-hexagon/**
+WebGPU:
+    - changed-files:
+        - any-glob-to-any-file:
+            - ggml/include/ggml-webgpu.h
+            - ggml/src/ggml-webgpu/**
+OpenVINO:
+    - changed-files:
+        - any-glob-to-any-file:
+            - ggml/include/ggml-openvino.h
+            - ggml/src/ggml-openvino/**
+            - docs/backend/OPENVINO.md
Repository: nodejs/node
Pull request: fs: remove duplicate getValidatedPath calls

already validated earlier in the function
https://github.com/nodejs/node/blob/main/lib/fs.js#L1635

Changed files:
filename: lib/fs.js
patch: @@ -1648,7 +1648,7 @@ function statfs(path, options = { bigint: false }, callback) {
 
     callback(err, getStatFsFromBinding(stats));
   };
-  binding.statfs(getValidatedPath(path), options.bigint, req);
+  binding.statfs(path, options.bigint, req);
 }
 
 /**
@@ -1683,7 +1683,7 @@ function lstatSync(path, options = { bigint: false, throwIfNoEntry: true }) {
     throw new ERR_ACCESS_DENIED('Access to this API has been restricted', 'FileSystemRead', resource);
   }
   const stats = binding.lstat(
-    getValidatedPath(path),
+    path,
     options.bigint,
     undefined,
     options.throwIfNoEntry,
Repository: facebook/react
Pull request: [Flight] Treat empty message as a close signal

We typically treat an empty message as closing the debug channel stream but for the Noop renderer we don't use an intermediate stream but just pass the message through.

https://github.com/facebook/react/blob/bbc13fa17be8eebef3e6ee47f48c76c0c44e2f36/packages/react-server-dom-webpack/src/client/ReactFlightDOMClientBrowser.js#L59-L60

For that simple case we should just treat it as a close without an intermediate stream.

Changed files:
filename: packages/react-server/src/ReactFlightServer.js
patch: @@ -5808,6 +5808,10 @@ export function resolveDebugMessage(request: Request, message: string): void {
       "resolveDebugMessage/closeDebugChannel should not be called for a Request that wasn't kept alive. This is a bug in React.",
     );
   }
+  if (message === '') {
+    closeDebugChannel(request);
+    return;
+  }
   // This function lets the client ask for more data lazily through the debug channel.
   const command = message.charCodeAt(0);
   const ids = message.slice(2).split(',').map(fromHex);
Repository: ollama/ollama
Pull request: server: add `OpenAI-Beta` header to CORS safelist

alphabetized the compat list and then added a single header

fixes: #9801

Changed files:
filename: server/routes.go
patch: @@ -1152,17 +1152,18 @@ func (s *Server) GenerateRoutes(rc *ollama.Registry) (http.Handler, error) {
 		"X-Requested-With",
 
 		// OpenAI compatibility headers
+		"OpenAI-Beta",
+		"x-stainless-arch",
+		"x-stainless-async",
+		"x-stainless-custom-poll-interval",
+		"x-stainless-helper-method",
 		"x-stainless-lang",
-		"x-stainless-package-version",
 		"x-stainless-os",
-		"x-stainless-arch",
+		"x-stainless-package-version",
+		"x-stainless-poll-helper",
 		"x-stainless-retry-count",
 		"x-stainless-runtime",
 		"x-stainless-runtime-version",
-		"x-stainless-async",
-		"x-stainless-helper-method",
-		"x-stainless-poll-helper",
-		"x-stainless-custom-poll-interval",
 		"x-stainless-timeout",
 	}
 	corsConfig.AllowOrigins = envconfig.AllowedOrigins()