Skip to content

feat(plugin-eslint): add artifacts caching poc #1069

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

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented Aug 16, 2025

DO NOT MERGE

Note

If we set --output-path in the lint target we loose the terminal logs.
This is an issue as we can't know where in the code the issues are and have to run lint without the format and output options again.

Possible solutions:

  • Run it twice
  • Run via a tiny Node wrapper
  • Use custom formatter or self written. (Best)

PoC for #1068

@BioPhoton BioPhoton changed the title feat(plugin-eslint): artifacts caching poc feat(plugin-eslint): add artifacts caching poc Aug 16, 2025
Copy link

pkg-pr-new bot commented Aug 16, 2025

Open in StackBlitz

@code-pushup/ci

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

@code-pushup/cli

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

@code-pushup/create-cli

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

@code-pushup/core

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

@code-pushup/nx-plugin

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

@code-pushup/models

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

@code-pushup/coverage-plugin

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

@code-pushup/eslint-plugin

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

@code-pushup/js-packages-plugin

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

@code-pushup/jsdocs-plugin

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

@code-pushup/lighthouse-plugin

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

@code-pushup/typescript-plugin

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

@code-pushup/utils

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

commit: 330e480

Copy link

github-actions bot commented Aug 16, 2025

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit d11ba1a with previous commit a419aec.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 31 🔴 29 ↓ −1.9
Code coverage 🟢 90 🟢 90 ↓ −0.1
Documentation 🔴 23 🔴 23 ↑ +0.1
Security 🔴 0 🔴 0
Updates 🟡 77 🟡 77
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟡 61 🟡 61
Type Safety 🟢 100 🟢 100
Bug prevention 🟢 100 🟢 100
Miscellaneous 🟢 100 🟢 100
Code style 🟢 100 🟢 100
👍 1 group improved, 👎 2 groups regressed, 👍 4 audits improved, 👎 6 audits regressed, 14 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🔴 31 🔴 29 ↓ −1.9
Code coverage Code coverage metrics 🟢 90 🟢 90 ↓ −0.1
JSDoc coverage Documentation coverage 🔴 23 🔴 23 ↑ +0.1

18 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Initial server response time was short 🟥 Root document took 620 ms 🟩 Root document took 490 ms ↓ −20.3 %
Lighthouse First Contentful Paint 🟥 3.1 s 🟥 3.4 s ↑ +11.1 %
Lighthouse Speed Index 🟥 8.8 s 🟥 10.6 s ↑ +20.5 %
Lighthouse Time to Interactive 🟥 19.5 s 🟥 23.1 s ↑ +18.7 %
Code coverage Line coverage 🟨 87.4 % 🟨 86.6 % ↓ −0.9 %
JSDoc coverage Variables coverage 🟥 224 undocumented variables 🟥 231 undocumented variables ↑ +3.1 %
JSDoc coverage Types coverage 🟥 235 undocumented types 🟥 241 undocumented types ↑ +2.6 %
Code coverage Function coverage 🟩 93.2 % 🟩 93.1 % ↓ −0.1 %
JSDoc coverage Functions coverage 🟥 516 undocumented functions 🟥 523 undocumented functions ↑ +1.4 %
Code coverage Branch coverage 🟨 86.1 % 🟨 86.1 % ↑ +0.1 %
Lighthouse Minimizes main-thread work 🟥 21.1 s 🟥 28.7 s ↑ +36.2 %
Lighthouse JavaScript execution time 🟥 9.5 s 🟥 15.1 s ↑ +58.9 %
Lighthouse Total Blocking Time 🟥 6,810 ms 🟥 11,990 ms ↑ +76.1 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,665 KiB 🟩 Total size was 2,661 KiB ↓ −0.2 %
Lighthouse Metrics 🟩 100% 🟩 100% ↑ +18.7 %
Lighthouse Largest Contentful Paint 🟥 11.9 s 🟥 14.1 s ↑ +18.5 %
Lighthouse Max Potential First Input Delay 🟥 1,800 ms 🟥 3,060 ms ↑ +69.3 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 116 KiB 🟥 Potential savings of 116 KiB ↑ +63 %
Lighthouse Server Backend Latencies 🟩 170 ms 🟩 290 ms ↑ +78.5 %
Lighthouse Network Round Trip Times 🟩 10 ms 🟩 80 ms ↑ +487.9 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 31 resources found ↑ +0.1 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 614 KiB 🟥 Potential savings of 613 KiB ↓ −1.1 %
Lighthouse Avoids an excessive DOM size 🟥 2,285 elements 🟥 2,283 elements ↓ −0.1 %
JS Packages Outdated NPM dev dependencies. 🟨 56 outdated package versions (30 major, 21 minor, 5 patch) 🟨 57 outdated package versions (30 major, 21 minor, 6 patch) ↑ +1.8 %

586 other audits are unchanged.

@BioPhoton BioPhoton marked this pull request as ready for review August 22, 2025 03:16
@BioPhoton BioPhoton requested a review from matejchalk as a code owner August 22, 2025 03:16
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.

1 participant