Skip to content

Conversation

@BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented Dec 2, 2025

This PR enables the plugin to use our local TS code instead of a installed NPM package.
I also renamed AutorunExecutor to CliExecutor

depends on #1159

Followup PR will cover testing the logic in runCliExecutor.

@nx-cloud
Copy link

nx-cloud bot commented Dec 2, 2025

View your CI Pipeline Execution ↗ for commit 5c02a21

Command Status Duration Result
nx run-many --targets=code-pushup --parallel=fa... ❌ Failed 13m 46s View ↗
nx run-many -t unit-test,int-test ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-11 17:16:39 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 2, 2025

Open in StackBlitz

@code-pushup/ci

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

@code-pushup/cli

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

@code-pushup/core

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

@code-pushup/create-cli

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

@code-pushup/models

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

@code-pushup/nx-plugin

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

@code-pushup/axe-plugin

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

@code-pushup/coverage-plugin

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

@code-pushup/eslint-plugin

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

@code-pushup/js-packages-plugin

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

@code-pushup/jsdocs-plugin

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

@code-pushup/lighthouse-plugin

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

@code-pushup/typescript-plugin

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

@code-pushup/utils

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

commit: 5c02a21

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2025

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 3a909e2 with previous commit f74d2dd.

💼 Project plugin-axe

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 95 🟢 93 ↓ −1.7
Documentation 🟡 68 🟡 68 ↓ −0.7

4 other categories are unchanged.

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

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 95 🟢 93 ↓ −1.7
JSDoc coverage Documentation coverage 🟡 68 🟡 68 ↓ −0.7

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Branch coverage 🟩 93.6 % 🟨 86.4 % ↓ −7.7 %
Code coverage Line coverage 🟨 67.7 % 🟨 72.3 % ↑ +6.8 %
JSDoc coverage Functions coverage 🟥 14 undocumented functions 🟥 21 undocumented functions ↑ +50 %
JSDoc coverage Variables coverage 🟥 11 undocumented variables 🟥 16 undocumented variables ↑ +45.5 %
JSDoc coverage Types coverage 🟥 2 undocumented types 🟥 6 undocumented types ↑ +200 %

437 other audits are unchanged.

💼 Project cli

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 92 🟢 92 ↑ +0.8
Documentation 🟡 65 🟡 65 ↑ +0.1

4 other categories are unchanged.

👍 2 groups improved, 👍 3 audits improved, 👎 1 audit regressed

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 92 🟢 92 ↑ +0.8
JSDoc coverage Documentation coverage 🟡 65 🟡 65 ↑ +0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Function coverage 🟩 95.9 % 🟩 97.3 % ↑ +1.5 %
Code coverage Line coverage 🟨 88 % 🟨 88.5 % ↑ +0.6 %
JSDoc coverage Functions coverage 🟥 17 undocumented functions 🟥 16 undocumented functions ↓ −5.9 %
Code coverage Branch coverage 🟨 84.5 % 🟨 84.2 % ↓ −0.4 %

439 other audits are unchanged.

💼 Project plugin-lighthouse

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Documentation 🔴 47 🔴 48 ↑ +0.4
Code coverage 🟢 99 🟢 99 ↓ −0.1

4 other categories are unchanged.

👍 1 group improved, 👎 1 group regressed, 👍 1 audit improved, 👎 2 audits regressed

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
JSDoc coverage Documentation coverage 🔴 47 🔴 48 ↑ +0.4
Code coverage Code coverage metrics 🟢 99 🟢 99 ↓ −0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDoc coverage Variables coverage 🟥 20 undocumented variables 🟥 20 undocumented variables  +0 %
Code coverage Line coverage 🟩 97.2 % 🟩 97 % ↓ −0.2 %
Code coverage Branch coverage 🟩 96.1 % 🟩 96.1 % ↓ −0.1 %

440 other audits are unchanged.

💼 Project core

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

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

4 other categories are unchanged.

👍 1 group improved, 👎 1 group regressed, 👍 3 audits improved, 👎 1 audit regressed

🗃️ Groups

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

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Line coverage 🟩 90.5 % 🟩 91.2 % ↑ +0.8 %
JSDoc coverage Functions coverage 🟥 11 undocumented functions 🟥 12 undocumented functions ↑ +9.1 %
Code coverage Branch coverage 🟨 81.1 % 🟨 81.7 % ↑ +0.8 %
Code coverage Function coverage 🟩 93.1 % 🟩 93.2 % ↑ +0.1 %

439 other audits are unchanged.

💼 Project utils

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 94 🟢 95 ↑ +0.1
Documentation 🔴 38 🔴 38 ↑ +0.1

