Skip to content

chore: Add size limit reports on PRs for Cloudflare#20055

Draft
JPeer264 wants to merge 1 commit intodevelopfrom
jp/size-limit-cloudflare
Draft

chore: Add size limit reports on PRs for Cloudflare#20055
JPeer264 wants to merge 1 commit intodevelopfrom
jp/size-limit-cloudflare

Conversation

@JPeer264
Copy link
Copy Markdown
Member

Cloudflare does have a free tier limit of 3mb: https://developers.cloudflare.com/workers/platform/limits/#worker-size

It would be too bad if we ship something for Cloudflare and by accident ship something which is super costly. I didn't add a limit yet, but we can add one once it makes sense

@JPeer264 JPeer264 self-assigned this Mar 31, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Deps

  • Bump lodash.template from 4.5.0 to 4.18.1 by dependabot in #20085
  • Bump @xmldom/xmldom from 0.8.3 to 0.8.12 by dependabot in #20066

Other

  • (core) Support embeddings in langchain by nicohrubec in #20017
  • (core, node) Portable Express integration by isaacs in #19928
  • (deno) Add denoRuntimeMetricsIntegration by chargome in #20023
  • (node, bun) Enforce minimum collection interval in runtime metrics integrations by chargome in #20068

Bug Fixes 🐛

  • (aws-serverless) Add timeout to _endSpan forceFlush to prevent Lambda hanging by logaretm in #20064
  • (cloudflare) Ensure every request instruments functions by JPeer264 in #20044
  • (gatsby) Fix errorHandler signature to match bundler-plugin-core API by JPeer264 in #20048

Internal Changes 🔧

Core

  • Do not emit spans for chats.create in google-genai by nicohrubec in #19990
  • Unify .do* span ops to gen_ai.generate_content by nicohrubec in #20074
  • Simplify addResponseAttributes in openai integration by nicohrubec in #20013
  • Extract shared endStreamSpan for AI integrations by nicohrubec in #20021
  • Remove provider-specific AI span attributes in favor of gen_ai attributes in sentry conventions by nicohrubec in #20011

Deps

  • Bump mshick/add-pr-comment from dd126dd8c253650d181ad9538d8b4fa218fc31e8 to e7516d74559b5514092f5b096ed29a629a1237c6 by dependabot in #20078
  • Bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.24.1 to 2.25.2 by dependabot in #20081

Other

  • (node) Add node integration tests for Vercel ToolLoopAgent by nicohrubec in #20087
  • Add size limit reports on PRs for Cloudflare by JPeer264 in #20055
  • Update validate-pr workflow by stephanie-anderson in #20072
  • Remove unused tsconfig-template folder by mydea in #20067

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 9,178 - 11,137 -18%
GET With Sentry 1,782 19% 1,952 -9%
GET With Sentry (error only) 6,089 66% 7,510 -19%
POST Baseline 1,197 - 1,142 +5%
POST With Sentry 615 51% 561 +10%
POST With Sentry (error only) 1,075 90% 1,020 +5%
MYSQL Baseline 3,310 - 3,939 -16%
MYSQL With Sentry 522 16% 435 +20%
MYSQL With Sentry (error only) 2,695 81% 3,093 -13%

View base workflow run

@JPeer264 JPeer264 force-pushed the jp/size-limit-cloudflare branch 3 times, most recently from 6983a44 to fada93f Compare April 1, 2026 16:49
@JPeer264 JPeer264 force-pushed the jp/size-limit-cloudflare branch from fada93f to a10aeaf Compare April 2, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant