7171      pull-requests : read 
7272    steps :
7373      - name : Check out current commit 
74-         uses : actions/checkout@v4  
74+         uses : actions/checkout@v5  
7575        with :
7676          ref : ${{ env.HEAD_COMMIT }} 
7777          #  We need to check out not only the fake merge commit between the PR and the base branch which GH creates, but
@@ -131,13 +131,13 @@ jobs:
131131      (needs.job_get_metadata.outputs.is_gitflow_sync == 'false' && needs.job_get_metadata.outputs.has_gitflow_label == 'false') 
132132     steps :
133133      - name : Check out base commit (${{ github.event.pull_request.base.sha }}) 
134-         uses : actions/checkout@v4  
134+         uses : actions/checkout@v5  
135135        if : github.event_name == 'pull_request' 
136136        with :
137137          ref : ${{ github.event.pull_request.base.sha }} 
138138
139139      - name : ' Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})' 
140-         uses : actions/checkout@v4  
140+         uses : actions/checkout@v5  
141141        with :
142142          ref : ${{ env.HEAD_COMMIT }} 
143143
@@ -200,6 +200,9 @@ jobs:
200200      changed_node :
201201        ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, 
202202        ' @sentry/node' ) }} 
203+       changed_node_overhead_action :
204+         ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, 
205+         ' @sentry-internal/node-overhead-gh-action' ) }} 
203206      changed_deno :
204207        ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, 
205208        ' @sentry/deno' ) }} 
@@ -235,7 +238,7 @@ jobs:
235238      needs.job_get_metadata.outputs.is_release == 'true' 
236239    steps :
237240      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
238-         uses : actions/checkout@v4  
241+         uses : actions/checkout@v5  
239242        with :
240243          ref : ${{ env.HEAD_COMMIT }} 
241244      - name : Set up Node 
@@ -253,6 +256,37 @@ jobs:
253256          #  Only run comparison against develop if this is a PR
254257          comparison_branch : ${{ (github.event_name == 'pull_request' && github.base_ref) ||  ''}} 
255258
259+   job_node_overhead_check :
260+     name : Node Overhead Check 
261+     needs : [job_get_metadata, job_build] 
262+     timeout-minutes : 15 
263+     runs-on : ubuntu-24.04 
264+     if :
265+       (needs.job_build.outputs.changed_node == 'true' && github.event_name == 'pull_request') || 
266+       (needs.job_build.outputs.changed_node_overhead_action == 'true' && github.event_name == 'pull_request') || 
267+       needs.job_get_metadata.outputs.is_base_branch == 'true' || needs.job_get_metadata.outputs.is_release == 'true' 
268+     steps :
269+       - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
270+         uses : actions/checkout@v5 
271+         with :
272+           ref : ${{ env.HEAD_COMMIT }} 
273+       - name : Set up Node 
274+         uses : actions/setup-node@v4 
275+         with :
276+           node-version-file : ' package.json' 
277+       - name : Restore caches 
278+         uses : ./.github/actions/restore-cache 
279+         with :
280+           dependency_cache_key : ${{ needs.job_build.outputs.dependency_cache_key }} 
281+       - name : Check node overhead 
282+         uses : ./dev-packages/node-overhead-gh-action 
283+         env :
284+           DEBUG : ' 1' 
285+         with :
286+           github_token : ${{ secrets.GITHUB_TOKEN }} 
287+           #  Only run comparison against develop if this is a PR
288+           comparison_branch : ${{ (github.event_name == 'pull_request' && github.base_ref) ||  ''}} 
289+ 
256290  job_lint :
257291    name : Lint 
258292    #  Even though the linter only checks source code, not built code, it needs the built code in order check that all
@@ -262,7 +296,7 @@ jobs:
262296    runs-on : ubuntu-24.04 
263297    steps :
264298      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
265-         uses : actions/checkout@v4  
299+         uses : actions/checkout@v5  
266300        with :
267301          ref : ${{ env.HEAD_COMMIT }} 
268302      - name : Set up Node 
@@ -288,7 +322,7 @@ jobs:
288322    runs-on : ubuntu-24.04 
289323    steps :
290324      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
291-         uses : actions/checkout@v4  
325+         uses : actions/checkout@v5  
292326        with :
293327          ref : ${{ env.HEAD_COMMIT }} 
294328
@@ -311,7 +345,7 @@ jobs:
311345    runs-on : ubuntu-24.04 
312346    steps :
313347      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
314-         uses : actions/checkout@v4  
348+         uses : actions/checkout@v5  
315349        with :
316350          ref : ${{ env.HEAD_COMMIT }} 
317351      - name : Set up Node 
@@ -333,7 +367,7 @@ jobs:
333367    if : needs.job_get_metadata.outputs.is_release == 'true' 
334368    steps :
335369      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
336-         uses : actions/checkout@v4  
370+         uses : actions/checkout@v5  
337371        with :
338372          ref : ${{ env.HEAD_COMMIT }} 
339373      - name : Set up Node 
@@ -368,13 +402,13 @@ jobs:
368402    runs-on : ubuntu-24.04 
369403    steps :
370404      - name : Check out base commit (${{ github.event.pull_request.base.sha }}) 
371-         uses : actions/checkout@v4  
405+         uses : actions/checkout@v5  
372406        if : github.event_name == 'pull_request' 
373407        with :
374408          ref : ${{ github.event.pull_request.base.sha }} 
375409
376410      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
377-         uses : actions/checkout@v4  
411+         uses : actions/checkout@v5  
378412        with :
379413          ref : ${{ env.HEAD_COMMIT }} 
380414      - name : Set up Node 
@@ -415,7 +449,7 @@ jobs:
415449    runs-on : ubuntu-24.04 
416450    steps :
417451      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
418-         uses : actions/checkout@v4  
452+         uses : actions/checkout@v5  
419453        with :
420454          ref : ${{ env.HEAD_COMMIT }} 
421455      - name : Set up Node 
@@ -440,7 +474,7 @@ jobs:
440474    runs-on : ubuntu-24.04 
441475    steps :
442476      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
443-         uses : actions/checkout@v4  
477+         uses : actions/checkout@v5  
444478        with :
445479          ref : ${{ env.HEAD_COMMIT }} 
446480      - name : Set up Node 
@@ -472,12 +506,12 @@ jobs:
472506        node : [18, 20, 22, 24] 
473507    steps :
474508      - name : Check out base commit (${{ github.event.pull_request.base.sha }}) 
475-         uses : actions/checkout@v4  
509+         uses : actions/checkout@v5  
476510        if : github.event_name == 'pull_request' 
477511        with :
478512          ref : ${{ github.event.pull_request.base.sha }} 
479513      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
480-         uses : actions/checkout@v4  
514+         uses : actions/checkout@v5  
481515        with :
482516          ref : ${{ env.HEAD_COMMIT }} 
483517      - name : Set up Node 
@@ -566,7 +600,7 @@ jobs:
566600
567601    steps :
568602      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
569-         uses : actions/checkout@v4  
603+         uses : actions/checkout@v5  
570604        with :
571605          ref : ${{ env.HEAD_COMMIT }} 
572606      - name : Set up Node 
@@ -630,7 +664,7 @@ jobs:
630664
631665    steps :
632666      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
633-         uses : actions/checkout@v4  
667+         uses : actions/checkout@v5  
634668        with :
635669          ref : ${{ env.HEAD_COMMIT }} 
636670      - name : Set up Node 
@@ -678,7 +712,7 @@ jobs:
678712    timeout-minutes : 5 
679713    steps :
680714      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
681-         uses : actions/checkout@v4  
715+         uses : actions/checkout@v5  
682716        with :
683717          ref : ${{ env.HEAD_COMMIT }} 
684718      - name : Set up Node 
@@ -716,7 +750,7 @@ jobs:
716750            typescript : ' 3.8' 
717751    steps :
718752      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
719-         uses : actions/checkout@v4  
753+         uses : actions/checkout@v5  
720754        with :
721755          ref : ${{ env.HEAD_COMMIT }} 
722756      - name : Set up Node 
@@ -752,7 +786,7 @@ jobs:
752786    timeout-minutes : 15 
753787    steps :
754788      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
755-         uses : actions/checkout@v4  
789+         uses : actions/checkout@v5  
756790        with :
757791          ref : ${{ env.HEAD_COMMIT }} 
758792      - name : Set up Node 
@@ -780,7 +814,7 @@ jobs:
780814        node : [18, 20, 22, 24] 
781815    steps :
782816      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
783-         uses : actions/checkout@v4  
817+         uses : actions/checkout@v5  
784818        with :
785819          ref : ${{ env.HEAD_COMMIT }} 
786820      - name : Set up Node 
@@ -827,12 +861,12 @@ jobs:
827861      matrix-optional : ${{ steps.matrix-optional.outputs.matrix }} 
828862    steps :
829863      - name : Check out base commit (${{ github.event.pull_request.base.sha }}) 
830-         uses : actions/checkout@v4  
864+         uses : actions/checkout@v5  
831865        if : github.event_name == 'pull_request' 
832866        with :
833867          ref : ${{ github.event.pull_request.base.sha }} 
834868      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
835-         uses : actions/checkout@v4  
869+         uses : actions/checkout@v5  
836870        with :
837871          ref : ${{ env.HEAD_COMMIT }} 
838872      - name : Set up Node 
@@ -897,7 +931,7 @@ jobs:
897931      matrix : ${{ fromJson(needs.job_e2e_prepare.outputs.matrix) }} 
898932    steps :
899933      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
900-         uses : actions/checkout@v4  
934+         uses : actions/checkout@v5  
901935        with :
902936          ref : ${{ env.HEAD_COMMIT }} 
903937      - uses : pnpm/action-setup@v4 
@@ -1027,7 +1061,7 @@ jobs:
10271061
10281062    steps :
10291063      - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) 
1030-         uses : actions/checkout@v4  
1064+         uses : actions/checkout@v5  
10311065        with :
10321066          ref : ${{ env.HEAD_COMMIT }} 
10331067      - uses : pnpm/action-setup@v4 
@@ -1137,6 +1171,6 @@ jobs:
11371171    runs-on : ubuntu-24.04 
11381172    steps :
11391173      - name : Check for failures 
1140-         if : contains(needs.*.result, 'failure') 
1174+         if : cancelled() ||  contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled ')
11411175        run : | 
11421176          echo "One of the dependent jobs have failed. You may need to re-run it." && exit 1 
0 commit comments