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.
This commit is contained in:
yetone
2026-11-17 12:58:54 +08:00
parent f7e0c27636
commit adfa196db0
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -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
+6
View File
@@ -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,