Skip to content

feat(deps): add EOL dependency inventory script - #5301

Open
JessicaJHee wants to merge 2 commits into
redhat-developer:mainfrom
JessicaJHee:eol-dep-catalog
Open

feat(deps): add EOL dependency inventory script#5301
JessicaJHee wants to merge 2 commits into
redhat-developer:mainfrom
JessicaJHee:eol-dep-catalog

Conversation

@JessicaJHee

@JessicaJHee JessicaJHee commented Aug 26, 2026

Copy link
Copy Markdown
Member

Description

Adds a generator and snapshot inventory of direct npm dependencies for RHIDP-13174 (inventory only — not remediation RHIDP-13175 or CI RHIDP-13176).
yarn eol-inventory scans RHDH core (package.json, packages/*, plugins/*) plus generally-available and tech-preview overlay plugins from rhdh-plugin-export-overlays main, then looks up npm deprecated / last-publish. It writes:

  • scripts/eol-inventory/eol-dependency-inventory-report.md: Generated report
    • one report for RHDH core, + one table per overlay workspace (non-OK rows, sorted by impact)
  • scripts/eol-inventory/eol-dependency-inventory.csv: table of all dependencies, one row per dep

See more on how this works in the README

Which issue(s) does this PR fix

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Run from the repo root (setting GITHUB_TOKEN / GH_TOKEN avoids GitHub rate limits): yarn eol-inventory

Signed-off-by: Jessica He <jhe@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.69%. Comparing base (d814f4b) to head (3b97720).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5301      +/-   ##
==========================================
- Coverage   63.68%   59.69%   -3.99%     
==========================================
  Files         121      109      -12     
  Lines        2288     2062     -226     
  Branches      527      501      -26     
==========================================
- Hits         1457     1231     -226     
  Misses        829      829              
  Partials        2        2              
Flag Coverage Δ
rhdh 59.69% <ø> (-3.99%) ⬇️
Components Coverage Δ
Backend plugins ∅ <ø> (∅)
Backend app 69.69% <ø> (ø)
Frontend app 58.82% <ø> (ø)
Plugin utils ∅ <ø> (∅)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d814f4b...3b97720. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

The container image build workflow finished with status: cancelled.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant