helloadhavan/github_issues huggingface dataset:
Repository: vercel/next.js
Pull request: Update Rspack development test manifest

This auto-generated PR updates the development integration test manifest used when testing Rspack.

Changed files:
filename: test/rspack-dev-tests-manifest.json
patch: @@ -7945,6 +7945,16 @@
     "flakey": [],
     "runtimeError": false
   },
+  "test/e2e/app-dir/otel-parent-span-propagation/otel-parent-span-propagation.test.ts": {
+    "passed": [
+      "otel-parent-span-propagation should set http.route on handleRequest span for dynamic routes",
+      "otel-parent-span-propagation should set http.route on handleRequest span for static routes"
+    ],
+    "failed": [],
+    "pending": [],
+    "flakey": [],
+    "runtimeError": false
+  },
   "test/e2e/app-dir/pages-to-app-routing/pages-to-app-routing.test.ts": {
     "passed": [],
     "failed": ["pages-to-app-routing should work using browser"],
@@ -8664,10 +8674,10 @@
     "runtimeError": false
   },
   "test/e2e/app-dir/proxy-with-middleware/proxy-with-middleware.test.ts": {
-    "passed": [
+    "passed": [],
+    "failed": [
       "proxy-with-middleware should error when both middleware and proxy files are detected"
     ],
-    "failed": [],
     "pending": [],
     "flakey": [],
     "runtimeError": false
@@ -10365,7 +10375,10 @@
     "runtimeError": false
   },
   "test/e2e/app-dir/view-transitions/view-transitions.test.ts": {
-    "passed": ["view-transitions smoketest"],
+    "passed": [
+      "view-transitions smoketest",
+      "view-transitions transitionTypes smoketest"
+    ],
     "failed": [],
     "pending": [],
     "flakey": [],
@@ -10865,6 +10878,15 @@
     "flakey": [],
     "runtimeError": false
   },
+  "test/e2e/css-data-url-global-pages/css-data-url-global-pages.test.ts": {
+    "passed": [],
+    "failed": [],
+    "pending": [
+      "css-data-url-global-pages should apply styles from data url correctly"
+    ],
+    "flakey": [],
+    "runtimeError": false
+  },
   "test/e2e/custom-app-render/custom-app-render.test.ts": {
     "passed": [
       "custom-app-render should render /",
@@ -13480,10 +13502,10 @@
     "runtimeError": false
   },
   "test/e2e/tsconfig-module-preserve/index.test.ts": {
-    "passed": [],
-    "failed": [
+    "passed": [
       "tsconfig module: preserve allows you to skip moduleResolution, esModuleInterop and resolveJsonModule when using \"module: preserve\""
     ],
+    "failed": [],
     "pending": [],
     "flakey": [],
     "runtimeError": false
Repository: rust-lang/rust
Pull request: install-template.sh: Optimize by using Bourne shell builtins.

This replaces forking separate processes and using "cut" with Bourne shell builtin operations for "remove largest suffix pattern" and "remove smallest prefix pattern" operations.

This is the follow-up of https://github.com/rust-lang/rust/pull/145809

Changed files:
filename: src/tools/rust-installer/install-template.sh
patch: @@ -433,8 +433,8 @@ uninstall_components() {
             local _directive
             while read _directive; do
 
-            local _command=`echo $_directive | cut -f1 -d:`
-            local _file=`echo $_directive | cut -f2 -d:`
+            local _command="${_directive%%:*}"
+            local _file="${_directive#*:}"
 
             # Sanity checks
             if [ ! -n "$_command" ]; then critical_err "malformed installation directive"; fi
@@ -541,8 +541,8 @@ install_components() {
     local _directive
     while read _directive; do
 
-        local _command=`echo $_directive | cut -f1 -d:`
-        local _file=`echo $_directive | cut -f2 -d:`
+        local _command="${_directive%%:*}"
+        local _file="${_directive#*:}"
 
         # Sanity checks
         if [ ! -n "$_command" ]; then critical_err "malformed installation directive"; fi
Repository: ollama/ollama
Pull request: ci: fix missing vulkan binaries in linux bundles

Fixes #13104 

Changed files:
filename: .github/workflows/release.yaml
patch: @@ -366,6 +366,7 @@ jobs:
               bin/ollama)                echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
               lib/ollama/*.so*)          echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
               lib/ollama/cuda_v*)        echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
+              lib/ollama/vulkan*)        echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
               lib/ollama/cuda_jetpack5)  echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}-jetpack5.tar.in ;;
               lib/ollama/cuda_jetpack6)  echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}-jetpack6.tar.in ;;
               lib/ollama/rocm)           echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}-rocm.tar.in ;;
Repository: facebook/react
Pull request: [DevTools] Infer name from stack if it's the generic "lazy" name

Stacked on #34906.

Infer name from stack if it's the generic "lazy" name. It might be wrapped in an abstraction. E.g. `next/dynamic`.

Also use the function name as a description of a resolved function value.

<img width="310" height="166" alt="Screenshot 2025-10-18 at 10 42 05 AM" src="https://github.com/user-attachments/assets/c63170b9-2b19-4f30-be7a-6429bb3ef3d9" />


Changed files:
filename: packages/react-devtools-shared/src/devtools/views/useInferredName.js
patch: @@ -16,7 +16,7 @@ export default function useInferredName(
   const fetchFileWithCaching = useContext(FetchFileWithCachingContext);
   const name = asyncInfo.awaited.name;
   let inferNameFromStack = null;
-  if (!name || name === 'Promise') {
+  if (!name || name === 'Promise' || name === 'lazy') {
     // If all we have is a generic name, we can try to infer a better name from
     // the stack. We only do this if the stack has more than one frame since
     // otherwise it's likely to just be the name of the component which isn't better.

filename: packages/shared/ReactIODescription.js
patch: @@ -13,6 +13,8 @@ export function getIODescription(value: mixed): string {
   }
   try {
     switch (typeof value) {
+      case 'function':
+        return value.name || '';
       case 'object':
         // Test the object for a bunch of common property names that are useful identifiers.
         // While we only have the return value here, it should ideally be a name that
Repository: huggingface/transformers
Pull request: Fix position_ids typo in Qwen3_5TextModel forward pass

## Summary

Fixes #44384

In `Qwen3_5TextModel.forward`, after splitting `position_ids` into `text_position_ids` (index 0, for text) and `position_ids` (indices 1:, for temporal/height/width), the decoder layer call incorrectly passed `position_ids` instead of `text_position_ids`.

This caused shape mismatches in FlashAttention2 when processing non-padded data, because the decoder layers received the 3D mrope position_ids (temporal/height/width) instead of the 2D text position_ids.

## Changes

- `modular_qwen3_5.py` line 681: `position_ids=position_ids` → `position_ids=text_position_ids`
- `modeling_qwen3_5.py` line 1376: same fix (auto-generated from modular)

This aligns with the corresponding code in [`Qwen3VLTextModel`](https://github.com/huggingface/transformers/blob/main/src/transformers/models/qwen3_vl/modular_qwen3_vl.py#L819) which correctly passes `text_position_ids` to decoder layers.

## Test plan

- [ ] Verify Qwen3.5 inference with non-padded batches no longer raises shape mismatch errors
- [ ] Verify FlashAttention2 backend works correctly with the fix

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Changed files:
filename: src/transformers/models/qwen3_5/modeling_qwen3_5.py
patch: @@ -1354,7 +1354,7 @@ def forward(
                 hidden_states,
                 position_embeddings=position_embeddings,
                 attention_mask=layer_mask,
-                position_ids=position_ids,
+                position_ids=text_position_ids,
                 past_key_values=past_key_values,
                 use_cache=use_cache,
                 **kwargs,

filename: src/transformers/models/qwen3_5/modular_qwen3_5.py
patch: @@ -665,7 +665,7 @@ def forward(
                 hidden_states,
                 position_embeddings=position_embeddings,
                 attention_mask=layer_mask,
-                position_ids=position_ids,
+                position_ids=text_position_ids,
                 past_key_values=past_key_values,
                 use_cache=use_cache,
                 **kwargs,

filename: src/transformers/models/qwen3_5_moe/modeling_qwen3_5_moe.py
patch: @@ -1479,7 +1479,7 @@ def forward(
                 hidden_states,
                 position_embeddings=position_embeddings,
                 attention_mask=layer_mask,
-                position_ids=position_ids,
+                position_ids=text_position_ids,
                 past_key_values=past_key_values,
                 use_cache=use_cache,
                 **kwargs,
Repository: electron/electron
Pull request: fix: prefer browser runtime over node in DevTools HostRuntime detection

Backport of #50241

See that PR for details.


Notes: Fix an issue where some DevTools functionality didn't work as expected.

Changed files:
filename: patches/devtools_frontend/.patches
patch: @@ -1 +1,2 @@
 chore_expose_ui_to_allow_electron_to_set_dock_side.patch
+fix_prefer_browser_runtime_over_node_in_hostruntime_detection.patch

filename: patches/devtools_frontend/fix_prefer_browser_runtime_over_node_in_hostruntime_detection.patch
patch: @@ -0,0 +1,36 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Shelley Vohr <shelley.vohr@gmail.com>
+Date: Thu, 12 Mar 2026 17:03:29 +0100
+Subject: fix: prefer browser runtime over node in HostRuntime detection
+
+In Electron, the `process` global is available in renderer processes,
+including the DevTools renderer. This causes the IS_NODE check to pass,
+leading DevTools to attempt importing the Node.js platform runtime
+(which uses `node:worker_threads`). However, DevTools Web Workers
+running under the `devtools://` protocol don't have access to Node.js
+built-in modules, resulting in a failed dynamic import.
+
+Fix by checking IS_BROWSER first, since DevTools always runs in a
+browser-like environment. The Node.js runtime is only needed when
+DevTools runs under pure Node.js (e.g., CLI tooling or testing).
+
+diff --git a/front_end/core/platform/HostRuntime.ts b/front_end/core/platform/HostRuntime.ts
+index 91adba7c966a9c4c0e5315d2cfee07f8f622b731..16822b8d4ea74a4ffd6870e5e95948d75918f5d2 100644
+--- a/front_end/core/platform/HostRuntime.ts
++++ b/front_end/core/platform/HostRuntime.ts
+@@ -14,12 +14,12 @@ export const IS_BROWSER =
+     typeof window !== 'undefined' || (typeof self !== 'undefined' && typeof self.postMessage === 'function');
+ 
+ export const HOST_RUNTIME = await (async(): Promise<Api.HostRuntime.HostRuntime> => {
+-  if (IS_NODE) {
+-    return (await import('./node/node.js')).HostRuntime.HOST_RUNTIME;
+-  }
+   if (IS_BROWSER) {
+     return (await import('./browser/browser.js')).HostRuntime.HOST_RUNTIME;
+   }
++  if (IS_NODE) {
++    return (await import('./node/node.js')).HostRuntime.HOST_RUNTIME;
++  }
+ 
+   throw new Error('Unknown runtime!');
+ })();
Repository: rust-lang/rust
Pull request: Move ui/issues tests to relevant subdirectories

<!-- homu-ignore:start -->
<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.

This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using

    r? <reviewer name>
-->
<!-- homu-ignore:end -->

Related to https://github.com/rust-lang/rust/issues/133895 and [Reorganisation of tests/ui/issues for GSOC](https://github.com/rust-lang/google-summer-of-code?tab=readme-ov-file#reorganisation-of-testsuiissues)

This is the first PR in a batch of PRs.

Moves `ui/issues/issue-17546.rs‎`  ‎-> `ui/variants/variant-result-noresult-used-as-type.rs`

Approach:
1. Check linked issue and test contents, determine new target directory
2. Move / rename tests to reflect purpose.
3. Add issue link / comments in separate commit.
4. Rebless if necessary and remove obsolete stderr.



r? @Kivooeo 

Changed files:
filename: tests/ui/variants/variant-result-noresult-used-as-type.rs
patch: @@ -1,5 +1,6 @@
 //@ edition:2015
 //@ ignore-sgx std::os::fortanix_sgx::usercalls::raw::Result changes compiler suggestions
+// https://github.com/rust-lang/rust/issues/17546
 
 use foo::MyEnum::Result;
 use foo::NoResult; // Through a re-export

filename: tests/ui/variants/variant-result-noresult-used-as-type.stderr
patch: @@ -1,5 +1,5 @@
 error[E0573]: expected type, found variant `NoResult`
-  --> $DIR/issue-17546.rs:15:17
+  --> $DIR/variant-result-noresult-used-as-type.rs:16:17
    |
 LL |     fn new() -> NoResult<MyEnum, String> {
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -19,7 +19,7 @@ LL +     fn new() -> Result<MyEnum, String> {
    |
 
 error[E0573]: expected type, found variant `Result`
-  --> $DIR/issue-17546.rs:25:17
+  --> $DIR/variant-result-noresult-used-as-type.rs:26:17
    |
 LL |     fn new() -> Result<foo::MyEnum, String> {
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a type
@@ -36,7 +36,7 @@ LL +     use std::thread::Result;
    |
 
 error[E0573]: expected type, found variant `Result`
-  --> $DIR/issue-17546.rs:31:13
+  --> $DIR/variant-result-noresult-used-as-type.rs:32:13
    |
 LL | fn new() -> Result<foo::MyEnum, String> {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a type
@@ -53,7 +53,7 @@ LL + use std::thread::Result;
    |
 
 error[E0573]: expected type, found variant `NoResult`
-  --> $DIR/issue-17546.rs:36:15
+  --> $DIR/variant-result-noresult-used-as-type.rs:37:15
    |
 LL | fn newer() -> NoResult<foo::MyEnum, String> {
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Repository: ollama/ollama
Pull request: app/ui: fix to point ollama client to ui backend in dev mode

In development mode, the Ollama client was using window.location.origin (http://localhost:5173 since frontend is running on 5173), causing it to call APIs on the Vite dev server instead of the UI backend proxy server. This resulted in 404 errors for some API calls (/tags, /show).

This PR fix to configure the Ollama client to use http://127.0.0.1:3001 in dev mode, which is where the UI backend server (started with -dev flag) listens and proxies requests to the Ollama server.

Changed files:
filename: app/ui/app/src/api.ts
patch: @@ -15,6 +15,7 @@ import {
 import { parseJsonlFromResponse } from "./util/jsonl-parsing";
 import { ollamaClient as ollama } from "./lib/ollama-client";
 import type { ModelResponse } from "ollama/browser";
+import { API_BASE } from "./lib/config";
 
 // Extend Model class with utility methods
 declare module "@/gotypes" {
@@ -27,8 +28,6 @@ Model.prototype.isCloud = function (): boolean {
   return this.model.endsWith("cloud");
 };
 
-const API_BASE = import.meta.env.DEV ? "http://127.0.0.1:3001" : "";
-
 // Helper function to convert Uint8Array to base64
 function uint8ArrayToBase64(uint8Array: Uint8Array): string {
   const chunkSize = 0x8000; // 32KB chunks to avoid stack overflow

filename: app/ui/app/src/lib/config.ts
patch: @@ -0,0 +1,10 @@
+// API configuration
+const DEV_API_URL = "http://127.0.0.1:3001";
+
+// Base URL for fetch API calls (can be relative in production)
+export const API_BASE = import.meta.env.DEV ? DEV_API_URL : "";
+
+// Full host URL for Ollama client (needs full origin in production)
+export const OLLAMA_HOST = import.meta.env.DEV
+  ? DEV_API_URL
+  : window.location.origin;

filename: app/ui/app/src/lib/ollama-client.ts
patch: @@ -1,12 +1,13 @@
 import { Ollama } from "ollama/browser";
+import { OLLAMA_HOST } from "./config";
 
 let _ollamaClient: Ollama | null = null;
 
 export const ollamaClient = new Proxy({} as Ollama, {
   get(_target, prop) {
     if (!_ollamaClient) {
       _ollamaClient = new Ollama({
-        host: window.location.origin,
+        host: OLLAMA_HOST,
       });
     }
     const value = _ollamaClient[prop as keyof Ollama];
Repository: ollama/ollama
Pull request: Fix a typo in `runner.go`

Sorry for the low-effort PR, but someone complained about this while browsing the logs.

Changed files:
filename: discover/runner.go
patch: @@ -94,7 +94,7 @@ func GPUDevices(ctx context.Context, runners []ml.FilteredRunnerDiscovery) []ml.
 			var dirs []string
 			if dir != "" {
 				if requested != "" && filepath.Base(dir) != requested {
-					slog.Debug("skipping available library at users request", "requested", requested, "libDir", dir)
+					slog.Debug("skipping available library at user's request", "requested", requested, "libDir", dir)
 					continue
 				} else if jetpack != "" && filepath.Base(dir) != "cuda_"+jetpack {
 					continue
@@ -117,7 +117,7 @@ func GPUDevices(ctx context.Context, runners []ml.FilteredRunnerDiscovery) []ml.
 		// In the second pass, we more deeply initialize the GPUs to weed out devices that
 		// aren't supported by a given library.  We run this phase in parallel to speed up discovery.
 		// Only devices that need verification are included in this pass
-		slog.Debug("evluating which if any devices to filter out", "initial_count", len(devices))
+		slog.Debug("evaluating which, if any, devices to filter out", "initial_count", len(devices))
 		ctx2ndPass, cancel := context.WithTimeout(ctx, 30*time.Second)
 		defer cancel()
 		var wg sync.WaitGroup
@@ -129,7 +129,7 @@ func GPUDevices(ctx context.Context, runners []ml.FilteredRunnerDiscovery) []ml.
 				continue
 			}
 			libDir := devices[i].LibraryPath[len(devices[i].LibraryPath)-1]
-			slog.Debug("verifying device is supported", "library", libDir, "description", devices[i].Description, "compute", devices[i].Compute(), "id", devices[i].ID, "pci_id", devices[i].PCIID)
+			slog.Debug("verifying if device is supported", "library", libDir, "description", devices[i].Description, "compute", devices[i].Compute(), "id", devices[i].ID, "pci_id", devices[i].PCIID)
 			wg.Add(1)
 			go func(i int) {
 				defer wg.Done()
@@ -467,7 +467,7 @@ func overrideWarnings() {
 	} {
 		if e, found := m[k]; found && e.Value != "" {
 			anyFound = true
-			slog.Warn("user override visible devices", k, e.Value)
+			slog.Warn("user overrode visible devices", k, e.Value)
 		}
 	}
 	if anyFound {
Repository: vercel/next.js
Pull request: partial fallbacks: add adapter flag

Plumbs the new `partialFallback` through `onBuildComplete`, which is consumed by `adapter-vercel` to signal that a prerender is a partial fallback (PR forthcoming, once this lands, so it's available on the types). For more information on what a partial fallback is, see the downstack PR. 



Changed files:
filename: packages/next/src/build/adapter/build-complete.ts
patch: @@ -234,6 +234,11 @@ export interface AdapterOutput {
        * renderingMode signals PPR or not for a prerender
        */
       renderingMode?: RenderingMode
+      /**
+       * partialFallback signals this prerender serves a partial fallback shell
+       * and should be upgraded to a full route in the background.
+       */
+      partialFallback?: boolean
 
       /**
        * bypassToken is the generated token that signals a prerender cache
@@ -1205,6 +1210,7 @@ export async function handleBuildComplete({
               config: {
                 ...initialOutput.config,
                 bypassFor: undefined,
+                partialFallback: undefined,
               },
 
               fallback: {
@@ -1583,6 +1589,11 @@ export async function handleBuildComplete({
             (item) => item.page === dynamicRoute
           )?.routeKeys || {}
         )
+        const partialFallback =
+          isAppPage &&
+          renderingMode === RenderingMode.PARTIALLY_STATIC &&
+          typeof fallback === 'string' &&
+          Boolean(meta.postponed)
         let htmlAllowQuery = allowQuery
 
         // We only want to vary on the shell contents if there is a fallback
@@ -1642,6 +1653,7 @@ export async function handleBuildComplete({
             allowQuery: htmlAllowQuery,
             allowHeader,
             renderingMode,
+            partialFallback: partialFallback || undefined,
             bypassFor: isAppPage ? experimentalBypassFor : undefined,
             bypassToken: prerenderManifest.preview.previewModeId,
           },
@@ -1720,6 +1732,7 @@ export async function handleBuildComplete({
               config: {
                 ...initialOutput.config,
                 allowQuery: dataAllowQuery,
+                partialFallback: undefined,
               },
             })
           } else if (dataRoute) {
@@ -1728,6 +1741,10 @@ export async function handleBuildComplete({
               id: dataRoute,
               pathname: dataRoute,
               fallback: undefined,
+              config: {
+                ...initialOutput.config,
+                partialFallback: undefined,
+              },
             })
           }
           prerenderGroupId += 1
@@ -1787,6 +1804,10 @@ export async function handleBuildComplete({
                 pathname: dataPathname,
                 // data route doesn't have skeleton fallback
                 fallback: undefined,
+                config: {
+                  ...initialOutput.config,
+                  partialFallback: undefined,
+                },
                 groupId: prerenderGroupId,
               })
             }
Repository: rust-lang/rust
Pull request: delegation: add const type ICE test

This PR adds test for rust-lang/rust#154334 which was fixed by rust-lang/rust#154142. Fixes rust-lang/rust#154334. Part of rust-lang/rust#118212.

r? @petrochenkov

Changed files:
filename: tests/ui/delegation/generics/const-type-ice-154334.rs
patch: @@ -0,0 +1,11 @@
+//@ check-pass
+//@ compile-flags: --crate-type=lib
+
+#![feature(min_generic_const_args)]
+#![feature(fn_delegation)]
+#![feature(adt_const_params)]
+#![feature(unsized_const_params)]
+trait Trait<'a, T, const N: str> {
+    fn foo<'v, A, B>(&self) {}
+}
+reuse Trait::foo;
Repository: ollama/ollama
Pull request: Add KDeps to Community Integrations

KDeps is an AI framework for building Dockerized full-stack applications with declarative PKL configuration, it uses Ollama for AI-powered APIs.

https://kdeps.com

Changed files:
filename: README.md
patch: @@ -427,6 +427,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Mayan EDMS](https://gitlab.com/mayan-edms/mayan-edms) (Open source document management system to organize, tag, search, and automate your files with powerful Ollama driven workflows.)
 - [Serene Pub](https://github.com/doolijb/serene-pub) (Beginner friendly, open source AI Roleplaying App for Windows, Mac OS and Linux. Search, download and use models with Ollama all inside the app.)
 - [Andes](https://github.com/aqerd/andes) (A Visual Studio Code extension that provides a local UI interface for Ollama models)
+- [KDeps](https://github.com/kdeps/kdeps) (Kdeps is an offline-first AI framework for building Dockerized full-stack AI applications declaratively using Apple PKL and integrates APIs with Ollama on the backend.)
 - [Clueless](https://github.com/KashyapTan/clueless) (Open Source & Local Cluely: A desktop application LLM assistant to help you talk to anything on your screen using locally served Ollama models. Also undetectable to screenshare)
 - [ollama-co2](https://github.com/carbonatedWaterOrg/ollama-co2) (FastAPI web interface for monitoring and managing local and remote Ollama servers with real-time model monitoring and concurrent downloads)
 - [Hillnote](https://hillnote.com) (A Markdown-first workspace designed to supercharge your AI workflow. Create documents ready to integrate with Claude, ChatGPT, Gemini, Cursor, and more - all while keeping your work on your device.)