Skip to content

Commit 3180113

Browse files
authored
ci: Show what size limit jobs exceeded the limit (#13532)
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](https://github.com/user-attachments/assets/13495922-ac91-42bf-a398-18bb7b0e9e72) 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, ...)
1 parent b7d1544 commit 3180113

File tree

4 files changed

+312
-274
lines changed

4 files changed

+312
-274
lines changed

dev-packages/size-limit-gh-action/.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77

88
overrides: [
99
{
10-
files: ['*.mjs'],
10+
files: ['**/*.mjs'],
1111
extends: ['@sentry-internal/sdk/src/base'],
1212
},
1313
],

0 commit comments

Comments
 (0)