Skip to content

Conversation

@matejchalk
Copy link
Collaborator

Part of #888 - prerequisite for having nice logs from Code Coverage and JS Packages plugins.

Simplifies runner execution by switching to a runner function, so there's no need for an additional entry point.

In a follow-up PR, I will move logic out of index.ts files, as suggested here.

@github-actions github-actions bot added 🔬 testing writing tests 🧩 coverage-plugin 🧩 js-packages-plugin Plugin for audit and outdated dependencies labels Dec 15, 2025
@nx-cloud
Copy link

nx-cloud bot commented Dec 15, 2025

View your CI Pipeline Execution ↗ for commit 6c0635b

Command Status Duration Result
nx run ci:code-pushup -- merge-diffs --files=/h... ✅ Succeeded 5s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 1m 30s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 8s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 12m 19s View ↗
nx run-many -t unit-test,int-test ✅ Succeeded 1m 43s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-15 13:11:45 UTC

@nx-cloud
Copy link

nx-cloud bot commented Dec 15, 2025

View your CI Pipeline Execution ↗ for commit 0d7e45d

Command Status Duration Result
nx affected -t int-test --parallel=3 ❌ Failed 2s View ↗
nx affected -t unit-test --parallel=3 ❌ Failed 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-15 12:42:41 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 15, 2025

Open in StackBlitz

@code-pushup/ci

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/ci@1186

@code-pushup/cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/cli@1186

@code-pushup/core

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/core@1186

@code-pushup/create-cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/create-cli@1186

@code-pushup/models

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/models@1186

@code-pushup/axe-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/axe-plugin@1186

@code-pushup/nx-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/nx-plugin@1186

@code-pushup/coverage-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/coverage-plugin@1186

@code-pushup/eslint-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/eslint-plugin@1186

@code-pushup/js-packages-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/js-packages-plugin@1186

@code-pushup/jsdocs-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/jsdocs-plugin@1186

@code-pushup/lighthouse-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/lighthouse-plugin@1186

@code-pushup/typescript-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/typescript-plugin@1186

@code-pushup/utils

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/utils@1186

commit: 6c0635b

@github-actions
Copy link
Contributor

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 75e4438 with previous commit 7b82402.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 29 🔴 41 ↑ +11.9
Axe Accessibility 🟢 96 🟡 88 ↓ −8.4
Code coverage 🟡 89 🟡 89 ↑ +0.1
Documentation 🔴 35 🔴 35 ↑ +0.1
Bug prevention 🟡 67 🟡 67
Code style 🟢 99 🟢 99
Security 🔴 43 🔴 43
Updates 🟡 71 🟡 71
Type Safety 🟡 56 🟡 56
Miscellaneous 🟡 67 🟡 67
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟢 92 🟢 92
👍 5 groups improved, 👎 5 groups regressed, 👍 13 audits improved, 👎 6 audits regressed, 40 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Axe Accessibility Color & Contrast 🟢 100 🟡 50 ↓ −50
Axe Accessibility Semantics 🟢 100 🟡 50 ↓ −50
Axe Accessibility Language 🟡 75 🟢 100 ↑ +25
Axe Accessibility Tables 🟢 100 🟡 75 ↓ −25
Axe Accessibility Names & Labels 🟢 100 🟡 80 ↓ −20
Axe Accessibility Structure 🟡 83 🟢 100 ↑ +16.7
Lighthouse Performance 🔴 29 🔴 41 ↑ +11.9
Axe Accessibility ARIA 🟢 100 🟢 95 ↓ −5.3
Code coverage Code coverage metrics 🟡 89 🟡 89 ↑ +0.1
JSDoc coverage Documentation coverage 🔴 35 🔴 35 ↑ +0.1

24 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Initial server response time was short 🟥 Root document took 5,660 ms 🟩 Root document took 600 ms ↓ −89.5 %
Axe Accessibility ARIA attributes must conform to valid values 🟩 0 elements 🟥 8 errors ↑ +∞ %
Axe Accessibility Images must have alternative text 🟩 0 elements 🟥 6 errors ↑ +∞ %
Axe Accessibility Links must have discernible text 🟩 0 elements 🟥 6 errors ↑ +∞ %
Axe Accessibility Elements must meet minimum color contrast ratio thresholds 🟩 2 elements 🟥 5 errors ↑ +150 %
Axe Accessibility Elements must have their visible text as part of their accessible name 🟩 0 elements 🟥 2 errors ↑ +∞ %
Axe Accessibility Table headers in a data table must refer to data cells 🟩 0 elements 🟥 1 error ↑ +∞ %
Axe Accessibility Documents must have <title> element to aid in navigation 🟥 1 error 🟩 1 element  +0 %
Axe Accessibility <html> element must have a lang attribute 🟥 1 error 🟩 1 element  +0 %
Axe Accessibility CSS Media queries must not lock display orientation 🟥 1 error 🟩 1 element  +0 %
Lighthouse First Contentful Paint 🟥 10.3 s 🟥 3.1 s ↓ −70.3 %
Lighthouse Speed Index 🟥 16.9 s 🟥 6.3 s ↓ −62.8 %
Lighthouse Time to Interactive 🟥 20.2 s 🟥 12.2 s ↓ −39.3 %
Lighthouse Total Blocking Time 🟥 1,580 ms 🟥 1,150 ms ↓ −27.2 %
Code coverage Branch coverage 🟨 87.1 % 🟨 87.3 % ↑ +0.2 %
Code coverage Function coverage 🟩 90.6 % 🟩 90.6 % ↑ +0.1 %
JSDoc coverage Functions coverage 🟥 567 undocumented functions 🟥 565 undocumented functions ↓ −0.4 %
Code coverage Line coverage 🟨 84.9 % 🟨 84.9 % ↑ +0.1 %
JSDoc coverage Variables coverage 🟥 253 undocumented variables 🟥 251 undocumented variables ↓ −0.8 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,047 KiB 🟩 Total size was 2,056 KiB ↑ +0.5 %
Lighthouse Metrics 🟩 100% 🟩 100% ↓ −39.3 %
Lighthouse Server Backend Latencies 🟩 7,160 ms 🟩 1,060 ms ↓ −85.2 %
Lighthouse Largest Contentful Paint 🟥 17.0 s 🟥 11.1 s ↓ −34.6 %
Lighthouse Minimizes main-thread work 🟥 13.4 s 🟥 8.2 s ↓ −39.1 %
Lighthouse JavaScript execution time 🟥 4.4 s 🟥 3.3 s ↓ −25.3 %
Lighthouse Uses efficient cache policy on static assets 🟨 30 resources found 🟨 30 resources found ↑ +0.1 %
Lighthouse Max Potential First Input Delay 🟥 1,380 ms 🟥 950 ms ↓ −30.6 %
Axe Accessibility ARIA hidden element must not be focusable or contain focusable elements 🟩 0 elements 🟩 200 elements ↑ +∞ %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 187 KiB 🟥 Potential savings of 188 KiB ↑ +22.4 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 104 KiB 🟥 Potential savings of 99 KiB ↑ +53.3 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 94 KiB 🟥 Potential savings of 94 KiB ↓ −24.6 %
Axe Accessibility Elements must only use supported ARIA attributes 🟩 0 elements 🟩 95 elements ↑ +∞ %
Axe Accessibility ARIA attributes must be used as specified for the element's role 🟩 0 elements 🟩 95 elements ↑ +∞ %
Axe Accessibility Elements must only use permitted ARIA attributes 🟩 0 elements 🟩 95 elements ↑ +∞ %
Axe Accessibility ARIA attributes must conform to valid names 🟩 0 elements 🟩 95 elements ↑ +∞ %
Axe Accessibility <li> elements must be contained in a <ul> or <ol> 🟩 0 elements 🟩 65 elements ↑ +∞ %
Axe Accessibility Interactive controls must not be nested 🟩 0 elements 🟩 59 elements ↑ +∞ %
Axe Accessibility Inline text spacing must be adjustable with custom stylesheets 🟩 0 elements 🟩 41 elements ↑ +∞ %
Axe Accessibility IDs used in ARIA and labels must be unique 🟩 0 elements 🟩 28 elements ↑ +∞ %
Axe Accessibility Buttons must have discernible text 🟩 0 elements 🟩 13 elements ↑ +∞ %
Axe Accessibility <ul> and <ol> must only directly contain <li>, <script> or <template> elements 🟩 0 elements 🟩 13 elements ↑ +∞ %
Lighthouse Network Round Trip Times 🟩 20 ms 🟩 10 ms ↓ −48.5 %
TypeScript Semantic errors 🟥 2608 errors 🟥 2601 errors ↓ −0.3 %
Axe Accessibility Links must be distinguishable without relying on color 🟩 0 elements 🟩 7 elements ↑ +∞ %
Axe Accessibility Deprecated ARIA roles must not be used 🟩 0 elements 🟩 6 elements ↑ +∞ %
Axe Accessibility Required ARIA attributes must be provided 🟩 0 elements 🟩 6 elements ↑ +∞ %
Axe Accessibility ARIA roles used must conform to valid values 🟩 0 elements 🟩 6 elements ↑ +∞ %
Axe Accessibility Data or header cells must not be used to give caption to a data table. 🟩 0 elements 🟩 4 elements ↑ +∞ %
Axe Accessibility Table cell headers attributes must refer to other <th> elements in the same table 🟩 0 elements 🟩 4 elements ↑ +∞ %
Axe Accessibility Styled <p> elements must not be used as headings 🟩 0 elements 🟩 2 elements ↑ +∞ %
Axe Accessibility Non-empty <td> elements in larger <table> must have an associated table header 🟩 0 elements 🟩 2 elements ↑ +∞ %
Lighthouse Avoids an excessive DOM size 🟥 2,351 elements 🟥 2,352 elements ↑ +0.1 %
Axe Accessibility Certain ARIA roles must contain particular children 🟩 0 elements 🟩 1 element ↑ +∞ %
Axe Accessibility Page must have means to bypass repeated blocks 🟩 0 elements 🟩 1 element ↑ +∞ %
Axe Accessibility Form field must not have multiple label elements 🟩 0 elements 🟩 1 element ↑ +∞ %
Axe Accessibility <html> element must have a valid value for the lang attribute 🟩 0 elements 🟩 1 element ↑ +∞ %
Axe Accessibility Form elements must have labels 🟩 0 elements 🟩 1 element ↑ +∞ %
Axe Accessibility Zooming and scaling must not be disabled 🟩 0 elements 🟩 1 element ↑ +∞ %
Lighthouse Cumulative Layout Shift 🟩 0 🟩 0 ↓ −100 %

620 other audits are unchanged.

@matejchalk matejchalk marked this pull request as ready for review December 15, 2025 13:11
@github-actions
Copy link
Contributor

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 75e4438 with previous commit 7b82402.

💼 Project plugin-js-packages

🥳 Code PushUp report has improved.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟡 86 🟡 87 ↑ +1.8
Documentation 🟡 64 🟡 64 ↑ +0.1

4 other categories are unchanged.

👍 2 groups improved, 👍 4 audits improved, 1 audit changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟡 86 🟡 87 ↑ +1.8
JSDoc coverage Documentation coverage 🟡 64 🟡 64 ↑ +0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Branch coverage 🟩 90.6 % 🟩 93.1 % ↑ +2.8 %
Code coverage Function coverage 🟨 82.7 % 🟨 84.3 % ↑ +2 %
Code coverage Line coverage 🟨 87.8 % 🟨 88.3 % ↑ +0.6 %
JSDoc coverage Functions coverage 🟥 43 undocumented functions 🟥 42 undocumented functions ↓ −2.3 %
JSDoc coverage Variables coverage 🟥 29 undocumented variables 🟥 28 undocumented variables ↓ −3.4 %

439 other audits are unchanged.

💼 Project plugin-coverage

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Documentation 🟡 71 🟡 71 ↑ +0.3
Code coverage 🟡 88 🟡 88 ↓ −0.1

4 other categories are unchanged.

👍 1 group improved, 👎 1 group regressed, 👍 3 audits improved, 👎 1 audit regressed, 1 audit changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
JSDoc coverage Documentation coverage 🟡 71 🟡 71 ↑ +0.3
Code coverage Code coverage metrics 🟡 88 🟡 88 ↓ −0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDoc coverage Functions coverage 🟥 16 undocumented functions 🟥 15 undocumented functions ↓ −6.2 %
Code coverage Branch coverage 🟨 88.1 % 🟨 88.9 % ↑ +0.9 %
Code coverage Function coverage 🟨 88.5 % 🟨 88 % ↓ −0.5 %
Code coverage Line coverage 🟨 89.2 % 🟨 89.4 % ↑ +0.3 %
JSDoc coverage Variables coverage 🟥 10 undocumented variables 🟥 9 undocumented variables ↓ −10 %

439 other audits are unchanged.


12 other projects are unchanged.

@matejchalk matejchalk merged commit 11deecf into main Dec 15, 2025
24 checks passed
@matejchalk matejchalk deleted the refactor-runner-configs branch December 15, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧩 coverage-plugin 🧩 js-packages-plugin Plugin for audit and outdated dependencies 🔬 testing writing tests 🛠️ tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants