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

Full suite red: test/llms-budget.test.ts #14428

Closed opened this

Pull #14431 was closed

opened this

_Filed by the scheduled full-suite report, not written by a person. It holds no pull, batch or release._

test/llms-budget.test.ts failed in the full suite on main (check run 01m7v14vamk27z92zwmxxeqep9, d272bd0).

  • /llms.txt stays under its byte budget for each role

/llms.txt stays under its byte budget for each role failed: error: expect(received).toBeLessThanOrEqual(expected)

50 |   const sizes = {
51 |     anonymous: Buffer.byteLength(await get()),
52 |     signedIn: Buffer.byteLength(await get(tokens.bob)),
53 |     admin: Buffer.byteLength(await get(tokens.alice)),
54 |   };
55 |   for (const role of Object.keys(BUDGET) as (keyof typeof BUDGET)[]) expect(sizes[role]).toBeLessThanOrEqual(BUDGET[role]);
                                                                                              ^
error: expect(received).toBeLessThanOrEqual(expected)

Expected: <= 8960
Received: 9044

      at <anonymous> (test/llms-budget.test.ts:55:90)
(fail) /llms.txt stays under its byte budget for each role [141.47ms]

To reproduce:

bun test ./test/llms-budget.test.ts
bun test ./test/llms-budget.test.ts --rerun-each 10

The full suite ran it in shard 16/3773, 4 files at a time.

Files: test/llms-budget.test.ts

commented

Closed: already done on main in 5d56100a (pull #14431).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs