Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Show what size limit jobs exceeded the limit #13532

Merged
merged 25 commits into from
Sep 3, 2024
Merged

Conversation

mydea
Copy link
Member

@mydea mydea commented Aug 30, 2024

Noticed that it was a bit annoying, when we exceeded the size limit, to find out why/what has failed.

Now, it should show in the GH comment which specific check has failed, and what the current limit is:

image

While I was at this, I also streamlined the code a bit, extracted it a bit into utils to de-clutter stuff, and fixed/improved some debug logging issues (e.g. the log group was not correctly closed before, ...)

@mydea mydea self-assigned this Aug 30, 2024
Copy link
Contributor

github-actions bot commented Sep 2, 2024

size-limit report 📦

Path Size % Change Change
@sentry/browser 22.52 KB - -
@sentry/browser (incl. Tracing) 34.77 KB - -
@sentry/browser (incl. Tracing, Replay) 71.22 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 64.49 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 75.56 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 88.29 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 90.13 KB - -
@sentry/browser (incl. metrics) 26.83 KB - -
@sentry/browser (incl. Feedback) 39.59 KB - -
@sentry/browser (incl. sendFeedback) 27.18 KB - -
@sentry/browser (incl. FeedbackAsync) 31.9 KB - -
@sentry/react 25.28 KB - -
@sentry/react (incl. Tracing) 37.74 KB - -
@sentry/vue 26.67 KB - -
@sentry/vue (incl. Tracing) 36.6 KB - -
@sentry/svelte 22.65 KB - -
CDN Bundle 23.77 KB - -
CDN Bundle (incl. Tracing) 36.49 KB - -
CDN Bundle (incl. Tracing, Replay) 70.9 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 76.21 KB - -
CDN Bundle - uncompressed 69.61 KB - -
CDN Bundle (incl. Tracing) - uncompressed 108.2 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 219.84 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 233.04 KB - -
@sentry/nextjs (client) 37.5 KB - -
@sentry/sveltekit (client) 35.35 KB - -
@sentry/node 116.42 KB - -
@sentry/node - without tracing 90.01 KB - -
@sentry/aws-serverless 99.45 KB - -

View base workflow run

@mydea mydea marked this pull request as ready for review September 2, 2024 14:14
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Nice! I like it a lot! Perhaps this is something we could also more clearly point out in the size-limit CI logs? There it's especially hard to find the entry that caused the job to fail. But maybe it's also just me who checks the logs rather than trusting the table 😅

@mydea
Copy link
Member Author

mydea commented Sep 3, 2024

Nice! I like it a lot! Perhaps this is something we could also more clearly point out in the size-limit CI logs? There it's especially hard to find the entry that caused the job to fail. But maybe it's also just me who checks the logs rather than trusting the table 😅

I'll add a debug log in addition, too! 👍

@mydea mydea merged commit 3180113 into develop Sep 3, 2024
101 checks passed
@mydea mydea deleted the fn/size-limit-exceeded branch September 3, 2024 14:50
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.

3 participants