helloadhavan/github_issues huggingface dataset:
Repository: electron/electron
Pull request: fix: rename RUNNER_NAME to MATRIX_RUNNER in disk cleanup workflow

Shoutout to GitHub Actions for silently overriding `RUNNER_NAME` if you try use that variable name 🙃 

This should actually use the right variable now.

_Written by Claude and reviewed by @MarshallOfSound before opening PR_

Notes: no-notes

Changed files:
filename: .github/workflows/macos-disk-cleanup.yml
patch: @@ -59,7 +59,7 @@ jobs:
           DD_API_KEY: ${{ secrets.DD_API_KEY }}
           FREE_BEFORE: ${{ steps.disk-before.outputs.free_kb }}
           FREE_AFTER: ${{ steps.disk-after.outputs.free_kb }}
-          RUNNER_NAME: ${{ matrix.runner }}
+          MATRIX_RUNNER: ${{ matrix.runner }}
         run: |
           TIMESTAMP=$(date +%s)
           FREE_BEFORE_GB=$(echo "scale=2; $FREE_BEFORE / 1024 / 1024" | bc)
@@ -81,21 +81,21 @@ jobs:
                 "points": [{"timestamp": ${TIMESTAMP}, "value": ${FREE_BEFORE_GB}}],
                 "type": 3,
                 "unit": "gigabyte",
-                "tags": ["runner:${RUNNER_NAME}", "platform:macos"]
+                "tags": ["runner:${MATRIX_RUNNER}", "platform:macos"]
               },
               {
                 "metric": "electron.macos.disk.free_space_after_cleanup_gb",
                 "points": [{"timestamp": ${TIMESTAMP}, "value": ${FREE_AFTER_GB}}],
                 "type": 3,
                 "unit": "gigabyte",
-                "tags": ["runner:${RUNNER_NAME}", "platform:macos"]
+                "tags": ["runner:${MATRIX_RUNNER}", "platform:macos"]
               },
               {
                 "metric": "electron.macos.disk.space_freed_gb",
                 "points": [{"timestamp": ${TIMESTAMP}, "value": ${SPACE_FREED_GB}}],
                 "type": 3,
                 "unit": "gigabyte",
-                "tags": ["runner:${RUNNER_NAME}", "platform:macos"]
+                "tags": ["runner:${MATRIX_RUNNER}", "platform:macos"]
               }
             ]
           }
Repository: huggingface/transformers
Pull request: [`CI`] Fix copies

Previous PR merged without syncing with main --> new model --> out of sync

Changed files:
filename: src/transformers/models/nanochat/modeling_nanochat.py
patch: @@ -30,6 +30,7 @@
 from ...activations import ACT2FN
 from ...cache_utils import Cache, DynamicCache
 from ...generation import GenerationMixin
+from ...integrations import use_kernel_func_from_hub
 from ...masking_utils import create_causal_mask
 from ...modeling_layers import GradientCheckpointingLayer
 from ...modeling_outputs import BaseModelOutputWithPast, CausalLMOutputWithPast
@@ -121,6 +122,7 @@ def forward(self, x, position_ids):
         return cos.to(dtype=x.dtype), sin.to(dtype=x.dtype)
 
 
+@use_kernel_func_from_hub("rotary_pos_emb")
 def apply_rotary_pos_emb(q, k, cos, sin, position_ids=None, unsqueeze_dim=1):
     """Applies Rotary Position Embedding to the query and key tensors.
 
@@ -218,6 +220,7 @@ def __init__(self, config: NanoChatConfig, layer_idx: int):
         self.o_proj = nn.Linear(
             config.num_attention_heads * self.head_dim, config.hidden_size, bias=config.attention_bias
         )
+        self.rotary_fn = apply_rotary_pos_emb
 
         self.q_norm = NanoChatRMSNorm(eps=config.rms_norm_eps)
         self.k_norm = NanoChatRMSNorm(eps=config.rms_norm_eps)
Repository: ollama/ollama
Pull request: api: remove unused create fields

These fields are deprecated, but specifying them will not do anything. Removing them as the other deprecated fields will still work, but these do not, so they dont match our existing pattern.

Changed files:
filename: discover/gpu.go
patch: @@ -542,7 +542,6 @@ func FindGPULibs(baseLibName string, defaultPatterns []string) []string {
 	patterns = append(patterns, defaultPatterns...)
 	slog.Debug("gpu library search", "globs", patterns)
 	for _, pattern := range patterns {
-
 		// Nvidia PhysX known to return bogus results
 		if strings.Contains(pattern, "PhysX") {
 			slog.Debug("skipping PhysX cuda library path", "path", pattern)
Repository: facebook/react
Pull request: [compiler] Fix copyright script


Don't try to open directories
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33003).
* #33004
* __->__ #33003
* #33002

Changed files:
filename: compiler/scripts/copyright.js
patch: @@ -51,6 +51,9 @@ if (hasErrors) {
 }
 
 function processFile(file) {
+  if (fs.lstatSync(file).isDirectory()) {
+    return;
+  }
   let source = fs.readFileSync(file, 'utf8');
 
   if (source.indexOf(META_COPYRIGHT_COMMENT_BLOCK) === 0) {
Repository: vercel/next.js
Pull request: [test] Add a failing test for cycle serialization in segment prefetches

Requires a fix in React to pass (possibly https://github.com/facebook/react/pull/35471).

closes #86401

Changed files:
filename: test/e2e/app-dir/segment-cache/basic/app/cycle/client.tsx
patch: @@ -0,0 +1,9 @@
+'use client'
+
+export function ClientComponent({ testProp }: { testProp: { self: unknown } }) {
+  return (
+    <div id="cycle-check">
+      {testProp.self === testProp ? 'Cycle resolved' : 'Cycle broken'}
+    </div>
+  )
+}

filename: test/e2e/app-dir/segment-cache/basic/app/cycle/page.tsx
patch: @@ -0,0 +1,8 @@
+import { ClientComponent } from './client'
+
+export default async function Page() {
+  const cycle = { self: null as unknown }
+  cycle.self = cycle
+
+  return <ClientComponent testProp={cycle} />
+}

filename: test/e2e/app-dir/segment-cache/basic/app/page.tsx
patch: @@ -1,5 +1,14 @@
 import { LinkAccordion } from '../components/link-accordion'
 
 export default function Page() {
-  return <LinkAccordion href="/test">Go to test page</LinkAccordion>
+  return (
+    <>
+      <p>
+        <LinkAccordion href="/test">Go to test page</LinkAccordion>
+      </p>
+      <p>
+        <LinkAccordion href="/cycle">Go to cycle page</LinkAccordion>
+      </p>
+    </>
+  )
 }

filename: test/e2e/app-dir/segment-cache/basic/segment-cache-basic.test.ts
patch: @@ -412,4 +412,43 @@ describe('segment cache (basic tests)', () => {
     const content = await page.textContent()
     expect(content).toContain('Cache Life Seconds Page')
   })
+
+  // TODO: Requires a fix in React.
+  it.failing(
+    'can handle circular references in client component props',
+    async () => {
+      let act: ReturnType<typeof createRouterAct>
+      const browser = await next.browser('/', {
+        beforePageLoad(page) {
+          act = createRouterAct(page)
+        },
+      })
+
+      // Reveal the link to trigger a prefetch.
+      const link = await act(
+        async () => {
+          await browser
+            .elementByCss('input[data-link-accordion="/cycle"]')
+            .click()
+          return browser.elementByCss('a[href="/cycle"]')
+        },
+        { includes: 'testProp' }
+      )
+
+      await act(
+        async () => {
+          await link.click()
+
+          // The page should render immediately because it was prefetched, and it
+          // should show the resolved cycle text.
+          expect(await browser.elementById('cycle-check').text()).toBe(
+            'Cycle resolved'
+          )
+        },
+        // No additional requests were required, because everything was
+        // prefetched.
+        'no-requests'
+      )
+    }
+  )
 })
Repository: vuejs/vue
Pull request: Make callback optional when providing context


<!--
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:

TypeScript compiler complains about `not assignable to parameter of type 'RenderCallback'`

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [x] No

<img width="593" alt="screen shot 2017-11-21 at 4 53 19 pm" src="https://user-images.githubusercontent.com/9264860/33079136-796adf92-cedd-11e7-9189-78461b817e63.png">



Changed files:
filename: packages/vue-server-renderer/types/index.d.ts
patch: @@ -18,6 +18,7 @@ interface Renderer {
 interface BundleRenderer {
   renderToString(callback: RenderCallback): void;
   renderToString(context: object, callback: RenderCallback): void;
+  renderToString(context: object): Promise<string>;
 
   renderToStream(context?: object): Readable;
 }
Repository: nodejs/node
Pull request: test: mark stringbytes-external-max flaky on AIX

Another one in the set of tests marked flaky on AIX under https://github.com/nodejs/node/pull/60565 - this is also exhibiting intermittent failing behaviour and is causing issues for PRs such as https://github.com/nodejs/node/pull/60962#issuecomment-3620423149 (which was on v24 so I'll backport to there once this is in)

Verifying it's level of flakiness in https://ci.nodejs.org/job/node-stress-single-test/628/ (Seems in the same ballpark as the others)

_Screenshot from https://ci.nodejs.org/job/node-test-commit-aix/60068/nodes=aix72-ppc64/testReport/addons/tringbytes-external-exceed-max/ :_
<img width="1380" height="1274" alt="image" src="https://github.com/user-attachments/assets/a787522e-2b63-4920-a99e-63803e9677be" />


<!--
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
 comparable to
(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/addons/addons.status
patch: @@ -23,6 +23,7 @@ register-signal-handler/test: PASS,FLAKY
 
 [$system==aix]
 # https://github.com/nodejs/node/issues/60494
+stringbytes-external-exceed-max/test-stringbytes-external-at-max: PASS,FLAKY
 stringbytes-external-exceed-max/test-stringbytes-external-exceed-max: PASS,FLAKY
 stringbytes-external-exceed-max/test-stringbytes-external-exceed-max-by-1-hex: PASS,FLAKY
 stringbytes-external-exceed-max/test-stringbytes-external-exceed-max-by-1-utf8: PASS,FLAKY
Repository: facebook/react
Pull request: [forgive][ez] Tweak logging

Just some tweaks

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33011).
* #33012
* __->__ #33011
* #33010

Changed files:
filename: compiler/packages/react-forgive/server/src/index.ts
patch: @@ -132,7 +132,7 @@ connection.onInitialized(() => {
 });
 
 documents.onDidChangeContent(async event => {
-  connection.console.info(`Changed: ${event.document.uri}`);
+  connection.console.info(`Compiling: ${event.document.uri}`);
   resetState();
   if (SUPPORTED_LANGUAGE_IDS.has(event.document.languageId)) {
     const text = event.document.getText();
@@ -143,8 +143,11 @@ documents.onDidChangeContent(async event => {
         options: compilerOptions,
       });
     } catch (err) {
+      connection.console.error('Failed to compile');
       if (err instanceof Error) {
-        connection.console.error(err.stack ?? '');
+        connection.console.error(err.stack ?? err.message);
+      } else {
+        connection.console.error(JSON.stringify(err, null, 2));
       }
     }
   }
@@ -192,7 +195,6 @@ connection.onCodeLensResolve(lens => {
 });
 
 connection.onCodeAction(params => {
-  connection.console.log('onCodeAction');
   const codeActions: Array<CodeAction> = [];
   for (const codeActionEvent of codeActionEvents) {
     if (
@@ -242,6 +244,7 @@ connection.onRequest(AutoDepsDecorationsRequest.type, async params => {
 });
 
 function resetState() {
+  connection.console.debug('Clearing state');
   compiledFns.clear();
   autoDepsDecorations = [];
   codeActionEvents = [];
Repository: electron/electron
Pull request: ci: don't build yarn modules for linux arm

Backport of #49031

See that PR for details.


Notes: <!-- 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 -->none


Changed files:
filename: .github/actions/install-dependencies/action.yml
patch: @@ -21,4 +21,11 @@ runs:
       if [ "$TARGET_ARCH" = "x86" ]; then
         export npm_config_arch="ia32"
       fi
-      node script/yarn.js install --immutable
+      # if running on linux arm skip yarn Builds
+      ARCH=$(uname -m)
+      if [ "$ARCH" = "armv7l" ]; then
+        echo "Skipping yarn build on linux arm"
+        node script/yarn.js install --immutable --mode=skip-build
+      else
+        node script/yarn.js install --immutable
+      fi
Repository: ollama/ollama
Pull request: examples: Update imports for deprecation

From the error message: Importing from langchain will no longer be supported as of langchain 0.2.0. Please import from langchain-community instead.

Changed files:
filename: examples/langchain-python-rag-document/main.py
patch: @@ -1,8 +1,8 @@
-from langchain.document_loaders import OnlinePDFLoader
-from langchain.vectorstores import Chroma
-from langchain.embeddings import GPT4AllEmbeddings
-from langchain import PromptTemplate
-from langchain.llms import Ollama
+from langchain_community.document_loaders import OnlinePDFLoader
+from langchain_community.vectorstores import Chroma
+from langchain_community.embeddings import GPT4AllEmbeddings
+from langchain_core.prompts import PromptTemplate
+from langchain_community.llms import Ollama
 from langchain.callbacks.manager import CallbackManager
 from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
 from langchain.chains import RetrievalQA
Repository: vuejs/vue
Pull request: fix reactive objects which are sealed

**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

I am using this helper method to seal my objects before passing them to Vue:

```
function makeReactiveAndSeal(obj) {
  if (!obj.__ob__) {
    Object.keys(obj).forEach((key) => {
      Vue.util.defineReactive(obj, key, obj[key]);
    });
  }
  Object.seal(obj);
}
```

This turns silent errors into nice verbose errors, for example when there is a mistake in a Vue template. The function changed by this PR is currently preventing this from working correctly.

Changed files:
filename: src/core/observer/traverse.js
patch: @@ -18,7 +18,7 @@ export function traverse (val: any) {
 function _traverse (val: any, seen: SimpleSet) {
   let i, keys
   const isA = Array.isArray(val)
-  if ((!isA && !isObject(val)) || !Object.isExtensible(val)) {
+  if ((!isA && !isObject(val)) || Object.isFrozen(val)) {
     return
   }
   if (val.__ob__) {
Repository: ollama/ollama
Pull request: Adding Yacana Multi-Agent Framework to the List of Community Integrations

**Adding Yacana Multi-Agent Framework to the List of Community Integrations**

Yacana is a user-friendly multi-agent framework designed to harness the power of local open-source LLMs. It offers a smooth learning curve while delivering powerful capabilities, such as brainstorming, workflow creation, and an industry-leading tool-calling success rate, even when using lightweight models (e.g., PHI). Yacana connects exclusively to Ollama as its inference server and is built on top of the Ollama Python library.

As the order of entries in the community integrations list appears to be non-sequential, I've added Yacana at the top. This allows for a fair rotation as new technologies are introduced.

Changed files:
filename: README.md
patch: @@ -431,6 +431,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [LangChain](https://python.langchain.com/docs/integrations/llms/ollama) and [LangChain.js](https://js.langchain.com/docs/integrations/chat/ollama/) with [example](https://js.langchain.com/docs/tutorials/local_rag/)
 - [Firebase Genkit](https://firebase.google.com/docs/genkit/plugins/ollama)
 - [crewAI](https://github.com/crewAIInc/crewAI)
+- [Yacana](https://remembersoftwares.github.io/yacana/) (User-friendly multi-agent framework for brainstorming and executing predetermined flows with built-in tool integration)
 - [Spring AI](https://github.com/spring-projects/spring-ai) with [reference](https://docs.spring.io/spring-ai/reference/api/chat/ollama-chat.html) and [example](https://github.com/tzolov/ollama-tools)
 - [LangChainGo](https://github.com/tmc/langchaingo/) with [example](https://github.com/tmc/langchaingo/tree/main/examples/ollama-completion-example)
 - [LangChain4j](https://github.com/langchain4j/langchain4j) with [example](https://github.com/langchain4j/langchain4j-examples/tree/main/ollama-examples/src/main/java)
Repository: nodejs/node
Pull request: doc: mark crypto.hash as stable

This API has been stable for the past year and it's used enough in the wild that we are unlikely to make any breaking changes without going semver-major. Mark it as stable.

<!--
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/crypto.md
patch: @@ -4526,13 +4526,14 @@ added:
  - v21.7.0
  - v20.12.0
 changes:
+  - version: REPLACEME
+    pr-url: https://github.com/nodejs/node/pull/60994
+    description: This API is no longer experimental.
   - version: v24.4.0
     pr-url: https://github.com/nodejs/node/pull/58121
     description: The `outputLength` option was added for XOF hash functions.
 -->
 
-> Stability: 1.2 - Release candidate
-
 * `algorithm` {string|undefined}
 * `data` {string|Buffer|TypedArray|DataView} When `data` is a
   string, it will be encoded as UTF-8 before being hashed. If a different
Repository: electron/electron
Pull request: ci: don't build yarn modules for linux arm

- Followup to #48243.  After the yarn v4 we occasionally see out of memory errors when testing on linux arm 32 bit.   This should fix those oom errors by building yarn modules for linux arm 32 bit.  We lose some test coverage doing so, but it is better than having to constantly rekick the testing jobs.

#### Description of Change

<!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.

Contributors guide: https://github.com/electron/electron/blob/main/CONTRIBUTING.md
-->

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included and stakeholders cc'd
- [x] `npm test` passes
- [x] [PR release notes](https://github.com/electron/clerk/blob/main/README.md) describe the change in a way relevant to app developers, and are [capitalized, punctuated, and past tense](https://github.com/electron/clerk/blob/main/README.md#examples).

#### Release Notes

Notes: <!-- 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 -->none


Changed files:
filename: .github/actions/install-dependencies/action.yml
patch: @@ -21,4 +21,11 @@ runs:
       if [ "$TARGET_ARCH" = "x86" ]; then
         export npm_config_arch="ia32"
       fi
-      node script/yarn.js install --immutable
+      # if running on linux arm skip yarn Builds
+      ARCH=$(uname -m)
+      if [ "$ARCH" = "armv7l" ]; then
+        echo "Skipping yarn build on linux arm"
+        node script/yarn.js install --immutable --mode=skip-build
+      else
+        node script/yarn.js install --immutable
+      fi
Repository: ollama/ollama
Pull request: Update README.md

New extention contribution

Changed files:
filename: README.md
patch: @@ -523,6 +523,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [AI Summmary Helper plugin](https://github.com/philffm/ai-summary-helper)
 - [TextCraft](https://github.com/suncloudsmoon/TextCraft) (Copilot in Word alternative using Ollama)
 - [Alfred Ollama](https://github.com/zeitlings/alfred-ollama) (Alfred Workflow)
+- [TextLLaMA](https://github.com/adarshM84/TextLLaMA) A Chrome Extension that helps you write emails, correct grammar, and translate into any language
 
 ### Supported backends