Skip to content

chore: separate yarn workspaces#2790

Merged
openshift-merge-bot[bot] merged 4 commits intomainfrom
rhidp-6987
May 6, 2025
Merged

chore: separate yarn workspaces#2790
openshift-merge-bot[bot] merged 4 commits intomainfrom
rhidp-6987

Conversation

@schultzp2020
Copy link
Contributor

@schultzp2020 schultzp2020 commented Apr 22, 2025

Description

Please explain the changes you made here.

Which issue(s) does this PR fix

Fixes https://issues.redhat.com/browse/RHIDP-6987

  • Separate Dynamic Plugins workspace from the "Core" workspace
  • Update the dockerfile to reflect these changes.

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

@openshift-ci openshift-ci bot requested review from dzemanov and josephca April 22, 2025 16:35
@schultzp2020 schultzp2020 force-pushed the rhidp-6987 branch 2 times, most recently from ee3aa04 to 8fd7ce0 Compare April 22, 2025 19:48
@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@schultzp2020 schultzp2020 force-pushed the rhidp-6987 branch 2 times, most recently from 9fa4ce1 to 0bbed4b Compare April 23, 2025 15:29
@Omar-AlJaljuli
Copy link
Contributor

/retest

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

Copy link
Member

@04kash 04kash left a comment

Choose a reason for hiding this comment

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

lgtm, just left a comment

"resolutions": {
"@types/react": "18.3.20",
"@types/react-dom": "18.3.6",
"@rjsf/utils": "=5.24.0",
Copy link
Member

Choose a reason for hiding this comment

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

This resolution can be removed if we switch to using @backstage-community/plugin-rbac 1.40.1

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

Copy link
Member

Choose a reason for hiding this comment

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

no e2e? why not?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's no need to build the e2e package in the container.

Copy link
Member

Choose a reason for hiding this comment

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

no longer needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct, it's copied later on.

Copy link
Member

Choose a reason for hiding this comment

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

none of these package.json files are required anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct, it's copied later on.

Copy link
Member

Choose a reason for hiding this comment

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

so we only need these now?

./package.json
./packages/app/package.json
./packages/backend/package.json
./plugins/dynamic-plugins-info-backend/package.json
./plugins/dynamic-plugins-info/package.json
./plugins/licensed-users-info-backend/package.json
./plugins/scalprum-backend/package.json

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct, it's the bare minimum now.

@nickboldt
Copy link
Member

I have questions. I think we need input from @gashcrumb and @davidfestal before making these changes for the dynamic wrappers and changing how they're included in the dockerfiles.

@schultzp2020
Copy link
Contributor Author

schultzp2020 commented Apr 26, 2025

The dynamic plugin package.jsons are now copied here because we don't need them earlier.
The dist-types folder needs to be located under dynamic-plugins since the workspace changed.

@github-actions
Copy link
Contributor

Signed-off-by: Paul Schultz <pschultz@pobox.com>

add @rjsf/utils to resolutions to fix export-dynamic issues with rbac

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

fix build:dockerfile

Signed-off-by: Paul Schultz <pschultz@pobox.com>
Signed-off-by: Paul Schultz <pschultz@pobox.com>
Signed-off-by: Paul Schultz <pschultz@pobox.com>
Signed-off-by: Paul Schultz <pschultz@pobox.com>
Copy link
Member

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

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

blindly adding approval so this get automerged if tests pass - livin' la vida agile woo!

/lgtm
/approve

@openshift-ci
Copy link

openshift-ci bot commented May 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nickboldt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label May 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2025

@openshift-merge-bot openshift-merge-bot bot merged commit 61de911 into main May 6, 2025
14 checks passed
@openshift-merge-bot openshift-merge-bot bot deleted the rhidp-6987 branch May 6, 2025 19:05
chadcrum pushed a commit to chadcrum/rhdh that referenced this pull request Aug 3, 2025
* separate yarn workspaces

Signed-off-by: Paul Schultz <pschultz@pobox.com>

add @rjsf/utils to resolutions to fix export-dynamic issues with rbac

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

fix build:dockerfile

Signed-off-by: Paul Schultz <pschultz@pobox.com>

* update dockerfile

Signed-off-by: Paul Schultz <pschultz@pobox.com>

* update the copy plugins scipt

Signed-off-by: Paul Schultz <pschultz@pobox.com>

* update gh actions

Signed-off-by: Paul Schultz <pschultz@pobox.com>

---------

Signed-off-by: Paul Schultz <pschultz@pobox.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.

5 participants