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

Full suite red: test/client-size.test.ts #13780

Closed opened this

Pull #13781 was closed

opened this

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

test/client-size.test.ts failed in the full suite on main (check run 01m7gvcf2gd7tx56h2md5zx0mt, 9feb835).

  • no first page's client JavaScript or CSS passes its ceiling, and each page measures the same twice

no first page's client JavaScript or CSS passes its ceiling, and each page measures the same twice failed: error: expect(received).toEqual(expected)

/map  js 27936  css 46206
/:owner/:name  js 37242  css 44686
/changelog  js 26100  css 44686
/:owner/:name/next  js 22838  css 45019
/:owner/:name/space  js 29058  css 45640
/:owner/:name/space.json  js 0  css 0
/maintenance  js 21119  css 44686
/pricing  js 21119  css 44686
/forges/new  js 21119  css 44686
/claim  js 23531  css 44686
105 |     return;
106 |   }
107 |   const ceilings = JSON.parse(readFileSync(FILE, "utf8")) as Ceilings;
108 |   const findings = PAGE_BUDGETS.flatMap((b) => sizeFindings(`${b.pattern} (${b.page})`, sizes[b.pattern]!, ceilings[b.pattern]));
109 |   console.log(`client bytes, gzip:\n${PAGE_BUDGETS.map((b) => `${b.pattern}\tjs ${sizes[b.pattern]!.js}\tcss ${sizes[b.pattern]!.css}`).join("\n")}`);
110 |   expect(findings).toEqual([]);
                         ^
error: expect(received).toEqual(expected)

- []
+ [
+   "/:owner/:name/space (space): css 45640 B gzip, 72 B over its ceiling of 45568 B; raise it in this pull with `FORGE_SIZE_WRITE=1 bun test test/client-size.test.ts` and say why",
+   "/maintenance (maintenance): css 44686 B gzip, 142 B over its ceiling of 44544 B; raise it in this pull with `FORGE_SIZE_WRITE=1 bun test test/client-size.test.ts` and say why",
+ ]

- Expected  - 1
+ Received  + 4

      at <anonymous> (test/client-size.test.ts:110:20)
(fail) no first page's client JavaScript or CSS passes its ceiling, and each page measures the same twice [412.80ms]

To reproduce:

bun test ./test/client-size.test.ts
bun test ./test/client-size.test.ts --rerun-each 10

The full suite ran it in shard 849/3543, 4 files at a time.

Files: test/client-size.test.ts

commented

Closed: already done on main in 5067c1b0 (pull #13781).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs