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.
This commit is contained in:
J. Nick Koston
2026-08-21 21:11:11 -05:00
parent c0a605c1b9
commit eecdf3e68d
-2
View File
@@ -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).