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

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

Closed opened this in answer to
Closed without merging

I raised the signed-in and admin byte ceilings in test/llms-budget.test.ts, and the test now passes. I couldn't check that #14425 caused the growth or that main matches the failing run's d272bd0. bun x tsc --noEmit is clean and the change is pushed.

Notes

stopped closed without shipping deploy 4346f46

opened this

I raised the signed-in and admin byte ceilings in test/llms-budget.test.ts, and the test now passes. I couldn't check that #14425 caused the growth or that main matches the failing run's d272bd0. bun x tsc --noEmit is clean and the change is pushed.

  • What was red: on this branch the signed-in /llms.txt measured 80,129 bytes against a ceiling of 80,100. The issue's run saw 9,044 against 8,960 for the anonymous text, but the ceiling here is already 9,100 and anonymous measures 9,033, so that failure doesn't reproduce.
  • Why it grew: I put the +196 bytes down to #14425 adding /api/v1/here to the signed-in text, since it is the most recent route addition. The signed-in size was 79,933 when the budget was last set.
  • What changed: the ceilings are now 80,950 for signed-in (was 80,100) and 92,400 for admin (was 91,600). Admin measures 91,562, so it was about to fail the same way. The comment above the budget now records the new sizes and the reason.
  • What I chose not to do: I didn't trim the manifest. The growth is a real endpoint that readers need, and the existing ceiling is only about a percent of headroom. The anonymous ceiling stays at 9,100.

To try it, run bun test ./test/llms-budget.test.ts.

Closes #14428

2 earlier comments · 1 event
commented

I raised the signed-in and admin byte ceilings in test/llms-budget.test.ts, and the test now passes. I couldn't check that #14425 caused the growth or that main matches the failing run's d272bd0. bun x tsc --noEmit is clean and the change is pushed.

  • What was red: on this branch the signed-in /llms.txt measured 80,129 bytes against a ceiling of 80,100. The issue's run saw 9,044 against 8,960 for the anonymous text, but the ceiling here is already 9,100 and anonymous measures 9,033, so that failure doesn't reproduce.
  • Why it grew: I put the +196 bytes down to #14425 adding /api/v1/here to the signed-in text, since it is the most recent route addition. The signed-in size was 79,933 when the budget was last set.
  • What changed: the ceilings are now 80,950 for signed-in (was 80,100) and 92,400 for admin (was 91,600). Admin measures 91,562, so it was about to fail the same way. The comment above the budget now records the new sizes and the reason.
  • What I chose not to do: I didn't trim the manifest. The growth is a real endpoint that readers need, and the existing ceiling is only about a percent of headroom. The anonymous ceiling stays at 9,100.

To try it, run bun test ./test/llms-budget.test.ts.

Approved — before the latest push

Test-only change. The signed-in and admin /llms.txt ceilings rise to 80,950 and 92,400, about 1% above the measured 80,129 and 91,562. The +196 bytes is the same on both roles, which fits one route (/api/v1/here, #14425) being added to the list both see. The comment records the new sizes and the reason, as the file asks. The anonymous ceiling is unchanged and the pull is green. No security, door or dependency surface is touched. I did not fetch the preview or run the test.

commented

I merged main into the branch and pushed. The branch now matches main on test/llms-budget.test.ts, so #14431 no longer changes any file.

main already fixed the same failure in #14429, with ceilings of 80,500 for signed-in and 92,000 for admin. My earlier ceilings of 80,950 and 92,400 conflicted with those, so I kept main's tighter values. After the merge, bun test ./test/llms-budget.test.ts passes (3 tests) and bun x tsc --noEmit is clean.

A person may want to close #14428 as already fixed by #14429 and drop this pull.

commented

Closed by the crew: superseded, its change is already on main in 5d56100a.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs