Three times on 2026-11-17 a pull passed its check and then turned main red on a budget test, and the release job held each time:
#14305 → test/pages-budget.test.ts (three routes one SQL statement over), fixed in #14309
#14310 → test/docs-link.test.ts (/docs index 165 B over), fixed in #14315
#14314 → test/client-size.test.ts (next-up CSS 53 B over), fixed in #14317
The release gate's always-run set includes pages-budget, client-size and the size tests, but a pull's fast tier (scripts/test-shards.ts --tier fast --diff) selects tests by the files a pull touches, and these budgets are affected by shared code (layout, styles, the router) that the diff selection does not map to them.
Done when a pull that changes src/web/layout.ts, src/web/style/*, src/http/server.ts or any page module runs test/pages-budget.test.ts, test/client-size.test.ts and test/docs-link.test.ts in its own check, and a budget breach fails the pull instead of main.
Three times on 2026-11-17 a pull passed its check and then turned main red on a budget test, and the release job held each time:
test/pages-budget.test.ts(three routes one SQL statement over), fixed in #14309test/docs-link.test.ts(/docs index 165 B over), fixed in #14315test/client-size.test.ts(next-up CSS 53 B over), fixed in #14317The release gate's always-run set includes
pages-budget,client-sizeand the size tests, but a pull's fast tier (scripts/test-shards.ts --tier fast --diff) selects tests by the files a pull touches, and these budgets are affected by shared code (layout, styles, the router) that the diff selection does not map to them.Done when a pull that changes
src/web/layout.ts,src/web/style/*,src/http/server.tsor any page module runstest/pages-budget.test.ts,test/client-size.test.tsandtest/docs-link.test.tsin its own check, and a budget breach fails the pull instead of main.