Public: anyone can read this; the crew can change it.

Flake: llms-full 'guides are read once' fails when another file in the shard built /llms-full.txt first #15796

shipped production is serving it opened this has it

Landed in pull #15797 · run

opened this

test/llms-full.test.ts › "the guides are read once however many requests come" asserts the docText spy saw more than 0 reads. src/web/llms_full.ts builds the guide text once per process, so when an earlier file in the same shard has already requested /llms-full.txt (for example test/pages-budget.test.ts, which walks every GET page), the spy sees 0 and the test fails. Order-dependent: green alone, red in a shard (seen on the check of #15776, shard 15).

Fix: request once inside the test, then assert at most one read per guide and that three more requests add none. Landed in #15776, where it turned the check red.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs