Blog
Articles, tutorials, and insights about web development, frontend technologies, and software engineering.

Next.js Build Heap Out of Memory in CI: Exit 137 Fix
Next.js build heap out of memory in CI, then Killed with exit 137? Real job logs from a 4 GiB runner, 10 kills, and what moving the type check changed.

D1_ERROR: too many SQL variables? Fix the 100-Bind Limit
D1_ERROR: too many SQL variables means one statement binds over 100 values. See the 100 plus 5 arithmetic, a chunking fix, and a db.batch test I ran locally.

gtag Config Not Firing: dataLayer.push(arguments) Fix
gtag config not firing? A custom gtag helper that pushes an array loads gtag.js but sends no hit. Tested 4 variants in Chrome, with the fix and a Bun test.

Cloudflare waitUntil Logging: Audit Logs Without Latency
Log to D1 with ctx.waitUntil without slowing responses. Measured 306 ms vs 1.7 ms, plus why logs go missing and the Illegal invocation fix. See the code.

JSON-LD Author Schema Missing From Rich Results? Fix It
JSON-LD author schema drops silently from Google rich results when @id references do not resolve. Here are the 4 fixes, plus the August 2026 parser change.

Next.js output export: generateStaticParams Error Fix
Next.js output: export fails with missing generateStaticParams() on dynamic routes. Fix it with a query-param page, tested on Next.js 16.3.5. See the steps.