helloadhavan/github_issues huggingface dataset:
Repository: nodejs/node
Pull request: test: use the skipIfNoWatch() utility function

Use the `skipIfNoWatch()` utility function in
`test/parallel/test-fs-promises-watch-iterator.js`.

<!--
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: test/parallel/parallel.status
patch: @@ -112,7 +112,6 @@ test-esm-loader-hooks-inspect-wait: PASS, FLAKY
 test-child-process-fork-net-server: SKIP
 test-cli-node-options: SKIP
 test-cluster-shared-leak: SKIP
-test-fs-promises-watch-iterator: SKIP
 test-http-writable-true-after-close: SKIP
 test-http2-connect-method: SKIP
 test-net-error-twice: SKIP

filename: test/parallel/test-fs-promises-watch-iterator.js
patch: @@ -9,8 +9,11 @@ const fs = require('fs');
 const assert = require('assert');
 const { join } = require('path');
 const { setTimeout } = require('timers/promises');
+const { skipIfNoWatch } = require('../common/watch');
 const tmpdir = require('../common/tmpdir');
 
+skipIfNoWatch();
+
 class WatchTestCase {
   constructor(dirName, files) {
     this.dirName = dirName;
Repository: vercel/next.js
Pull request: Ensure _middleware is consistent in adapter for name/id

Makes sure we don't use both `_middleware` and `middleware` naming for the output. 

Found in https://github.com/vercel/next.js/pull/89522 we were using both.

Changed files:
filename: packages/next/src/build/adapter/build-complete.ts
patch: @@ -747,7 +747,7 @@ export async function handleBuildComplete({
               }
             })
           output.pathname = '/_middleware'
-          output.id = page.name
+          output.id = '/_middleware'
           outputs.middleware = output
         } else {
           currentOutputs.push(output)
Repository: nodejs/node
Pull request: doc: update `server.dropMaxConnection` link

<!--
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: doc/api/net.md
patch: @@ -680,7 +680,7 @@ When the number of connections reaches the `server.maxConnections` threshold:
 
 1. If the process is not running in cluster mode, Node.js will close the connection.
 
-2. If the process is running in cluster mode, Node.js will, by default, route the connection to another worker process. To close the connection instead, set \[`server.dropMaxConnection`]\[] to `true`.
+2. If the process is running in cluster mode, Node.js will, by default, route the connection to another worker process. To close the connection instead, set [`server.dropMaxConnection`][] to `true`.
 
 It is not recommended to use this option once a socket has been sent to a child
 with [`child_process.fork()`][].
@@ -2056,6 +2056,7 @@ net.isIPv6('fhqwhgads'); // returns false
 [`new net.Socket(options)`]: #new-netsocketoptions
 [`readable.setEncoding()`]: stream.md#readablesetencodingencoding
 [`server.close()`]: #serverclosecallback
+[`server.dropMaxConnection`]: #serverdropmaxconnection
 [`server.listen()`]: #serverlisten
 [`server.listen(handle)`]: #serverlistenhandle-backlog-callback
 [`server.listen(options)`]: #serverlistenoptions-callback
Repository: ggml-org/llama.cpp
Pull request: ai : update gh permissions

cont #20816 

- Prevent the agent from opening new issues (https://github.com/ggml-org/llama.cpp/actions/runs/23431886584/job/68160050475#step:3:179)
- Try to disambiguate the issue number report (https://github.com/ggml-org/llama.cpp/issues/20837#issuecomment-4103130105)

Changed files:
filename: .github/workflows/ai-issues.yml
patch: @@ -26,7 +26,9 @@ jobs:
             {
               "bash": {
                 "*": "deny",
-                "gh issue*": "allow",
+                "gh issue view*": "allow",
+                "gh issue list*": "allow",
+                "gh issue comment*": "allow",
                 "gh search issues*": "allow"
               },
               "webfetch": "deny"
@@ -71,8 +73,8 @@ jobs:
           [comment]
           This issue might be similar or related to the following issue(s):
 
-            - #[related_issue_number]: [brief description of how they are related]
-            - #[related_issue_number]: [brief description of how they are related]
+            - #12942: [brief description of how they are related]
+            - #11234: [brief description of how they are related]
             ...
 
           _This comment was auto-generated locally using **$GA_ENGINE** on **$GA_MACHINE**_
Repository: huggingface/transformers
Pull request: Fix model/processor mismatch in SigLIP2 quantization example

## What does this PR do?

Fixes the model/processor mismatch in the SigLIP2 documentation quantization example.

Fixes #39692

## The Problem

The quantization example used mismatched model and processor checkpoints:
- Model: `google/siglip2-large-patch16-512`
- Processor: `google/siglip2-base-patch16-224`

This mismatch caused errors because the processor configuration (designed for 224px base model) didn't match the model being used (512px large model).

## The Fix

Updated the example to use matching model and processor:
- Model: `google/siglip2-base-patch16-224`
- Processor: `google/siglip2-base-patch16-224`

## Before submitting

- [x] 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#start-contributing-pull-requests)?

Changed files:
filename: docs/source/en/model_doc/siglip2.md
patch: @@ -125,7 +125,7 @@ from PIL import Image
 from transformers import AutoProcessor, AutoModel, BitsAndBytesConfig
 
 bnb_config = BitsAndBytesConfig(load_in_4bit=True)
-model = AutoModel.from_pretrained("google/siglip2-large-patch16-512", quantization_config=bnb_config, device_map="auto", attn_implementation="sdpa")
+model = AutoModel.from_pretrained("google/siglip2-base-patch16-224", quantization_config=bnb_config, device_map="auto", attn_implementation="sdpa")
 processor = AutoProcessor.from_pretrained("google/siglip2-base-patch16-224")
 
 url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/pipeline-cat-chonk.jpeg"
Repository: vuejs/vue
Pull request: fix: handle async placeholders in normalizeScopedSlot 

<!--
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)

- [x] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [ ] Other, please describe:

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [x] No


**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
- [x] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number)
- [x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
- [ ] New/updated tests are included

**Context:**

- Reproduction: https://replit.com/@pi0/vuejsvue10391
- resolves #10391, resolves nuxt/nuxt.js#8904. resolves nuxt/components#164




Changed files:
filename: src/core/vdom/helpers/normalize-scoped-slots.js
patch: @@ -3,6 +3,7 @@
 import { def } from 'core/util/lang'
 import { normalizeChildren } from 'core/vdom/helpers/normalize-children'
 import { emptyObject } from 'shared/util'
+import { isAsyncPlaceholder } from './is-async-placeholder'
 
 export function normalizeScopedSlots (
   slots: { [key: string]: Function } | void,
@@ -60,9 +61,10 @@ function normalizeScopedSlot(normalSlots, key, fn) {
     res = res && typeof res === 'object' && !Array.isArray(res)
       ? [res] // single vnode
       : normalizeChildren(res)
+    let vnode: VNode = res && res[0]
     return res && (
-      res.length === 0 ||
-      (res.length === 1 && res[0].isComment) // #9658
+      !vnode ||
+      (vnode.isComment && !isAsyncPlaceholder(vnode)) // #9658, #10391
     ) ? undefined
       : res
   }
Repository: ollama/ollama
Pull request: kvcache: Skip computing causal mask for worst case graph reservation

Computing an attention mask for a large context and max batch is expensive - over 100ms. Models like Gemma3 that have multiple types of caches and custom attention masks need to do this 4 times, so this adds approximately 500ms to startup time when using 128k context

When we are reserving the worst case graph, we don't need the mask, only its shape, so we can skip this.

Changed files:
filename: kvcache/causal.go
patch: @@ -30,6 +30,11 @@ type Causal struct {
 
 	// ** current forward pass **
 
+	// curReserve indicates that this forward pass is only for
+	// memory reservation and we should not update our metadata
+	// based on it.
+	curReserve bool
+
 	// the active layer for Get and Put
 	curLayer int
 
@@ -159,12 +164,13 @@ func (c *Causal) Close() {
 }
 
 func (c *Causal) StartForward(ctx ml.Context, batch input.Batch, reserve bool) error {
+	c.curReserve = reserve
 	c.curBatchSize = len(batch.Positions)
 	c.curSequences = batch.Sequences
 	c.curPositions = batch.Positions
 	c.opts.Except = nil
 
-	if !reserve {
+	if !c.curReserve {
 		c.updateSlidingWindow()
 
 		var err error
@@ -304,6 +310,11 @@ func (c *Causal) buildMask(ctx ml.Context) ml.Tensor {
 	c.curCellRange.max = roundUp(c.curCellRange.max+1, c.config.CachePadding) - 1
 
 	length := c.curCellRange.max - c.curCellRange.min + 1
+
+	if c.curReserve {
+		return ctx.Input().Empty(c.config.MaskDType, length, batchSize)
+	}
+
 	mask := make([]float32, batchSize*length)
 
 	for i := range c.curBatchSize {
Repository: huggingface/transformers
Pull request: Fix crash of custom models in Notebook or Repl

# What does this PR do?

Fix https://github.com/huggingface/transformers/issues/43645. It's quite unusual, but no reason it should crash in general

Changed files:
filename: src/transformers/modeling_utils.py
patch: @@ -1936,7 +1936,11 @@ def _can_set_attn_implementation(cls) -> bool:
         """Detect whether the class supports setting its attention implementation dynamically. It is an ugly check based on
         opening the file, but avoids maintaining yet another property flag.
         """
-        class_file = sys.modules[cls.__module__].__file__
+        class_module = sys.modules[cls.__module__]
+        # This can happen for a custom model in a jupyter notebook or repl for example - simply do not allow to set it then
+        if not hasattr(class_module, "__file__"):
+            return False
+        class_file = class_module.__file__
         with open(class_file, "r", encoding="utf-8") as f:
             code = f.read()
         # heuristic -> if we find those patterns, the model uses the correct interface
@@ -1951,7 +1955,11 @@ def _can_set_experts_implementation(cls) -> bool:
         """Detect whether the class supports setting its experts implementation dynamically. It is an ugly check based on
         opening the file, but avoids maintaining yet another property flag.
         """
-        class_file = sys.modules[cls.__module__].__file__
+        class_module = sys.modules[cls.__module__]
+        # This can happen for a custom model in a jupyter notebook or repl for example - simply do not allow to set it then
+        if not hasattr(class_module, "__file__"):
+            return False
+        class_file = class_module.__file__
         with open(class_file, "r", encoding="utf-8") as f:
             code = f.read()
         # heuristic -> if we the use_experts_implementation decorator is used, then we can set it
Repository: nodejs/node
Pull request: deps: update amaro to 1.1.6

This is an automated update of amaro to 1.1.6.

Changed files:
filename: deps/amaro/README.md
patch: @@ -32,12 +32,12 @@ It is possible to use Amaro as an external loader to execute TypeScript files.
 This allows the installed Amaro to override the Amaro version used by Node.js.
 In order to use Amaro as an external loader, type stripping needs to be enabled.
 
-In node v23 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default.
-
 ```bash
-node --experimental-strip-types --import="amaro/strip" file.ts
+node --import="amaro/strip" file.ts
 ```
 
+> In node v22.18.0 and later you can omit the `--experimental-strip-types` flag, as it is enabled by default.
+
 Enabling TypeScript feature transformation:
 
 ```bash

filename: deps/amaro/dist/package.json
patch: @@ -4,7 +4,7 @@
     "강동윤 <kdy1997.dev@gmail.com>"
   ],
   "description": "wasm module for swc",
-  "version": "1.13.21",
+  "version": "1.14.0",
   "license": "Apache-2.0",
   "repository": {
     "type": "git",

filename: deps/amaro/dist/register-transform.mjs
patch: @@ -6,7 +6,7 @@ const hasSourceMaps =
 	env.NODE_OPTIONS?.includes("--enable-source-maps");
 
 if (!hasSourceMaps) {
-	emitWarning("Source maps are disabled, stack traces will not accurate");
+	emitWarning("Source maps are disabled, stack traces will not be accurate");
 }
 
 register("./transform-loader.js", import.meta.url);

filename: deps/amaro/package.json
patch: @@ -1,6 +1,6 @@
 {
 	"name": "amaro",
-	"version": "1.1.5",
+	"version": "1.1.6",
 	"description": "Node.js TypeScript wrapper",
 	"license": "MIT",
 	"type": "commonjs",

filename: src/amaro_version.h
patch: @@ -2,5 +2,5 @@
 // Refer to tools/dep_updaters/update-amaro.sh
 #ifndef SRC_AMARO_VERSION_H_
 #define SRC_AMARO_VERSION_H_
-#define AMARO_VERSION "1.1.5"
+#define AMARO_VERSION "1.1.6"
 #endif  // SRC_AMARO_VERSION_H_
Repository: ollama/ollama
Pull request: Fix CVE-2025-1975

check length of digest to fix [CVE-2025-1975](https://huntr.com/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd) which can lead to DoS

Changed files:
filename: server/download.go
patch: @@ -464,6 +464,10 @@ type downloadOpts struct {
 
 // downloadBlob downloads a blob from the registry and stores it in the blobs directory
 func downloadBlob(ctx context.Context, opts downloadOpts) (cacheHit bool, _ error) {
+	if opts.digest == "" {
+		return false, fmt.Errorf(("%s: %s"), opts.mp.GetNamespaceRepository(), "digest is is empty")
+	}
+
 	fp, err := GetBlobsPath(opts.digest)
 	if err != nil {
 		return false, err
Repository: facebook/react
Pull request: Use `yarn run` in Flight fixture


Fixes a bug I'm getting when running `yarn dev` in Node.js 22.14
```
$ concurrently "npm run dev:region" "npm run dev:global"
[0] npm error Invalid property "node"
[0] npm error A complete log of this run can be found in: /Users/sebbie/.npm/_logs/2025-08-13T13_12_02_245Z-debug-0.log
[1] npm error Invalid property "node"
[1] npm error A complete log of this run can be found in: /Users/sebbie/.npm/_logs/2025-08-13T13_12_02_245Z-debug-0.log
[0] npm run dev:region exited with code 1
[1] npm run dev:global exited with code 1
error Command failed with exit code 1.
```

Since we're using Yarn, we should really be consistent about it. 

Changed files:
filename: fixtures/flight/package.json
patch: @@ -71,10 +71,10 @@
   "scripts": {
     "predev": "cp -r ../../build/oss-experimental/* ./node_modules/ && rm -rf node_modules/.cache;",
     "prebuild": "cp -r ../../build/oss-experimental/* ./node_modules/ && rm -rf node_modules/.cache;",
-    "dev": "concurrently \"npm run dev:region\" \"npm run dev:global\"",
+    "dev": "concurrently \"yarn run dev:region\" \"yarn run dev:global\"",
     "dev:global": "NODE_ENV=development BUILD_PATH=dist node --experimental-loader ./loader/global.js --inspect=127.0.0.1:9230 server/global",
     "dev:region": "NODE_ENV=development BUILD_PATH=dist nodemon --watch src --watch dist -- --enable-source-maps --experimental-loader ./loader/region.js --conditions=react-server --inspect=127.0.0.1:9229 server/region",
-    "start": "node scripts/build.js && concurrently \"npm run start:region\" \"npm run start:global\"",
+    "start": "node scripts/build.js && concurrently \"yarn run start:region\" \"yarn run start:global\"",
     "start:global": "NODE_ENV=production node --experimental-loader ./loader/global.js server/global",
     "start:region": "NODE_ENV=production node --experimental-loader ./loader/region.js --conditions=react-server server/region",
     "build": "node scripts/build.js",
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

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

filename: README.md
patch: @@ -268,6 +268,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/line_corporation.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://exmax.it/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/exmax.png">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>
Repository: ollama/ollama
Pull request: tools: remove newline stripping

Remove newline stripping from prefix check.

Thanks to @benhaotang for helping with testing!

Changed files:
filename: tools/tools.go
patch: @@ -137,11 +137,6 @@ func parseJSONToolCalls(s string, name, arguments string, prefix string) ([]api.
 //   - The processed string with prefix removed if found
 //   - error: ErrAccumulateMore if prefix is incomplete, or nil if successful
 func (p *Parser) checkPrefix(s string) (string, error) {
-	original := s
-	if strings.ContainsRune(s, '\n') {
-		s = strings.ReplaceAll(s, "\n", " ")
-	}
-
 	if s == "" || p.prefix == "" {
 		return s, nil
 	}
@@ -158,7 +153,7 @@ func (p *Parser) checkPrefix(s string) (string, error) {
 		// Return everything except overlapping portion
 		p.sb.Reset()
 		p.sb.WriteString(s[idx:])
-		return original[:idx], errAccumulateMore
+		return s[:idx], errAccumulateMore
 	}
 
 	// Check if prefix appears in middle of string
@@ -167,7 +162,7 @@ func (p *Parser) checkPrefix(s string) (string, error) {
 		p.sb.Reset()
 		p.sb.WriteString(strings.TrimSpace(s[idx:]))
 		// Return everything before prefix
-		return original[:idx], errAccumulateMore
+		return s[:idx], errAccumulateMore
 	}
 
 	// No partial prefix found
@@ -181,9 +176,6 @@ func (p *Parser) checkPrefix(s string) (string, error) {
 //   - tools: Any parsed tool calls
 //   - content: Non-tool call content
 func (p *Parser) Add(s string) (tools []api.ToolCall, content string) {
-	if strings.TrimSpace(s) == "" {
-		return nil, s
-	}
 	if p.done {
 		if p.index == 0 {
 			// Return original string if no tool calls found at start
Repository: nodejs/node
Pull request: tools: update nixpkgs-unstable to 6308c3b21396534d8aaeac46179c14c439a

This is an automated update of nixpkgs-unstable to 6308c3b21396534d8aaeac46179c14c439a.

Changed files:
filename: tools/nix/pkgs.nix
patch: @@ -1,10 +1,10 @@
 arg:
 let
   repo = "https://github.com/NixOS/nixpkgs";
-  rev = "ab9fbbcf4858bd6d40ba2bbec37ceb4ab6e1f562";
+  rev = "6308c3b21396534d8aaeac46179c14c439a89b8a";
   nixpkgs = import (builtins.fetchTarball {
     url = "${repo}/archive/${rev}.tar.gz";
-    sha256 = "1jkl1sjn89s8sd7x99kv0j2khhbz5vzpyf3iiscq3r0ybnjlj1wq";
+    sha256 = "14qnx22pkl9v4r0lxnnz18f4ybxj8cv18hyf1klzap98hckg58y4";
   }) arg;
 in
 nixpkgs
Repository: ollama/ollama
Pull request: Update README.md

Added CLI example of how to use new AWS Strands Agents SDK with ollama with several examples

Changed files:
filename: README.md
patch: @@ -450,6 +450,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [orbiton](https://github.com/xyproto/orbiton) Configuration-free text editor and IDE with support for tab completion with Ollama.
 - [orca-cli](https://github.com/molbal/orca-cli) Ollama Registry CLI Application - Browse, pull, and download models from Ollama Registry in your terminal.
 - [GGUF-to-Ollama](https://github.com/jonathanhecl/gguf-to-ollama) - Importing GGUF to Ollama made easy (multiplatform)
+- [AWS-Strands-With-Ollama](https://github.com/rapidarchitect/ollama_strands) - AWS Strands Agents with Ollama Examples
 
 ### Apple Vision Pro