Skip to content

fix(ci): make import-size reports informational - #2202

Merged
mattzcarey merged 1 commit into
mainfrom
fix/import-sizes-informational
Sep 2, 2026
Merged

fix(ci): make import-size reports informational#2202
mattzcarey merged 1 commit into
mainfrom
fix/import-sizes-informational

Conversation

@mattzcarey

@mattzcarey mattzcarey commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make package import-size comparisons informational regardless of red/yellow/green classification
  • remove the threshold enforcement step and its GitHub output plumbing
  • emit report schema v2 without a gate field, so the artifact cannot imply a merge-blocking result
  • change the job summary to say increases above 10% are marked red rather than failing CI

Build, measurement, report-generation, and artifact-upload failures still fail because no trustworthy report was produced. A measured size increase never fails the run.

This fixes the behavior visible on #2194, where one red import caused run 33635989129 to fail even though the size report itself completed successfully.

Companion Agent Think rollout: https://gitlab.cfdata.org/cloudflare/ai-agents/team-apps/-/merge_requests/8

No changeset is needed; this changes repository CI only.

Validation

  • pnpm run build
  • pnpm run check on Node 24: 121 TypeScript projects
  • synthetic 100% import-size increase: red report, process exit 0, schema v2 without gate
  • schema-v2 report parsed and rendered by the Team Apps consumer as informational

Devin Review

@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 414dacd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@pkg-pr-new

pkg-pr-new Bot commented Sep 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@2202

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@2202

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@2202

hono-agents

npm i https://pkg.pr.new/hono-agents@2202

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@2202

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@2202

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@2202

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@2202

commit: 414dacd

@mattzcarey
mattzcarey merged commit e2a5faa into main Sep 2, 2026
16 checks passed
@mattzcarey
mattzcarey deleted the fix/import-sizes-informational branch September 2, 2026 13:57
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