4 other categories are unchanged.

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

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 94 🟢 95 ↑ +0.1
JSDoc coverage Documentation coverage 🔴 38 🔴 38 ↑ +0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDoc coverage Types coverage 🟥 47 undocumented types 🟥 45 undocumented types ↓ −4.3 %
Code coverage Function coverage 🟩 95.3 % 🟩 95.5 % ↑ +0.2 %
JSDoc coverage Functions coverage 🟥 236 undocumented functions 🟥 233 undocumented functions ↓ −1.3 %
Code coverage Line coverage 🟩 97 % 🟩 96.9 % ↓ −0.1 %
Code coverage Branch coverage 🟩 91.9 % 🟩 92 % ↑ +0.1 %

438 other audits are unchanged.

💼 Project plugin-eslint

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Documentation 🟡 66 🟡 66 ↓ −0.1
Code coverage 🟢 94 🟢 94 ↑ +0.1

4 other categories are unchanged.

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

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
JSDoc coverage Documentation coverage 🟡 66 🟡 66 ↓ −0.1
Code coverage Code coverage metrics 🟢 94 🟢 94 ↑ +0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDoc coverage Variables coverage 🟥 13 undocumented variables 🟥 15 undocumented variables ↑ +15.4 %
Code coverage Line coverage 🟩 91.8 % 🟩 92.5 % ↑ +0.8 %
JSDoc coverage Functions coverage 🟥 46 undocumented functions 🟥 48 undocumented functions ↑ +4.3 %
Code coverage Branch coverage 🟨 85 % 🟨 84.7 % ↓ −0.4 %
Code coverage Function coverage 🟩 98.2 % 🟩 98.2 % ↑ +0.1 %
JSDoc coverage Types coverage 🟥 14 undocumented types 🟥 15 undocumented types ↑ +7.1 %

437 other audits are unchanged.

💼 Project nx-plugin

🥳 Code PushUp report has improved.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟡 85 🟡 85 ↑ +0.1

5 other categories are unchanged.

👍 1 group improved, 👍 2 audits improved

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟡 85 🟡 85 ↑ +0.1

14 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Line coverage 🟨 79.3 % 🟨 79.9 % ↑ +0.8 %
Code coverage Branch coverage 🟨 76.4 % 🟨 76.4 % ↑ +0.1 %

445 other audits are unchanged.


7 other projects are unchanged.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2025

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 3a909e2 with previous commit f74d2dd.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 44 🔴 34 ↓ −10.2
Best Practices 🟢 100 🟢 97 ↓ −3.4
Code style 🟢 100 🟢 99 ↓ −0.4
Updates 🟡 71 🟡 71 ↓ −0.2
Code coverage 🟡 89 🟡 89 ↑ +0.1
Documentation 🔴 35 🔴 35 ↑ +0.1
Axe Accessibility n/a (*) 🟡 88 n/a (*)
Bug prevention 🟡 67 🟡 67
Security 🔴 43 🔴 43
Type Safety 🟡 56 🟡 56
Miscellaneous 🟡 67 🟡 67
Accessibility 🟢 92 🟢 92
SEO 🟢 92 🟢 92

(*) New category.

👍 2 groups improved, 👎 5 groups regressed, 👍 5 audits improved, 👎 9 audits regressed, 28 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
ESLint Style guide (import) 🟢 100 🟡 80 ↓ −20
Lighthouse Performance 🔴 44 🔴 34 ↓ −10.2
Lighthouse Best Practices 🟢 100 🟢 97 ↓ −3.4
ESLint Suggestions 🟢 100 🟢 99 ↓ −0.4
JS Packages NPM outdated dependencies 🟡 71 🟡 71 ↓ −0.2
Code coverage Code coverage metrics 🟡 89 🟡 89 ↑ +0.1
JSDoc coverage Documentation coverage 🔴 35 🔴 35 ↑ +0.1

14 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
ESLint Forbid unassigned imports 🟩 passed 🟥 1 warning ↑ +∞ %
Lighthouse No browser errors logged to the console 🟩 passed 🟥 failed ↓ −100 %
Lighthouse Properly size images 🟨 Potential savings of 5 KiB 🟩 0  −∞ %
Lighthouse First Contentful Paint 🟥 3.2 s 🟥 5.4 s ↑ +65.3 %
Lighthouse Speed Index 🟥 6.7 s 🟥 10.0 s ↑ +50.5 %
Lighthouse Total Blocking Time 🟥 800 ms 🟥 1,120 ms ↑ +40.2 %
Lighthouse Time to Interactive 🟥 13.0 s 🟥 14.7 s ↑ +12.8 %
JS Packages Outdated NPM dev dependencies. 🟨 59 outdated package versions (34 major, 19 minor, 6 patch) 🟨 60 outdated package versions (35 major, 19 minor, 6 patch) ↑ +1.7 %
JSDoc coverage Variables coverage 🟥 246 undocumented variables 🟥 253 undocumented variables ↑ +2.8 %
Code coverage Function coverage 🟩 90.3 % 🟩 90.6 % ↑ +0.3 %
Code coverage Line coverage 🟨 84.7 % 🟨 84.9 % ↑ +0.2 %
Code coverage Branch coverage 🟨 87.3 % 🟨 87.1 % ↓ −0.2 %
JSDoc coverage Types coverage 🟥 241 undocumented types 🟥 244 undocumented types ↑ +1.2 %
JSDoc coverage Functions coverage 🟥 561 undocumented functions 🟥 567 undocumented functions ↑ +1.1 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,032 KiB 🟩 Total size was 2,068 KiB ↑ +1.8 %
Lighthouse Uses efficient cache policy on static assets 🟨 32 resources found 🟨 30 resources found ↓ −0.7 %
Lighthouse Minimizes main-thread work 🟥 7.5 s 🟥 10.3 s ↑ +36.4 %
Lighthouse Initial server response time was short 🟥 Root document took 790 ms 🟥 Root document took 2,690 ms ↑ +241.7 %
Lighthouse Metrics 🟩 100% 🟩 100% ↑ +12.8 %
Lighthouse Server Backend Latencies 🟩 1,760 ms 🟩 2,360 ms ↑ +33.7 %
Lighthouse JavaScript execution time 🟥 2.9 s 🟥 3.5 s ↑ +19.7 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 105 KiB 🟥 Potential savings of 94 KiB ↓ −32.8 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 186 KiB 🟥 Potential savings of 187 KiB ↑ +26.5 %
Lighthouse Largest Contentful Paint 🟥 11.6 s 🟥 11.7 s ↑ +1.3 %
Lighthouse Max Potential First Input Delay 🟥 840 ms 🟥 970 ms ↑ +14.7 %
Lighthouse Avoids an excessive DOM size 🟥 2,249 elements 🟥 2,353 elements ↑ +4.6 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 104 KiB 🟥 Potential savings of 101 KiB ↓ −10 %
Lighthouse Network Round Trip Times 🟩 50 ms 🟩 70 ms ↑ +37.6 %
TypeScript Semantic errors 🟥 2623 errors 🟥 2609 errors ↓ −0.5 %
Axe Accessibility IDs used in ARIA and labels must be unique 🟩 38 elements 🟩 28 elements ↓ −26.3 %
Axe Accessibility ARIA hidden element must not be focusable or contain focusable elements 🟩 192 elements 🟩 200 elements ↑ +4.2 %
Axe Accessibility Elements must only use supported ARIA attributes 🟩 102 elements 🟩 96 elements ↓ −5.9 %
Axe Accessibility ARIA attributes must be used as specified for the element's role 🟩 102 elements 🟩 96 elements ↓ −5.9 %
Axe Accessibility Elements must only use permitted ARIA attributes 🟩 102 elements 🟩 96 elements ↓ −5.9 %
Axe Accessibility ARIA attributes must conform to valid names 🟩 102 elements 🟩 96 elements ↓ −5.9 %
Axe Accessibility Interactive controls must not be nested 🟩 63 elements 🟩 59 elements ↓ −6.3 %
Axe Accessibility Inline text spacing must be adjustable with custom stylesheets 🟩 44 elements 🟩 41 elements ↓ −6.8 %
Axe Accessibility Buttons must have discernible text 🟩 15 elements 🟩 13 elements ↓ −13.3 %
TypeScript No implicit any errors 🟥 96 errors 🟥 95 errors ↓ −1 %
Axe Accessibility ARIA attributes must conform to valid values 🟥 9 errors 🟥 8 errors ↓ −11.1 %
Axe Accessibility Elements must have their visible text as part of their accessible name 🟥 3 errors 🟥 2 errors ↓ −33.3 %
Lighthouse Cumulative Layout Shift 🟩 0 🟩 0 ↑ +∞ %

636 other audits are unchanged.

# Conflicts:
#	packages/nx-plugin/src/executors/cli/executor.ts
#	packages/nx-plugin/src/executors/cli/executor.unit.test.ts
@BioPhoton BioPhoton marked this pull request as ready for review December 4, 2025 17:43
@BioPhoton BioPhoton requested a review from matejchalk December 4, 2025 17:48
@BioPhoton BioPhoton enabled auto-merge (squash) December 10, 2025 12:41
@BioPhoton BioPhoton requested a review from matejchalk December 11, 2025 17:00
@BioPhoton BioPhoton merged commit 0396b84 into main Dec 11, 2025
22 of 24 checks passed
@BioPhoton BioPhoton deleted the fix/nx-plugin/add-env-vars-to-executor branch December 11, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants