Repository navigation
ci(mcp): Drop the token cost PR comment and view size budget columns - #2462
Draft
sentry-junior[bot] wants to merge 1 commit into
Draft
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
The Token Cost workflow posted or updated a PR comment on every same-repo run. The Token Cost check run already carries the totals and the change from main, and the job summary keeps the full breakdown, so the comment was only noise. Drop it and the pull-requests: write permission it needed. The MCP Apps view size is a hard limit that generate-chart-app enforces through ci:policy, so measure-ui no longer reports it as a budget. It keeps the raw, gzip, and brotli sizes and drops the budget and percentage fields. Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Token Cost workflow posted or updated a "📊 MCP Server Token Cost Report" comment on every same-repo PR run. The
Token Costcheck run already shows the totals and the change from main, and the job summary keeps the per-tool and MCP Apps view breakdown, so the comment was noise. This removes the comment step and thepull-requests: writepermission that only it used.The MCP Apps view size is a hard limit, not a budget to track:
generate-chart-appalready fails when a view goes overbudgetBytes, andci:policyruns it in CI. Someasure-uidrops the Budget and % of budget columns and thebudget_bytes/budget_percentageJSON fields, and keeps raw, gzip, and brotli sizes. Nothing read those fields.budgetBytesinsrc/ui-resources.tskeeps its name, so the chart resource definition is unchanged. Docs anddesign/mcp-apps.mdnow call it a hard byte limit.via @dcramer.
--
View Session [Sentry]