Daily edition

Nov 17, 2026

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

Nov 18, 20265 reads · 175 merged PRs screened

framework internals

vercel/next.js · #100690

Files changed →View PR ↗

Run the dev Cache Components validation in an OTel trace of its ownTypeScript · 190 + / 147 −

Introduces 3 new declarations in packages/next/src/server/app-render/app-render.tsx.

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

packages/next/src/server/app-render/app-render.tsx ↗ · 4 files

@@ -4848,167 +4851,173 @@ function runDevValidationInBackground(         return       } -      return runInstantInsightsWithTracing(ctx, async (runSpan) => {-        // Read whether the streamed render errored only now that it has fully-        // settled.-        const devRenderDidError = getDevRenderDidError()--        const [instantInputs, staticInputs] = await runSpan(-          AppRenderSpan.instantInsightsPrepareValidation,-          'Prepare validation inputs',-          async () => {-            const lazyInputs = await prepareValidationInputs(-              prefetchMode,-              navigationKind,-              result,-              requestStore,-              validationDebugChannel,-              ctx,-              prerenderResumeDataCache,-              createRequestStore,-              getPayload,-              onError,-              validationAbortSignal-            )+      return runInDevValidationTrace(ctx, renderSpanContext, () =>+        runInstantInsightsWithTracing(ctx, async (runSpan) => {+          // Read whether the streamed render errored only now that it has fully+          // settled.+          const devRenderDidError = getDevRenderDidError()++          const [instantInputs, staticInputs] = await runSpan(+            AppRenderSpan.instantInsightsPrepareValidation,

framework internals

huggingface/transformers · #50663

Files changed →View PR ↗

[serve] Handle missing Hub cache and include loaded models in /v1/modelsPython · 118 + / 62 −

Introduces 3 new declarations in src/transformers/cli/serving/model_manager.py.

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

src/transformers/cli/serving/model_manager.py ↗ · 5 files

@@ -489,68 +495,58 @@ def get_model_modality(         else:             raise ValueError(f"Unknown modality for: {model_classname}") -    @staticmethod-    @lru_cache-    def get_gen_models(cache_dir: str | None = None) -> list[dict]:-        """List generative models (LLMs and VLMs) available in the HuggingFace cache.+    def list_models(self, cache_dir: str | None = None) -> list[dict]:+        """List the models to show in `/v1/models`: the generative models of the HuggingFace cache, then the+        loaded models that are not in it, such as a model loaded from a local path. A server pinned to one+        model (`force_model`) lists that model alone.          Args:             cache_dir (`str`, *optional*): Path to the HuggingFace cache directory.                 Defaults to the standard cache location.          Returns:-            `list[dict]`: OpenAI-compatible model list entries with ``id``, ``object``, etc.+            `list[dict]`: OpenAI-compatible model list entries with ``id``, ``object``, etc., and a ``status``+            telling whether the model is loaded.         """-        from transformers.models.auto.modeling_auto import (-            MODEL_FOR_CAUSAL_LM_MAPPING_NAMES,-            MODEL_FOR_IMAGE_TEXT_TO_TEXT_MAPPING_NAMES,-            MODEL_FOR_MULTIMODAL_LM_MAPPING_NAMES,-        )+        if self.force_model is not None:+            # A pinned server only answers for its model, under the name it was given: list it alone.+            repo, gguf_file = split_model_id(self.force_model)+            name = self.process_model_name(repo)+            is_loaded = (name if gguf_file is None else f"{name}:{gguf_file}") in self.loaded_models+            return [+                {

systems design

kubernetes/kubernetes · #143911

Files changed →View PR ↗

kubelet: suspend PLEG events while SyncPod is runningGo · 108 + / 2 −

Introduces 6 new declarations in pkg/kubelet/pleg/generic.go.

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

pkg/kubelet/pleg/generic.go ↗ · 7 files

@@ -548,6 +570,39 @@ func (g *GenericPLEG) RequestReinspect(podUID types.UID) { 	g.podsToReinspect.Store(podUID, empty) } +// SuspendRelist holds back relist observations for the pod until ResumeRelist is called.+func (g *GenericPLEG) SuspendRelist(podUID types.UID) {+	g.suspendMu.Lock()+	defer g.suspendMu.Unlock()+	if _, ok := g.suspendedPods[podUID]; !ok {+		// Set the value to false to denote the suspended pod does not have any pending events yet.+		g.suspendedPods[podUID] = false+	}+}++// ResumeRelist ends the suspension for the pod and reports whether a relist was deferred+// while it was suspended. Requesting the follow-up relist is left to the caller, so that it+// can do so after recording its sync time.+func (g *GenericPLEG) ResumeRelist(podUID types.UID) bool {+	g.suspendMu.Lock()+	defer g.suspendMu.Unlock()+	relistDeferred := g.suspendedPods[podUID]+	delete(g.suspendedPods, podUID)+	return relistDeferred+}++// deferIfSuspended returns true if the pod's relist is suspended, recording that a relist+// was deferred so it can be replayed on resume.+func (g *GenericPLEG) deferIfSuspended(podUID types.UID) bool {+	g.suspendMu.Lock()+	defer g.suspendMu.Unlock()+	if _, ok := g.suspendedPods[podUID]; !ok {+		return false+	}+	g.suspendedPods[podUID] = true

runtime

nodejs/node · #66839

Files changed →View PR ↗

util: fix debounce/throttle abort listener leakJavaScript · 37 + / 8 −

Introduces 4 new declarations in lib/internal/util/debounce.js.

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

lib/internal/util/debounce.js ↗ · 4 files

@@ -97,6 +100,19 @@ function debounce(fn, wait, options = kEmptyObject) {     cancelWithError(abortError);   } +  function listenForAbort() {+    if (signal !== undefined && abortListener === undefined) {+      abortListener = addAbortListener(signal, abort);+    }+  }++  function stopListeningForAbort() {+    if (abortListener !== undefined) {+      abortListener[SymbolDispose]();+      abortListener = undefined;+    }+  }+   function ref() {     refed = true;     timeout?.ref();

language design

rust-lang/rust · #166072

Files changed →View PR ↗

simplify Appearances iterRust · 8 + / 32 −

Introduces 1 new declaration in compiler/rustc_borrowck/src/type_check/liveness/local_use_map.rs.

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

compiler/rustc_borrowck/src/type_check/liveness/local_use_map.rs ↗ · 1 files

@@ -52,32 +52,6 @@ rustc_index::newtype_index! {     pub struct AppearanceIndex {} } -fn appearances_iter(-    first: Option<AppearanceIndex>,-    appearances: &Appearances,-) -> impl Iterator<Item = AppearanceIndex> {-    AppearancesIter { appearances, current: first }-}--// Iterates over `Appearances` by following `next` fields.-struct AppearancesIter<'a> {-    appearances: &'a Appearances,-    current: Option<AppearanceIndex>,-}--impl<'a> Iterator for AppearancesIter<'a> {-    type Item = AppearanceIndex;--    fn next(&mut self) -> Option<AppearanceIndex> {-        if let Some(c) = self.current {-            self.current = self.appearances[c].next;-            Some(c)-        } else {-            None-        }-    }-}- //-----------------------------------------------------------------------------  impl LocalUseMap {

Read today’s edition →