Skip to content

Conversation

BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented Jul 23, 2025

Precondition:

This PR adds:

  • default targets for code-pushup in nx.json
  • targets in every project (replaced by nx-plugin in future)
  • code-pushup.config.ts files for all projects

Followup of:

@BioPhoton BioPhoton changed the title chore: add local eslint targets chore: add local code-pushup targets Aug 6, 2025
@github-actions github-actions bot removed the 🔬 testing writing tests label Aug 6, 2025
Copy link

github-actions bot commented Aug 6, 2025

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 9f92f29 with previous commit 7daf201.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 31 🔴 32 ↑ +0.8
Code coverage 🟢 90 🟡 90 ↓ −0.3
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
Documentation 🔴 23 🔴 23
👍 1 group improved, 👎 1 group regressed, 👍 5 audits improved, 👎 2 audits regressed, 13 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🔴 31 🔴 32 ↑ +0.8
Code coverage Code coverage metrics 🟢 90 🟡 90 ↓ −0.3

19 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Avoids enormous network payloads 🟨 Total size was 2,706 KiB 🟩 Total size was 2,654 KiB ↓ −1.9 %
Lighthouse Speed Index 🟥 8.6 s 🟥 8.0 s ↓ −7.5 %
Lighthouse First Contentful Paint 🟥 3.2 s 🟥 3.1 s ↓ −3.3 %
Code coverage Line coverage 🟨 86.8 % 🟨 84.9 % ↓ −2.2 %
Lighthouse Time to Interactive 🟥 19.6 s 🟥 18.9 s ↓ −3.6 %
Code coverage Branch coverage 🟨 85 % 🟨 84.8 % ↓ −0.3 %
Code coverage Function coverage 🟩 93.1 % 🟩 93.2 % ↑ +0.1 %
Lighthouse Minimizes main-thread work 🟥 21.5 s 🟥 18.1 s ↓ −16 %
Lighthouse JavaScript execution time 🟥 10.7 s 🟥 9.3 s ↓ −13.2 %
Lighthouse Total Blocking Time 🟥 6,870 ms 🟥 5,480 ms ↓ −20.3 %
Lighthouse Largest Contentful Paint 🟥 13.4 s 🟥 12.0 s ↓ −10.3 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 30 resources found ↓ −0.2 %
Lighthouse Metrics 🟩 100% 🟩 100% ↓ −3.6 %
Lighthouse Server Backend Latencies 🟩 1,570 ms 🟩 1,070 ms ↓ −32 %
Lighthouse Max Potential First Input Delay 🟥 2,360 ms 🟥 1,940 ms ↓ −17.6 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 92 KiB 🟥 Potential savings of 104 KiB ↑ +48.4 %
Lighthouse Network Round Trip Times 🟩 70 ms 🟩 10 ms ↓ −80.9 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 549 KiB 🟥 Potential savings of 549 KiB ↑ +1.3 %
Lighthouse Avoids an excessive DOM size 🟥 2,284 elements 🟥 2,275 elements ↓ −0.4 %
Lighthouse Initial server response time was short 🟩 Root document took 520 ms 🟩 Root document took 530 ms ↑ +1.7 %

590 other audits are unchanged.

@BioPhoton BioPhoton changed the title chore: add local code-pushup targets chore: add project based code-pushup targets Aug 6, 2025
# Conflicts:
#	packages/ci/project.json
#	packages/cli/project.json
#	packages/core/project.json
#	packages/create-cli/project.json
#	packages/models/project.json
#	packages/plugin-coverage/project.json
#	packages/plugin-eslint/project.json
#	packages/plugin-js-packages/project.json
#	packages/plugin-jsdocs/project.json
#	packages/plugin-lighthouse/project.json
#	packages/plugin-typescript/project.json
#	packages/utils/project.json
@BioPhoton BioPhoton changed the title chore: add project based code-pushup targets chore: add monorepo mode to repository Aug 21, 2025
Copy link

nx-cloud bot commented Aug 22, 2025

View your CI Pipeline Execution ↗ for commit 940afea

Command Status Duration Result
nx run-many --target=build --parallel=3 ❌ Failed 35s View ↗
nx affected -t int-test --parallel=3 --coverage... ✅ Succeeded 1m 28s View ↗
nx affected -t unit-test --parallel=3 --coverag... ✅ Succeeded 46s View ↗
nx affected:lint --parallel=3 ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-25 09:41:10 UTC

# Conflicts:
#	.github/workflows/code-pushup-fork.centralized.yml
#	.github/workflows/code-pushup.centralized.yml
#	code-pushup.preset.ts
#	packages/plugin-coverage/src/lib/nx/coverage-paths.ts
#	project.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦾 CI/CD Continuous integration and deployment 🧩 coverage-plugin 🧩 eslint-plugin 📖 Project documentation improvements or additions to the project documentation 🔬 testing writing tests 🛠️ tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant