From eecdf3e68d61dd9ce5ccf3b7653b2dc770cac668 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 21 Aug 2026 21:11:11 -0500 Subject: [PATCH] Drop the components-graph memo; it defeats the tested disk-cache semantics The in-process cache served a stale graph across mtime and version changes, which the script test suite pins; the saved re-parse was tens of milliseconds. --- script/helpers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/script/helpers.py b/script/helpers.py index e811f8b520..8132ee49e5 100644 --- a/script/helpers.py +++ b/script/helpers.py @@ -3,7 +3,6 @@ from __future__ import annotations import ast from collections.abc import Callable from dataclasses import dataclass, field -import functools from functools import cache import hashlib import json @@ -1249,7 +1248,6 @@ def get_components_graph_cache_key() -> str: return hasher.hexdigest() -@functools.cache def create_components_graph() -> dict[str, list[str]]: """Create a graph of component dependencies (cached).