From adfa196db0dadd871b78e354d14d83eb17a76b5d Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 17 Nov 2026 12:58:54 +0800 Subject: [PATCH] lessons: a docs page change regenerates the site's indexes (seen a fifth time) 00b2c11a6 added a docs row and left llms-full.txt and the search indexes stale, the fifth time since 11-13 (459d668b3, 256910f17, 9dcec6751, dbbb2f26b). The rule moves into the code standards' criterion 3. Docs only; nothing run. --- LESSONS.md | 5 +++++ docs/code-standards.md | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/LESSONS.md b/LESSONS.md index ace058842..32be700e3 100644 --- a/LESSONS.md +++ b/LESSONS.md @@ -964,6 +964,11 @@ cause: on llms-full.txt and on public/search/*.json, the index b70c45048 added on 11-15 (fixed in f5f27070a). Docs pages now feed two generated files: run `node search-index.mjs` too. + 11-16 dbbb2f26b (fixed in 9d5d8baf2) and 11-17 00b2c11a6 (a new + agent's docs row, cli (linux/amd64) red at 2f25728dd, fixed in + f7e0c2763) did the same: five times in five days, each by a Go + change that also touched a docs page and ran only Go tests. Now in + the code standards' criterion 3. - 10-28: of main's last 58 Test runs, 49 were cancelled by the next push. 0b99b8fbe's new allocation bound went red in macOS's Race job (sync.Pool lets go under -race) at 25df3187b, the first run after it diff --git a/docs/code-standards.md b/docs/code-standards.md index 00717dbfa..96076e098 100644 --- a/docs/code-standards.md +++ b/docs/code-standards.md @@ -78,6 +78,12 @@ listed as not run, never left out. runs: internal/gui's TestEveryRouteIsNamedForTheCLI for a new route, internal/agent's TestEveryAgentNamedForTheLibrary for a new agent (red on main four times before it, last at 00b2c11a6, 11-17). + A change under `site/public/docs` ends with `node llms-full.mjs` and + `node search-index.mjs` in site/, then `node --test site/*.test.mjs` + from the repo root: both files are built from those pages and + committed, and a Go change that adds a docs row left them stale on + main five times from 11-13 to 11-17 (459d668b3, 256910f17, + 9dcec6751, dbbb2f26b, 00b2c11a6). 4. **GUI tests in both engines.** A change to `internal/gui/assets` runs the Playwright tests it touches in Chromium and WebKit (`make test-ui`, or `BROWSER=webkit node --test …`). The suite must also pass in Chinese,