7-day edition

Sep 11, 2026 – Sep 17, 2026

The edition exactly as it was published. Nothing here is re-selected on a later reading.

Sep 18, 20265 reads · 510 merged PRs screened

language design

react/react · #37636

Files changed →View PR ↗

[Flight] Server References for arbitrary object typesJavaScript · 491 + / 145

Introduces 12 new declarations in packages/react-server/src/ReactFlightReplyServer.js.

Adds new language design rather than adjusting what was there. Tests changed with it, with code of their own.

packages/react-server/src/ReactFlightReplyServer.js · 27 files

@@ -496,92 +477,180 @@ function loadServerReference<A: Iterable<any>, T>(     if (bound instanceof ReactPromise) {       serverReferencePromise = Promise.resolve(bound);     } else {-      const resolvedValue = requireModule(serverReference) as any;-      // Resolve the cached promise synchronously.-      const initializedPromise: InitializedChunk<T> = blockedPromise as any;-      initializedPromise.status = INITIALIZED;-      initializedPromise.value = resolvedValue;-      initializedPromise.reason = null;-      return resolvedValue;+      // Nothing to preload and no bound arguments to wait for, so we can+      // resolve the reference synchronously.+      const value = requireServerReference(response, serverReference) as any;+      resolveServerReferenceChunk(response, blockedPromise, value);+      return readServerReference(+        response,+        blockedPromise,+        parentObject,+        key,+      ) as any;     }   } else if (bound instanceof ReactPromise) {     serverReferencePromise = Promise.all([serverReferencePromise, bound]);   } -  let handler: InitializationHandler;-  if (initializingHandler) {-    handler = initializingHandler;-    handler.deps++;-  } else {-    handler = initializingHandler = {-      chunk: null,-      value: null,

runtime

nodejs/node · #65748

Files changed →View PR ↗

vfs: add --vfs-mount and --vfs-load startup flagsJavaScript · 317 + / 5

Introduces 6 new declarations in lib/internal/process/pre_execution.js.

Adds new runtime rather than adjusting what was there. Tests changed with it, with code of their own.

lib/internal/process/pre_execution.js · 17 files

@@ -201,6 +213,103 @@ function setupVmModules() {   } } +let vfsMounted = false;+let vfsLoadRoot;++// --vfs-mount and --vfs-load append to one list, so `mounts` is already in the+// order the command line gave, and the entry point comes from whichever of them+// --vfs-load contributed. The parser stores plain strings and cannot record+// which flag produced an entry, so its position is recovered from execArgv -+// the command line's own node options, in order. NODE_OPTIONS may add mounts+// but not a --vfs-load, so anything it contributed sits ahead of these.+// Returns -1 when no --vfs-load was given.+function getVfsLoadIndex(mountCount) {+  if (!getOptionValue('[vfs_load_set]')) return -1;++  const execArgv = process.execArgv;+  let seen = 0;+  let found = -1;+  for (let i = 0; i < execArgv.length; i++) {+    const arg = execArgv[i];+    let name = arg;+    const eq = StringPrototypeIndexOf(arg, '=');+    let spaced = false;+    if (eq !== -1) {+      name = StringPrototypeSlice(arg, 0, eq);+    } else {+      // `--vfs-mount value`: the value is the next argument, so skip it rather+      // than counting it as a flag of its own.+      spaced = true;+    }+    if (name !== '--vfs-mount' && name !== '--vfs-load') continue;+    if (name === '--vfs-load') found = seen;

core implementation

NVIDIA-NeMo/Speech · #16280

Files changed →View PR ↗

fix(speechlm2): harden conversion and index reusePython · 69 + / 19

Introduces 1 new declaration in scripts/dataloading/convert_indexes_to_idxpack.py.

Adds new core implementation rather than adjusting what was there. Tests changed with it, with code of their own.

scripts/dataloading/convert_indexes_to_idxpack.py · 6 files

@@ -896,20 +900,28 @@ def _reuse_native_tar_ordinal_map_with_pack(     ).key     source_manifest = source_pack.collection(source_manifest_key)     source_route = source_pack.collection(task.source_map.key)-    summary = _compare_native_tar_route_signatures(-        source_manifest,-        source_route,-        task.source_map,-        task.target_map,-        indexes_root=task.indexes_root,-    )+    try:+        summary = _compare_native_tar_route_signatures(+            source_manifest,+            source_route,+            task.source_map,+            task.target_map,+            indexes_root=task.indexes_root,+        )+    except NativeTarRouteSignatureMismatch as error:+        # Signature comparison completes before any route payload is copied, so+        # this target can safely fall back to a fresh build without retaining a+        # partial reused array. All other exceptions remain fatal.+        if any(path.exists() for path in task.output_paths):+            raise RuntimeError("Native-tar route mismatch left a partial reused array") from error+        return task.map_index, None, str(error)     _copy_packed_array_shards(source_route, task.output_paths)-    return task.map_index, summary+    return task.map_index, summary, None   def _reuse_native_tar_ordinal_map_worker(     task: _NativeTarRouteReuseTask,-) -> tuple[int, IndexPackRecordValidationSummary]:

language design

denoland/deno · #36835

Files changed →View PR ↗

fix(cli): preserve double dash before the entrypointRust · 188 + / 0

Introduces 8 new declarations in libs/cli_parser/src/tests.rs.

Adds new language design rather than adjusting what was there. Read the linked PR for the surrounding test context.

libs/cli_parser/src/tests.rs · 3 files

@@ -1195,6 +1214,48 @@ fn eval_print() {   assert_eq!(r.get_one("code_arg"), Some("1+1")); } +#[test]+fn eval_double_dash_before_code() {+  let r = parse(+    &TEST_ROOT,+    &svec!["deno", "eval", "--", "-1; console.log(0)", "arg1"],+  )+  .unwrap();+  assert_eq!(r.get_one("code_arg"), Some("-1; console.log(0)"));+  assert_eq!(r.trailing, vec!["arg1"]);+}++#[test]+fn eval_double_dash_before_code_keeps_second_separator() {+  // Only the first `--` is special (mirrors clap): it was consumed to make+  // the positional literal, so a later `--` is forwarded as-is even though+  // eval strips the separator in `deno eval code -- a`.+  let r =+    parse(&TEST_ROOT, &svec!["deno", "eval", "--", "code", "--", "a"]).unwrap();+  assert_eq!(r.get_one("code_arg"), Some("code"));+  assert_eq!(r.trailing, vec!["--", "a"]);+}++#[test]+fn upgrade_double_dash_stays_trailing() {+  // Commands without trailing var args don't enter positional-only mode:+  // `--` still starts (unused) trailing args, as before.+  let r =+    parse(&TEST_ROOT, &svec!["deno", "upgrade", "--", "v1", "v2"]).unwrap();+  assert_eq!(r.get_one("version-or-hash-or-channel"), None);+  assert_eq!(r.trailing, vec!["v1", "v2"]);

framework internals

TheAlgorithms/Python · #15372

Files changed →View PR ↗

Add edge cases for equilibrium indexPython · 30 + / 22

Reworks 37 lines of existing logic in data_structures/arrays/equilibrium_index_in_array.py.

Changes how existing framework internals behaves. Read the linked PR for the surrounding test context.

data_structures/arrays/equilibrium_index_in_array.py · 1 files

@@ -1,54 +1,62 @@ """ Find the Equilibrium Index of an Array.-Reference: https://www.geeksforgeeks.org/equilibrium-index-of-an-array/ -Python doctest can be run with the following command:-python -m doctest -v equilibrium_index_in_array.py--Given a sequence arr[] of size n, this function returns-an equilibrium index (if any) or -1 if no equilibrium index exists.--The equilibrium index of an array is an index such that the sum of-elements at lower indexes is equal to the sum of elements at higher indexes.+Reference:+https://www.geeksforgeeks.org/equilibrium-index-of-an-array +Python doctest can be run with: +python -m doctest -v equilibrium_index_in_array.py -Example Input:-arr = [-7, 1, 5, 2, -4, 3, 0]-Output: 3+Given an array arr of size n, return an equilibrium index+if one exists; otherwise return -1. +An equilibrium index is an index where the sum of all+elements to the left equals the sum of all elements+to the right. """   def equilibrium_index(arr: list[int]) -> int:     """

Read today’s edition →