Skip to content

chore(extensions): migrate to Jest 30#3010

Merged
christoph-jerolimov merged 1 commit into
redhat-developer:mainfrom
jonkoops:feat/jest-30-extensions
May 5, 2026
Merged

chore(extensions): migrate to Jest 30#3010
christoph-jerolimov merged 1 commit into
redhat-developer:mainfrom
jonkoops:feat/jest-30-extensions

Conversation

@jonkoops
Copy link
Copy Markdown
Contributor

@jonkoops jonkoops commented May 5, 2026

Install Jest 30 peer dependencies as required by @backstage/cli 0.36.0 and fix test incompatibilities for Jest 30 and JSDOM 27.

Resolves: https://redhat.atlassian.net/browse/RHDHBUGS-3064

Install Jest 30 peer dependencies as required by @backstage/cli 0.36.0
and fix test incompatibilities for Jest 30 and JSDOM 27.

Resolves: https://redhat.atlassian.net/browse/RHDHBUGS-3064
Signed-off-by: Jon Koops <jonkoops@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.75%. Comparing base (15f78e7) to head (b336b36).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3010   +/-   ##
=======================================
  Coverage   60.75%   60.75%           
=======================================
  Files        2067     2067           
  Lines       63769    63769           
  Branches    16613    16613           
=======================================
  Hits        38742    38742           
  Misses      23783    23783           
  Partials     1244     1244           
Flag Coverage Δ *Carryforward flag
adoption-insights 83.58% <ø> (ø) Carriedforward from 15f78e7
ai-integrations 70.03% <ø> (ø) Carriedforward from 15f78e7
app-defaults 69.60% <ø> (ø) Carriedforward from 15f78e7
augment 69.36% <ø> (ø) Carriedforward from 15f78e7
bulk-import 72.43% <ø> (ø) Carriedforward from 15f78e7
cost-management 16.49% <ø> (ø) Carriedforward from 15f78e7
dcm 32.85% <ø> (ø) Carriedforward from 15f78e7
extensions 61.42% <ø> (ø)
global-floating-action-button 73.75% <ø> (ø) Carriedforward from 15f78e7
global-header 61.62% <ø> (ø) Carriedforward from 15f78e7
homepage 50.84% <ø> (ø) Carriedforward from 15f78e7
konflux 91.01% <ø> (ø) Carriedforward from 15f78e7
lightspeed 69.64% <ø> (ø) Carriedforward from 15f78e7
mcp-integrations 81.59% <ø> (ø) Carriedforward from 15f78e7
orchestrator 33.07% <ø> (ø) Carriedforward from 15f78e7
quickstart 62.64% <ø> (ø) Carriedforward from 15f78e7
sandbox 79.56% <ø> (ø) Carriedforward from 15f78e7
scorecard 83.61% <ø> (ø) Carriedforward from 15f78e7
theme 64.54% <ø> (ø) Carriedforward from 15f78e7
translations 8.49% <ø> (ø) Carriedforward from 15f78e7
x2a 82.09% <ø> (ø) Carriedforward from 15f78e7

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 15f78e7...b336b36. 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.

Copy link
Copy Markdown
Member

@christoph-jerolimov christoph-jerolimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@christoph-jerolimov christoph-jerolimov merged commit 46a666e into redhat-developer:main May 5, 2026
61 checks passed
@jonkoops jonkoops deleted the feat/jest-30-extensions branch May 5, 2026 10:45
djanickova pushed a commit to djanickova/rhdh-plugins that referenced this pull request May 11, 2026
* fix(cost-management): resolve 6 CVEs via linkifyjs resolution and msw v2 upgrade

Pin linkifyjs to 4.3.2 to fix Prototype Pollution & XSS (CVE-2025-8101).
Upgrade msw from v1 to v2 in frontend and backend plugin devDependencies,
removing the transitive @xmldom/xmldom@0.8.10 dependency and its 5 High
severity CVEs (XML injection, DoS, CDATA/comment/processing instruction
injection).

Made-with: Cursor

* fix(cost-management): resolve 2 critical CVEs via scoped Yarn resolutions

Add scoped resolutions to fix fast-xml-parser entity encoding bypass
(CVE redhat-developer#3087, CVSS 9.3) and form-data unsafe random boundary generation
(CVE redhat-developer#3010, CVSS 9.4) without affecting other consumers of these packages.

- @aws-sdk/core/fast-xml-parser: 4.4.1 -> 4.5.4
- request/form-data: 2.3.3 -> 2.5.4
- @types/request/form-data: 2.5.3 -> 2.5.4

Made-with: Cursor
lokanandaprabhu pushed a commit to lokanandaprabhu/rhdh-plugins that referenced this pull request May 14, 2026
* fix(cost-management): resolve 6 CVEs via linkifyjs resolution and msw v2 upgrade

Pin linkifyjs to 4.3.2 to fix Prototype Pollution & XSS (CVE-2025-8101).
Upgrade msw from v1 to v2 in frontend and backend plugin devDependencies,
removing the transitive @xmldom/xmldom@0.8.10 dependency and its 5 High
severity CVEs (XML injection, DoS, CDATA/comment/processing instruction
injection).

Made-with: Cursor

* fix(cost-management): resolve 2 critical CVEs via scoped Yarn resolutions

Add scoped resolutions to fix fast-xml-parser entity encoding bypass
(CVE redhat-developer#3087, CVSS 9.3) and form-data unsafe random boundary generation
(CVE redhat-developer#3010, CVSS 9.4) without affecting other consumers of these packages.

- @aws-sdk/core/fast-xml-parser: 4.4.1 -> 4.5.4
- request/form-data: 2.3.3 -> 2.5.4
- @types/request/form-data: 2.5.3 -> 2.5.4

Made-with: Cursor
lokanandaprabhu pushed a commit to lokanandaprabhu/rhdh-plugins that referenced this pull request May 14, 2026
Install Jest 30 peer dependencies as required by @backstage/cli 0.36.0
and fix test incompatibilities for Jest 30 and JSDOM 27.

Resolves: https://redhat.atlassian.net/browse/RHDHBUGS-3064

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants