helloadhavan/github_issues huggingface dataset:
Repository: nodejs/node
Pull request: tools: fix riscv64 build failed

<!--
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.
-->
fix https://github.com/nodejs/node/issues/52678


Changed files:
filename: tools/v8_gypfiles/v8.gyp
patch: @@ -1176,6 +1176,23 @@
           'sources': [
             '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn"  "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")',
           ],
+          'conditions': [
+            ['v8_enable_webassembly==1', {
+              'conditions': [
+                ['((_toolset=="host" and host_arch=="riscv64" or _toolset=="target" and target_arch=="riscv64") and (OS=="linux")) or ((_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux"))', {
+                  'sources': [
+                    '<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',
+                    '<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',
+                  ],
+                }],
+                ['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux")', {
+                  'sources': [
+                    '<(V8_ROOT)/src/trap-handler/handler-outside-simulator.cc',
+                  ],
+                }],
+              ],
+            }],
+          ],
         }],
         ['v8_target_arch=="loong64"', {
           'sources': [
Repository: vercel/next.js
Pull request: [backport] Ensure setAssetPrefix updates config instance 

Backports https://github.com/vercel/next.js/pull/82160 to our next-15-4 release branch

Changed files:
filename: packages/next/src/server/base-server.ts
patch: @@ -1707,7 +1707,8 @@ export default abstract class Server<
   ): Promise<void>
 
   public setAssetPrefix(prefix?: string): void {
-    this.renderOpts.assetPrefix = prefix ? prefix.replace(/\/$/, '') : ''
+    this.nextConfig.assetPrefix = prefix ? prefix.replace(/\/$/, '') : ''
+    this.renderOpts.assetPrefix = this.nextConfig.assetPrefix
   }
 
   protected prepared: boolean = false

filename: test/e2e/app-dir/asset-prefix-absolute/asset-prefix-absolute-no-path.test.ts
patch: @@ -0,0 +1,32 @@
+import { nextTestSetup } from 'e2e-utils'
+
+describe('app-dir absolute assetPrefix', () => {
+  const { next } = nextTestSetup({
+    files: __dirname,
+    nextConfig: {
+      assetPrefix: 'https://example.vercel.sh/',
+    },
+  })
+
+  it('bundles should return 200 on served assetPrefix', async () => {
+    const $ = await next.render$('/')
+
+    let bundles = []
+    for (const script of $('script').toArray()) {
+      const { src } = script.attribs
+      if (src?.includes('https://example.vercel.sh/_next/static')) {
+        bundles.push(src)
+      }
+    }
+
+    expect(bundles.length).toBeGreaterThan(0)
+
+    for (const src of bundles) {
+      // Remove hostname to check if pathname is still used for serving the bundles
+      const bundlePathWithoutHost = decodeURI(new URL(src).pathname)
+      const { status } = await next.fetch(bundlePathWithoutHost)
+
+      expect(status).toBe(200)
+    }
+  })
+})

filename: test/e2e/app-dir/asset-prefix-absolute/asset-prefix-absolute.test.ts
patch: @@ -3,6 +3,9 @@ import { nextTestSetup } from 'e2e-utils'
 describe('app-dir absolute assetPrefix', () => {
   const { next } = nextTestSetup({
     files: __dirname,
+    nextConfig: {
+      assetPrefix: 'https://example.vercel.sh/custom-asset-prefix',
+    },
   })
 
   it('bundles should return 200 on served assetPrefix', async () => {

filename: test/e2e/app-dir/asset-prefix-absolute/next.config.js
patch: @@ -1,3 +0,0 @@
-module.exports = {
-  assetPrefix: 'https://example.vercel.sh/custom-asset-prefix',
-}
Repository: ggml-org/llama.cpp
Pull request: ci : disable ccache for android

Due to [impending updated eviction policy](https://github.blog/changelog/2025-09-29-new-date-for-enforcement-of-cache-eviction-policy/) we need to trim down our Actions Cache. One of the largest offenders is the android build ccache which claim 400MB on every build and never has any cache hits, so effectively useless:

https://github.com/ggml-org/llama.cpp/actions/runs/18123052287/job/51571820863
https://github.com/ggml-org/llama.cpp/actions/runs/18092686960/job/51477080980

Changed files:
filename: .github/workflows/build.yml
patch: @@ -1222,11 +1222,12 @@ jobs:
       - name: Clone
         uses: actions/checkout@v4
 
-      - name: ccache
-        uses: ggml-org/ccache-action@v1.2.16
-        with:
-          key: android-build
-          evict-old-files: 1d
+      # Disabled due to size (400MB) and always 0 cache hits
+      # - name: ccache
+      #   uses: ggml-org/ccache-action@v1.2.16
+      #   with:
+      #     key: android-build
+      #     evict-old-files: 1d
 
       - name: Set up JDK
         uses: actions/setup-java@v3
Repository: denoland/deno
Pull request: fix(ext/node): throw invalid state from `getAuthTag`

Part 1 towards enabling `parallel/test-crypto-authenticated.js`

Ref https://github.com/denoland/deno/issues/29637


Changed files:
filename: ext/node/polyfills/internal/crypto/cipher.ts
patch: @@ -47,6 +47,7 @@ import {
   isAnyArrayBuffer,
   isArrayBufferView,
 } from "ext:deno_node/internal/util/types.ts";
+import { ERR_CRYPTO_INVALID_STATE } from "ext:deno_node/internal/errors.ts";
 
 const FastBuffer = Buffer[SymbolSpecies];
 
@@ -226,7 +227,10 @@ export class Cipheriv extends Transform implements Cipher {
   }
 
   getAuthTag(): Buffer {
-    return this.#authTag!;
+    if (!this.#authTag) {
+      throw new ERR_CRYPTO_INVALID_STATE("getAuthTag");
+    }
+    return this.#authTag;
   }
 
   setAAD(
Repository: vercel/next.js
Pull request: [test] revert config change in hello-world test

revert hello-world test's `next.config.js` change introduced in #82069 

Changed files:
filename: test/e2e/app-dir/hello-world/next.config.js
patch: @@ -1,10 +1,6 @@
 /**
  * @type {import('next').NextConfig}
  */
-const nextConfig = {
-  experimental: {
-    cacheComponents: true,
-  },
-}
+const nextConfig = {}
 
 module.exports = nextConfig
Repository: ggml-org/llama.cpp
Pull request: ci : fix ccache key for ubuntu-cpu-cmake

Set individual ccache keys per build for `ubuntu-cpu-cmake`, this is what has been causing `(ILLEGAL)` CI failures...

Changed files:
filename: .github/workflows/build.yml
patch: @@ -207,7 +207,7 @@ jobs:
       - name: ccache
         uses: ggml-org/ccache-action@v1.2.16
         with:
-          key: ubuntu-cpu-cmake
+          key: ubuntu-cpu-cmake-${{ matrix.build }}
           evict-old-files: 1d
 
       - name: Build Dependencies

filename: .github/workflows/release.yml
patch: @@ -150,7 +150,7 @@ jobs:
       - name: ccache
         uses: ggml-org/ccache-action@v1.2.16
         with:
-          key: ubuntu-cpu-cmake
+          key: ubuntu-cpu-cmake-${{ matrix.build }}
           evict-old-files: 1d
 
       - name: Dependencies
Repository: nodejs/node
Pull request: lib: prefer symbol to number in webidl `type` function

It seems to be more suited.
<!--
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: lib/internal/webidl.js
patch: @@ -16,6 +16,7 @@ const {
   ObjectPrototypeIsPrototypeOf,
   SafeSet,
   String,
+  Symbol,
   SymbolIterator,
   TypeError,
 } = primordials;
@@ -30,14 +31,14 @@ const { kEmptyObject } = require('internal/util');
 
 const converters = { __proto__: null };
 
-const UNDEFINED = 1;
-const BOOLEAN = 2;
-const STRING = 3;
-const SYMBOL = 4;
-const NUMBER = 5;
-const BIGINT = 6;
-const NULL = 7;
-const OBJECT = 8;
+const UNDEFINED = Symbol('undefined');
+const BOOLEAN = Symbol('boolean');
+const STRING = Symbol('string');
+const SYMBOL = Symbol('symbol');
+const NUMBER = Symbol('number');
+const BIGINT = Symbol('bigint');
+const NULL = Symbol('null');
+const OBJECT = Symbol('object');
 
 /**
  * @see https://webidl.spec.whatwg.org/#es-any
Repository: vercel/next.js
Pull request: Backport: Turbopack: update mimalloc (#81993)

We're heard about significant real-world reductions in memory usage from this change in canary. It seem relatively low-risk, so IMO we should backport it.

Original PR: https://github.com/vercel/next.js/pull/81993

Closes PACK-5145

Changed files:
filename: Cargo.lock
patch: @@ -3655,9 +3655,9 @@ dependencies = [
 
 [[package]]
 name = "libmimalloc-sys"
-version = "0.1.38"
+version = "0.1.43"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6"
+checksum = "bf88cd67e9de251c1781dbe2f641a1a3ad66eaae831b8a2c38fbdc5ddae16d4d"
 dependencies = [
  "cc",
  "libc",
@@ -4034,9 +4034,9 @@ dependencies = [
 
 [[package]]
 name = "mimalloc"
-version = "0.1.42"
+version = "0.1.47"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176"
+checksum = "b1791cbe101e95af5764f06f20f6760521f7158f69dbf9d6baf941ee1bf6bc40"
 dependencies = [
  "libmimalloc-sys",
 ]

filename: turbopack/crates/turbo-tasks-malloc/Cargo.toml
patch: @@ -10,10 +10,10 @@ autobenches = false
 bench = false
 
 [target.'cfg(not(any(target_os = "linux", target_family = "wasm", target_env = "musl")))'.dependencies]
-mimalloc = { version = "0.1.42", features = [], optional = true }
+mimalloc = { version = "0.1.47", features = [], optional = true }
 
 [target.'cfg(all(target_os = "linux", not(any(target_family = "wasm", target_env = "musl"))))'.dependencies]
-mimalloc = { version = "0.1.42", features = [
+mimalloc = { version = "0.1.47", features = [
   "local_dynamic_tls",
 ], optional = true }
Repository: electron/electron
Pull request: build: fixup release builds

Backport of #46228

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/build-electron/action.yml
patch: @@ -185,7 +185,7 @@ runs:
       if: ${{ inputs.is-release == 'true' }}
       run: |
         cd src
-        gn gen out/ffmpeg --args="import(\"//electron/build/args/ffmpeg.gn\") use_remoteexec=true $GN_EXTRA_ARGS"
+        e d gn gen out/ffmpeg --args="import(\"//electron/build/args/ffmpeg.gn\") use_remoteexec=true $GN_EXTRA_ARGS"
         e build --target electron:electron_ffmpeg_zip -C ../../out/ffmpeg -j $NUMBER_OF_NINJA_PROCESSES
     - name: Generate Hunspell Dictionaries ${{ inputs.step-suffix }}
       shell: bash

filename: .github/workflows/macos-publish.yml
patch: @@ -39,6 +39,7 @@ jobs:
       uses: ./src/electron/.github/actions/checkout
       with:
         generate-sas-token: 'true'
+        target-platform: macos
 
   publish-x64-darwin:
     uses: ./.github/workflows/pipeline-segment-electron-build.yml

filename: .github/workflows/windows-publish.yml
patch: @@ -25,7 +25,8 @@ jobs:
       image: ghcr.io/electron/build:${{ inputs.build-image-sha }}
       options: --user root --device /dev/fuse --cap-add SYS_ADMIN
       volumes:
-        - /mnt/cross-instance-cache:/mnt/cross-instance-cache
+        - /mnt/win-cache:/mnt/win-cache
+        - /var/run/sas:/var/run/sas
     env:
       GCLIENT_EXTRA_ARGS: '--custom-var=checkout_win=True'
       TARGET_OS: 'win'
@@ -40,6 +41,9 @@ jobs:
         fetch-depth: 0
     - name: Checkout & Sync & Save
       uses: ./src/electron/.github/actions/checkout
+      with:
+        generate-sas-token: 'true'
+        target-platform: win
 
   publish-x64-win:
     uses: ./.github/workflows/pipeline-segment-electron-build.yml
Repository: ggml-org/llama.cpp
Pull request: common : disable progress bar without a tty


Changed files:
filename: common/arg.cpp
patch: @@ -54,6 +54,13 @@
 #endif
 #define LLAMA_MAX_URL_LENGTH 2084 // Maximum URL Length in Chrome: 2083
 
+// isatty
+#if defined(_WIN32)
+#include <io.h>
+#else
+#include <unistd.h>
+#endif
+
 using json = nlohmann::ordered_json;
 
 std::initializer_list<enum llama_example> mmproj_examples = {
@@ -100,6 +107,14 @@ static void write_file(const std::string & fname, const std::string & content) {
     }
 }
 
+static bool is_output_a_tty() {
+#if defined(_WIN32)
+    return _isatty(_fileno(stdout));
+#else
+    return isatty(1);
+#endif
+}
+
 common_arg & common_arg::set_examples(std::initializer_list<enum llama_example> examples) {
     this->examples = std::move(examples);
     return *this;
@@ -652,7 +667,11 @@ static std::string show_masked_url(const common_url & parts) {
     return parts.scheme + "://" + (parts.user.empty() ? "" : "****:****@") + parts.host + parts.path;
 }
 
-static void print_progress(size_t current, size_t total) { // TODO isatty
+static void print_progress(size_t current, size_t total) {
+    if (!is_output_a_tty()) {
+        return;
+    }
+
     if (!total) {
         return;
     }
Repository: facebook/react
Pull request: Add ignoreList to our source maps

All our sources are considered third party and should be hidden in stack traces unless expanded. Our internals aren't actionable anyway.

This doesn't really do much without tooling that actually forwards this to new generated source maps, in which case they probably just add them to ignorelist anyway.

Changed files:
filename: scripts/rollup/build.js
patch: @@ -575,6 +575,9 @@ function getPlugins(
           sourcemapAfterClosure.sources = [preMinifiedFilename];
           sourcemapAfterClosure.file = filename;
 
+          // All our code is considered "third-party" and should be ignored by default.
+          sourcemapAfterClosure.ignoreList = [0];
+
           // We'll write the pre-minified source to disk as a separate file.
           // Because it sits on disk, there's no need to have it in the `sourcesContent` array.
           // That also makes the file easier to read, and available for use by scripts.
Repository: facebook/react
Pull request: Enable more noop RN flags


Changed files:
filename: packages/shared/forks/ReactFeatureFlags.native-fb.js
patch: @@ -88,7 +88,7 @@ export const enableFloat = true;
 
 export const useModernStrictMode = false;
 export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
-export const enableFizzExternalRuntime = false;
+export const enableFizzExternalRuntime = true;
 
 export const enableAsyncActions = false;
 export const enableUseDeferredValueInitialArg = true;

filename: packages/shared/forks/ReactFeatureFlags.native-oss.js
patch: @@ -22,7 +22,7 @@ export const enableProfilerNestedUpdateScheduledHook = false;
 export const enableUpdaterTracking = __PROFILE__;
 export const enableCache = false;
 export const enableLegacyCache = false;
-export const enableCacheElement = false;
+export const enableCacheElement = true;
 export const enableFetchInstrumentation = false;
 export const enableFormActions = true; // Doesn't affect Native
 export const enableBinaryFlight = true;
@@ -74,7 +74,7 @@ export const enableFloat = true;
 
 export const useModernStrictMode = false;
 export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
-export const enableFizzExternalRuntime = false;
+export const enableFizzExternalRuntime = true;
 export const enableDeferRootSchedulingToMicrotask = false;
 export const enableInfiniteRenderLoopDetection = false;
 

filename: packages/shared/forks/ReactFeatureFlags.test-renderer.js
patch: @@ -74,7 +74,7 @@ export const enableFloat = true;
 
 export const useModernStrictMode = false;
 export const enableDO_NOT_USE_disableStrictPassiveEffect = false;
-export const enableFizzExternalRuntime = false;
+export const enableFizzExternalRuntime = true;
 export const enableDeferRootSchedulingToMicrotask = true;
 
 export const enableAsyncActions = true;
Repository: facebook/react
Pull request: Land enableAsyncActions enableFormActions in www


Changed files:
filename: packages/shared/forks/ReactFeatureFlags.www-dynamic.js
patch: @@ -24,8 +24,6 @@ export const forceConcurrentByDefaultForTesting = __VARIANT__;
 export const enableUnifiedSyncLane = __VARIANT__;
 export const enableTransitionTracing = __VARIANT__;
 export const enableDeferRootSchedulingToMicrotask = __VARIANT__;
-export const enableAsyncActions = __VARIANT__;
-export const enableFormActions = __VARIANT__;
 export const alwaysThrottleRetries = __VARIANT__;
 export const enableDO_NOT_USE_disableStrictPassiveEffect = __VARIANT__;
 export const enableUseDeferredValueInitialArg = __VARIANT__;

filename: packages/shared/forks/ReactFeatureFlags.www.js
patch: @@ -27,8 +27,6 @@ export const {
   enableRetryLaneExpiration,
   enableTransitionTracing,
   enableDeferRootSchedulingToMicrotask,
-  enableAsyncActions,
-  enableFormActions,
   alwaysThrottleRetries,
   enableDO_NOT_USE_disableStrictPassiveEffect,
   disableSchedulerTimeoutInWorkLoop,
@@ -61,6 +59,8 @@ export const enableUseMemoCacheHook = true;
 export const enableUseEffectEventHook = true;
 export const enableClientRenderFallbackOnTextMismatch = false;
 export const enableFilterEmptyStringAttributesDOM = true;
+export const enableFormActions = true;
+export const enableAsyncActions = true;
 
 // Logs additional User Timing API marks for use with an experimental profiling tool.
 export const enableSchedulingProfiler: boolean =
Repository: nodejs/node
Pull request: build: fix not valid json in coverage

Fixes https://github.com/nodejs/node/actions/runs/11107498508/job/30858220494 and on current main

```
Unexpected token ']', ..."ps/**",
  ],
  "repo"... is not valid JSON
```
<!--
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.
-->

Refs: https://github.com/nodejs/node/pull/53256#discussion_r1781121119

Changed files:
filename: .nycrc
patch: @@ -4,7 +4,7 @@
     "test/**",
     "tools/**",
     "benchmark/**",
-    "deps/**",
+    "deps/**"
   ],
   "reporter": [
     "html",