From ea9e5062e823a48f2e20ed72fe27c13af66d3b51 Mon Sep 17 00:00:00 2001 From: iomgaa Date: Wed, 26 Aug 2026 10:55:15 -0400 Subject: [PATCH] fix: restore the wiki alignment check, which no longer imported The telemetry column list was renamed from _COLUMNS to COLUMNS at some point and this tool was never updated, so make wiki-check has been dying on an ImportError rather than checking anything. One line. It still reports every page as missing, but that is the documentation site being taken down in August, not a fault in the check. --- tools/check_wiki_alignment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_wiki_alignment.py b/tools/check_wiki_alignment.py index 2a7857f..11957ca 100644 --- a/tools/check_wiki_alignment.py +++ b/tools/check_wiki_alignment.py @@ -28,7 +28,7 @@ from polygateway import EmbeddingClient, GatewayClient, LLMResponse from polygateway.config import _SOURCE_FIELDS from polygateway.ocr import OcrClient from polygateway.providers import register_provider -from polygateway.telemetry.sqlite import _COLUMNS as TELEMETRY_COLUMNS +from polygateway.telemetry.sqlite import COLUMNS as TELEMETRY_COLUMNS # 参数名允许在 wiki 里以别名出现的白名单(仅限确无歧义的自解释形参) _PARAM_ALIASES: dict[str, set[str]] = {"env": {"env"}}