Skip to content

🔧 Repository: Migrate Maintainer Owned Workspaces to Jest 30 #7868

Open

Description

@awanlin

📜 Description

Since 1.46.x Backstage has supported Jest 30, we need to migrate all the Maintainer Owned workspaces to this version.

The process to do this migration will be as follows:

  1. From the workspace root run: yarn add --dev jest@^30 @types/jest@^30 @jest/environment-jsdom-abstract@^30 jsdom@^27
  2. Run yarn install and then yarn tsc:full, if there are any errors fix them, if you can't stop and ask for help.
  3. Now run ./node_modules/.bin/backstage-cli repo test --version and validate that the output is 0.35.4 or greater, if it's not something went wrong, stop and ask for help.
  4. Now run ./node_modules/.bin/backstage-cli repo test, fix any failing tests
  5. Create a PR with your changes.

The Backstage Migrating to Jest 30 guide likely has some helpful information if you have issues.

Warning

Please create 1 PR per workspace, do NOT submit it as one big change. Comment here with the workspace you are taking before you start so we don't duplicate work. You don't need to wait for a PR to merge before picking up another workspace.

Changes to the workspace root devDependencies and yarn.lock don't need a changeset. If you have to change code in a plugin to fix failing tests, add a patch changeset for that plugin.

The list of workspaces to be migrated are (updated 2026-11-08):

👍 Expected behavior

Tests should run using Jest 30

👎 Current Behavior

Tests are running under the older Jest 29

👟 Reproduction steps

N/A

📃 Provide the context for the Bug.

Migrating to Jest 30 keeps the workspaces in line with Backstage changes.

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

No, but I'm happy to collaborate on a PR with someone else

Activity

  1. rathi-yash commented on Apr 5, 2026

    @rathi-yash
    Contributor

    Hi, I would like to help with this! Which workspace would you recommend starting with to get up to speed?

  2. awanlin commented on Apr 7, 2026

    @awanlin
    ContributorAuthor

    Hi @rathi-yash, I would just grab from the top of the list to be honest 👍

  3. rathi-yash commented on Apr 7, 2026

    @rathi-yash
    Contributor

    sure sounds good, will get started today itself!

  4. added
    good first issue
    and removed on Apr 15, 2026
  5. rathi-yash commented on Apr 19, 2026

    @rathi-yash
    Contributor

    @awanlin, @hopehadfield and I have started creating PRs, could you let us know who would be reviewing the PRs? Also if i have question, should i ask here or tag you (or anyone else) in the respective PR?

  6. Parsifal-M commented on Apr 21, 2026

    @Parsifal-M
    Contributor

    @hopehadfield to check and update the list!

  7. hopehadfield commented on Apr 21, 2026

    @hopehadfield
    Contributor

    @rathi-yash there should be someone from the Community Plugins Maintainers assigned to review each of your PRs. I would say that it's best to ask your questions for each workspace in its respective PR to limit the noise on this single issue, but if you are facing issues that precede opening a PR, then ask here.

  8. github-actions commented on Jul 11, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  9. Humerous commented on Sep 1, 2026

    @Humerous
    Contributor

    I'd like to take the gcalendar workspace.

    I checked the current workspace state and open PRs first: gcalendar is still on the pre-Jest-30 setup and I couldn't find an active Jest 30 migration PR for it.

    I'll follow the migration sequence from this issue:

    • add the Jest 30 dependencies within the gcalendar workspace;
    • run yarn install;
    • run yarn tsc:full and address any migration-related type errors;
    • verify the Backstage test CLI version is 0.35.4 or newer;
    • run the workspace test suite and fix Jest 30-specific failures;
    • keep the PR scoped only to gcalendar;
    • include the required DCO sign-off.

    If the migration exposes test or compatibility work where another contributor would be useful, I'm happy to collaborate on the implementation rather than expanding the scope independently.

    I'll report back with the actual migration/test results before opening the PR.

  10. LouisDeconinck commented on Sep 12, 2026

    @LouisDeconinck
    Contributor

    I'd like to take the graphql-voyager workspace.

    I checked the current workspace state and open PRs first: graphql-voyager is still on the pre-Jest-30 setup (no Jest 30 dev dependencies in workspaces/graphql-voyager/package.json, no Jest 30 entries in its yarn.lock) and I couldn't find an active Jest 30 migration PR for it.

    I'll follow the migration sequence from this issue:

    • add the Jest 30 dependencies within the graphql-voyager workspace;
    • run yarn install;
    • run yarn tsc:full and address any migration-related type errors;
    • verify the Backstage test CLI version is 0.35.4 or newer;
    • run the workspace test suite and fix Jest 30-specific failures;
    • keep the PR scoped only to graphql-voyager;
    • include the required DCO sign-off.

    I'll report back with the actual migration/test results before opening the PR.

  11. kaulastudies commented on Sep 14, 2026

    @kaulastudies

    I'd like to take the periskop workspace for the Jest 30 migration.

    I checked the open PR queue and issue discussion first and did not find an active migration PR for this workspace.

    I'll keep the PR scoped only to periskop, follow the migration steps in #7868, run the full TypeScript and test checks, and include DCO sign-off.

  12. armnkumar321-spec commented on Oct 16, 2026

    @armnkumar321-spec
    Contributor

    Hi @awanlin! Could I take the dynatrace workspace for the Jest 30 migration? I went through the comments here and the open PRs and didn't see anyone working on it, and its package.json doesn't pin Jest 30 yet.

    I'll follow the steps in the description: add the Jest 30 dev dependencies, run yarn tsc:full, check that backstage-cli repo test --version reports 0.35.4 or later, then fix any failing tests. I'll open one PR just for this workspace and ask here if I get stuck.

  13. added and removed
    good first issue
    on Oct 16, 2026
  14. awanlin commented on Nov 8, 2026

    @awanlin
    ContributorAuthor

    Got for it @armnkumar321-spec 👍

  15. added
    good first issue
    and removed on Nov 14, 2026
  16. awanlin commented on Nov 14, 2026

    @awanlin
    ContributorAuthor

    👋 This issue was part of the Backstage ContribFest at KubeCon + CloudNativeCon North America in Salt Lake City on November 11, 2026. The event has wrapped up, so it's once again open for contributions from everyone!

    For ContribFest we rated it Beginner, so it's a great place to start if you're new to contributing to Backstage. If you'd like to pick it up, leave a comment so others know you're working on it. 🚀

    This is a tracking issue, so there's room for many contributions. Check the existing PRs to see what's already covered.

  17. Irasha-Senarathna commented on Nov 22, 2026

    @Irasha-Senarathna

    Hi! I'd like to take the sentry workspace for the Jest 30 migration. I checked the comments and open PRs and don't see anyone working on it. I'll follow the steps in the description and open a single PR scoped to sentry.

  18. Irasha-Senarathna commented on Nov 28, 2026

    @Irasha-Senarathna

    Hi! I'd like to take the sentry workspace for the Jest 30 migration. I checked the comments and open PRs and don't see anyone working on it. I'll follow the steps in the description and open a single PR scoped to sentry.

    Opened #12483 for sentry.

  19. AdamBrez commented on Dec 3, 2026

    @AdamBrez
    Contributor

    Hi @awanlin, I would like to take lighthouse workspace. It seems no one has picked it up yet.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions