Skip to content

chore(deps): Upgrade jest version to 30.3.0#27657

Open
imsayari404 wants to merge 2 commits into
prestodb:masterfrom
imsayari404:jest_version
Open

chore(deps): Upgrade jest version to 30.3.0#27657
imsayari404 wants to merge 2 commits into
prestodb:masterfrom
imsayari404:jest_version

Conversation

@imsayari404
Copy link
Copy Markdown
Contributor

@imsayari404 imsayari404 commented Apr 24, 2026

Description

upgraded jest and jest-environment-jsdom from 29.7.0 to jest:30.3.0

Motivation and Context

Using a more recent version helps avoid potential vulnerabilities and ensures we aren't relying on outdated or unsupported code.

Impact

Test Plan

Contributor checklist

  • Please make sure your submission complies with our contributing guide, in particular code style and commit standards.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.
  • If adding new dependencies, verified they have an OpenSSF Scorecard score of 5.0 or higher (or obtained explicit TSC approval for lower scores).

Release Notes

Please follow release notes guidelines and fill in the release notes below.

== NO RELEASE NOTE ==

Summary by Sourcery

Build:

  • Bump Jest in presto-ui package.json from 29.7.0 to 30.3.0 and refresh corresponding yarn.lock entries.

@prestodb-ci prestodb-ci added the from:IBM PR from IBM label Apr 24, 2026
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Apr 24, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Upgrades the Jest dependency in the presto-ui package to 30.3.0 and refreshes the yarn.lock to align transitive dependencies with the new Jest version.

File-Level Changes

Change Details Files
Upgrade Jest version used by presto-ui and regenerate lockfile to match the new version and its transitive dependencies.
  • Bump the jest devDependency version from ^29.7.0 to ^30.3.0 in the presto-ui package manifest
  • Update yarn.lock entries to reflect the new Jest version and its transitive dependency tree
presto-ui/src/package.json
presto-ui/src/yarn.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@imsayari404 imsayari404 closed this May 6, 2026
@imsayari404 imsayari404 reopened this May 6, 2026
@imsayari404 imsayari404 marked this pull request as ready for review May 6, 2026 10:42
@imsayari404 imsayari404 requested review from a team and yhwang as code owners May 6, 2026 10:42
@prestodb-ci prestodb-ci requested review from a team, auden-woolfson and nishithakbhaskaran and removed request for a team May 6, 2026 10:42
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've found 1 issue, and left some high level feedback:

  • Consider upgrading jest-environment-jsdom to a compatible 30.x version as well, to avoid potential issues from mixing major Jest 30 with a Jest 29-specific environment package.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider upgrading `jest-environment-jsdom` to a compatible 30.x version as well, to avoid potential issues from mixing major Jest 30 with a Jest 29-specific environment package.

## Individual Comments

### Comment 1
<location path="presto-ui/src/package.json" line_range="36" />
<code_context>
     "html-webpack-plugin": "^5.6.0",
     "identity-obj-proxy": "^3.0.0",
-    "jest": "^29.7.0",
+    "jest": "^30.3.0",
     "jest-environment-jsdom": "^29.7.0",
     "jquery": "3.7.1",
</code_context>
<issue_to_address>
**issue (bug_risk):** Align Jest-related package versions to avoid subtle breakages between 29.x and 30.x.

`jest` is now on 30.x while `jest-environment-jsdom` remains on 29.x. Mixing major versions can cause subtle runtime issues (config mismatches, environment differences, type issues). Please either keep everything on 29.x or upgrade all Jest-related packages to compatible 30.x versions.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread presto-ui/src/package.json
@nishithakbhaskaran
Copy link
Copy Markdown
Contributor

nishithakbhaskaran commented May 6, 2026

@imsayari404 Hope #27658 and this PR should go together ?

I can see sourcery bot comment #27657 (comment)

@imsayari404
Copy link
Copy Markdown
Contributor Author

@imsayari404 Hope #27658 and this PR should go together ?

I can see sourcery bot comment #27657 (comment)

Yes @nishithakbhaskaran , I'm planning to bring those jest changes together in one single pr.

@imsayari404 imsayari404 force-pushed the jest_version branch 2 times, most recently from c42e362 to 454d10d Compare May 8, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

from:IBM PR from IBM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants