helloadhavan/github_issues huggingface dataset:
Repository: vuejs/vue
Pull request: fix: not push non-async css files into map

<!--
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

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
- [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

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:**

Fix https://github.com/nuxt/nuxt.js/issues/5190

Since #7902 has already implemented `initial` and `async` for css, so make `fileMapper` only include async `css` files same as `js` files for avoiding duplicate `style` tags.

Changed files:
filename: src/server/template-renderer/create-async-file-mapper.js
patch: @@ -43,8 +43,8 @@ function mapIdToFile (id, clientManifest) {
   if (fileIndices) {
     fileIndices.forEach(index => {
       const file = clientManifest.all[index]
-      // only include async files or non-js assets
-      if (clientManifest.async.indexOf(file) > -1 || !(/\.js($|\?)/.test(file))) {
+      // only include async files or non-js, non-css assets
+      if (clientManifest.async.indexOf(file) > -1 || !(/\.(js|css)($|\?)/.test(file))) {
         files.push(file)
       }
     })
Repository: ollama/ollama
Pull request: Fix /proc/cpuinfo file open and close.

1 fix file open and close
2 reduce redundancy loops.

Changed files:
filename: discover/gpu_linux.go
patch: @@ -111,6 +111,7 @@ func GetCPUDetails() ([]CPU, error) {
 	if err != nil {
 		return nil, err
 	}
+	defer file.Close()
 	return linuxCPUDetails(file)
 }
 
@@ -168,13 +169,11 @@ func linuxCPUDetails(file io.Reader) ([]CPU, error) {
 	for id, s := range socketByID {
 		s.CoreCount = len(coreBySocket[id])
 		s.ThreadCount = 0
-		for _, tc := range threadsByCoreBySocket[id] {
-			s.ThreadCount += tc
-		}
 
 		// This only works if HT is enabled, consider a more reliable model, maybe cache size comparisons?
 		efficiencyCoreCount := 0
 		for _, threads := range threadsByCoreBySocket[id] {
+			s.ThreadCount += threads
 			if threads == 1 {
 				efficiencyCoreCount++
 			}
Repository: ggml-org/llama.cpp
Pull request: server : fix wait in test_cancel_requests() test

The wait condition in `test_cancel_request()` is a bit flaky, causing failures with the Metal server runs from time to time:

https://github.com/ggml-org/llama.cpp/actions/runs/23113808739/job/67135730576#step:4:22888

Give the slot a bit more time to finish for sure.

Changed files:
filename: CODEOWNERS
patch: @@ -85,6 +85,7 @@
 /tools/quantize/                        @ggerganov
 /tools/rpc/                             @ggml-org/ggml-rpc
 /tools/server/*                         @ggml-org/llama-server # no subdir
+/tools/server/tests/                    @ggml-org/llama-server
 /tools/server/webui/                    @ggml-org/llama-webui
 /tools/tokenize/                        @ggerganov
 /tools/tts/                             @ggerganov

filename: tools/server/tests/unit/test_completion.py
patch: @@ -563,7 +563,7 @@ def test_cancel_request():
     except requests.exceptions.ReadTimeout:
         pass # expected
     # make sure the slot is free
-    time.sleep(1) # wait for HTTP_POLLING_SECONDS
+    time.sleep(2)
     res = server.make_request("GET", "/slots")
     assert res.body[0]["is_processing"] == False
Repository: ollama/ollama
Pull request: Update README.md

Adding TagSpaces to the list of apps with Ollama integration

Changed files:
filename: README.md
patch: @@ -285,6 +285,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Bionic GPT](https://github.com/bionic-gpt/bionic-gpt)
 - [HTML UI](https://github.com/rtcfirefly/ollama-ui)
 - [Saddle](https://github.com/jikkuatwork/saddle)
+- [TagSpaces](https://www.tagspaces.org) (A platform for file based apps, [utilizing Ollama](https://docs.tagspaces.org/ai/) for the generation of tags and descriptions)
 - [Chatbot UI](https://github.com/ivanfioravanti/chatbot-ollama)
 - [Chatbot UI v2](https://github.com/mckaywrigley/chatbot-ui)
 - [Typescript UI](https://github.com/ollama-interface/Ollama-Gui?tab=readme-ov-file)
Repository: ollama/ollama
Pull request: Added DeepShell to README.md


Changed files:
filename: README.md
patch: @@ -435,6 +435,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [SwollamaCLI](https://github.com/marcusziade/Swollama) bundled with the Swollama Swift package. [Demo](https://github.com/marcusziade/Swollama?tab=readme-ov-file#cli-usage)
 - [aichat](https://github.com/sigoden/aichat) All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI tools & agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.
 - [PowershAI](https://github.com/rrg92/powershai) PowerShell module that brings AI to terminal on Windows, including support for Ollama
+- [DeepShell](https://github.com/Abyss-c0re/deepshell) Your self-hosted AI assistant. Interactive Shell, Files and Folders analysis.
 - [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.
Repository: vuejs/vue
Pull request: fix(ssr): fix nested async functional componet rendering

<!--
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

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)
- [x] 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:**
fix #9643

Changed files:
filename: src/core/vdom/helpers/resolve-async-component.js
patch: @@ -53,7 +53,7 @@ export function resolveAsyncComponent (
   }
 
   const owner = currentRenderingInstance
-  if (isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
+  if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
     // already pending
     factory.owners.push(owner)
   }
@@ -62,7 +62,7 @@ export function resolveAsyncComponent (
     return factory.loadingComp
   }
 
-  if (!isDef(factory.owners)) {
+  if (owner && !isDef(factory.owners)) {
     const owners = factory.owners = [owner]
     let sync = true
 

filename: test/ssr/ssr-string.spec.js
patch: @@ -640,6 +640,41 @@ describe('SSR: renderToString', () => {
     })
   })
 
+  it('renders nested async functional component', done => {
+    renderVmWithOptions({
+      template: `
+        <div>
+          <outer-async></outer-async>
+        </div>
+      `,
+      components: {
+        outerAsync (resolve) {
+          setTimeout(() => resolve({
+            functional: true,
+            render (h) {
+              return h('innerAsync')
+            }
+          }), 1)
+        },
+        innerAsync (resolve) {
+          setTimeout(() => resolve({
+            functional: true,
+            render (h) {
+              return h('span', { class: ['a'] }, 'inner')
+            },
+          }), 1)
+        }
+      }
+    }, result => {
+      expect(result).toContain(
+        '<div data-server-rendered="true">' +
+          '<span class="a">inner</span>' +
+        '</div>'
+      )
+      done()
+    })
+  })
+
   it('should catch async component error', done => {
     Vue.config.silent = true
     renderToString(new Vue({
Repository: nodejs/node
Pull request: test: reveal wpt evaluation errors in status files

Refs: https://github.com/nodejs/node/pull/61316#discussion_r2679735413

Changed files:
filename: test/common/wpt.js
patch: @@ -712,7 +712,7 @@ class WPTRunner {
             spec,
             {
               status: NODE_UNCAUGHT,
-              name: 'evaluation in WPTRunner.runJsTests()',
+              name: `${err}`,
               message: err.message,
               stack: inspect(err),
             },

filename: test/wpt/status/web-locks.json
patch: @@ -3,7 +3,7 @@
     "fail": {
       "note": "Flaky on ppc, linux x64 and s390x #59142",
       "flaky": [
-        "evaluation in WPTRunner.runJsTests()"
+        "Error: this uncaught rejection is expected"
       ]
     }
   },
@@ -50,4 +50,4 @@
   "storage-buckets.tentative.https.any.js": {
     "skip": "Node.js does not implement Storage Buckets API"
   }
-} 
+}

filename: test/wpt/status/webidl.json
patch: @@ -2,7 +2,7 @@
   "ecmascript-binding/class-string-named-properties-object.window.js": {
     "fail": {
       "expected": [
-        "evaluation in WPTRunner.runJsTests()"
+        "ReferenceError: Window is not defined"
       ]
     }
   },
@@ -28,7 +28,7 @@
         "Global object's operation throws when called on incompatible object",
         "Global object's getter works when called on null / undefined",
         "Global object's setter works when called on null / undefined",
-        "evaluation in WPTRunner.runJsTests()"
+        "ReferenceError: addEventListener is not defined"
       ]
     }
   },
Repository: ggml-org/llama.cpp
Pull request: server : adjust unified KV cache tests

ref https://github.com/ggml-org/llama.cpp/pull/18700#issuecomment-3728695581

Changed files:
filename: tools/server/tests/unit/test_completion.py
patch: @@ -393,12 +393,12 @@ def test_completion_unified(n_ctx, n_slots, n_predict_vals, expected_success):
     for res, n_predict, expect_ok in zip(results, n_predict_vals, expected_success):
         if expect_ok:
             assert res.status_code == 200
+
+        # note: https://github.com/ggml-org/llama.cpp/pull/18700#issuecomment-3728695581
+        if res.status_code == 200:
             assert "content" in res.body
             if "timings" in res.body:
                 assert res.body["timings"]["predicted_n"] == n_predict
-        else:
-            assert res.status_code == 500
-            assert "content" not in res.body
 
 
 @pytest.mark.parametrize(
Repository: facebook/react
Pull request: [devtools] fix: fallback to reading string stack trace when failed

Discovered while testing with Hermes.

Changed files:
filename: packages/react-devtools-shared/src/backend/utils/index.js
patch: @@ -381,7 +381,7 @@ function collectStackTrace(
         // $FlowFixMe[prop-missing]
         typeof callSite.getEnclosingColumnNumber === 'function'
           ? (callSite: any).getEnclosingColumnNumber()
-          : callSite.getLineNumber();
+          : callSite.getColumnNumber();
       if (!sourceURL || !line || !col) {
         // Skip eval etc. without source url. They don't have location.
         continue;
@@ -412,12 +412,19 @@ export function parseSourceFromOwnerStack(error: Error): Source | null {
   let stack;
   try {
     stack = error.stack;
+  } catch (e) {
+    // $FlowFixMe[incompatible-type] It does accept undefined.
+    Error.prepareStackTrace = undefined;
+    stack = error.stack;
   } finally {
     Error.prepareStackTrace = previousPrepare;
   }
   if (collectedLocation !== null) {
     return collectedLocation;
   }
+  if (stack == null) {
+    return null;
+  }
   // Fallback to parsing the string form.
   const componentStack = formatOwnerStackString(stack);
   return parseSourceFromComponentStack(componentStack);
Repository: vuejs/vue
Pull request: test(observe): remove unused test code

<!--
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
- [x] Refactor
- [ ] Build-related changes
- [ ] Other, please describe:

**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:**

- [ ] 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:**

In the `observing object prop change on defined property` test case, maybe we do not need to mock a watcher which was not used.


Changed files:
filename: test/unit/modules/observer/observer.spec.js
patch: @@ -226,19 +226,7 @@ describe('Observer', () => {
     })
 
     observe(obj)
-    // mock a watcher!
-    const watcher = {
-      deps: [],
-      addDep: function (dep) {
-        this.deps.push(dep)
-        dep.addSub(this)
-      },
-      update: jasmine.createSpy()
-    }
-    // collect dep
-    Dep.target = watcher
     expect(obj.a).toBe(2) // Make sure 'this' is preserved
-    Dep.target = null
     obj.a = 3
     expect(obj.val).toBe(3) // make sure 'setter' was called
     obj.val = 5
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -209,6 +209,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/bestvpn_co.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="http://en.shopware.com/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/shopware_ag.svg">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>

filename: README.md
patch: @@ -214,6 +214,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/bestvpn_co.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="http://en.shopware.com/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/shopware_ag.svg">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>
Repository: ggml-org/llama.cpp
Pull request: sycl : fix for untransposed GDA recurrent state

cont #20443

Changed files:
filename: ggml/src/ggml-sycl/gated_delta_net.cpp
patch: @@ -55,7 +55,7 @@ void gated_delta_net_sycl(const float *     q,
 #pragma unroll
     for (int r = 0; r < rows_per_lane; r++) {
         const int i = r * warp_size + lane;
-        s_shard[r]  = curr_state[i * S_v + col];
+        s_shard[r]  = curr_state[col * S_v + i];
     }
 
     for (int t = 0; t < n_tokens; t++) {
@@ -137,7 +137,7 @@ void gated_delta_net_sycl(const float *     q,
 #pragma unroll
     for (int r = 0; r < rows_per_lane; r++) {
         const int i          = r * warp_size + lane;
-        state[i * S_v + col] = s_shard[r];
+        state[col * S_v + i] = s_shard[r];
     }
 }
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -204,6 +204,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/passionate_people.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://www.bestvpn.co/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/bestvpn_co.png">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>

filename: README.md
patch: @@ -209,6 +209,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/passionate_people.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://www.bestvpn.co/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/bestvpn_co.png">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>
Repository: huggingface/transformers
Pull request: Make bot don't fail the commands 

# What does this PR do?

Let's not fail if bot can't fix

Changed files:
filename: .github/workflows/pr-repo-consistency-bot.yml
patch: @@ -153,6 +153,9 @@ jobs:
       - name: Run checks with trusted script
         id: run_checks
         run: |
+          # Continue on errors (like Makefile's - prefix)
+          set +e
+ 
           # Security: Copy trusted scripts from main branch and run commands explicitly (not via make)
           # to avoid executing potentially malicious Makefile or scripts from the PR
           cp setup.py pr-repo/setup.py
Repository: facebook/react
Pull request: [devtools] fix: support optionality of structured stack trace function name

Follow-up to https://github.com/facebook/react/pull/33680.

Turns out `.getFunctionName` not always returns string.

Changed files:
filename: packages/react-devtools-shared/src/backend/utils/index.js
patch: @@ -360,8 +360,9 @@ function collectStackTrace(
     const callSite = structuredStackTrace[i];
     const name = callSite.getFunctionName();
     if (
-      name.includes('react_stack_bottom_frame') ||
-      name.includes('react-stack-bottom-frame')
+      name != null &&
+      (name.includes('react_stack_bottom_frame') ||
+        name.includes('react-stack-bottom-frame'))
     ) {
       // We pick the last frame that matches before the bottom frame since
       // that will be immediately inside the component as opposed to some helper.
Repository: huggingface/transformers
Pull request: Yet another fix

# What does this PR do?

Yet another fix

Changed files:
filename: .github/workflows/pr-repo-consistency-bot.yml
patch: @@ -133,21 +133,22 @@ jobs:
       - name: Fetch and checkout PR code manually
         env:
           PR_HEAD_REPO_FULL_NAME: ${{ needs.get-pr-info.outputs.PR_HEAD_REPO_FULL_NAME }}
+          PR_HEAD_REF: ${{ needs.get-pr-info.outputs.PR_HEAD_REF }}
           PR_HEAD_SHA: ${{ needs.check-timestamps.outputs.VERIFIED_PR_HEAD_SHA }}
         run: |
           # Create separate directory for PR code
           mkdir -p pr-repo
           cd pr-repo
           
-          # Initialize git and fetch only the specific commit
+          # Initialize git and fetch with full history
           git init
           git remote add pr-origin https://github.com/${PR_HEAD_REPO_FULL_NAME}.git
-          git fetch --depth=1 pr-origin ${PR_HEAD_SHA}
+          git fetch pr-origin ${PR_HEAD_REF}
           git checkout ${PR_HEAD_SHA}
 
           # Also fetch main branch from upstream for comparison (required by `check_modular_conversion`)
           git remote add upstream https://github.com/${{ github.repository }}.git
-          git fetch --depth=1 upstream main:main
+          git fetch upstream main:main
 
       - name: Run checks with trusted script
         id: run_checks
Repository: ollama/ollama
Pull request: Adding Writeopia to Ollama in Readme

Adding Writeopia (https://writeopia.io)

Changed files:
filename: README.md
patch: @@ -395,6 +395,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Ellama](https://github.com/zeozeozeo/ellama) (Friendly native app to chat with an Ollama instance)
 - [screenpipe](https://github.com/mediar-ai/screenpipe) Build agents powered by your screen history
 - [Ollamb](https://github.com/hengkysteen/ollamb) (Simple yet rich in features, cross-platform built with Flutter and designed for Ollama. Try the [web demo](https://hengkysteen.github.io/demo/ollamb/).)
+- [Writeopia](https://github.com/Writeopia/Writeopia) (Text editor with integration with Ollama)
 
 ### Cloud