Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump argo-ui and fix browser console errors #3212

Merged
merged 5 commits into from
Dec 5, 2023

Conversation

Marvin9
Copy link
Contributor

@Marvin9 Marvin9 commented Dec 4, 2023

When I was looking into rollout extension issue - argoproj-labs/rollout-extension#21, I observed that rollout extension depends on this repo rollout ui, and this repo depends on argo-ui. Argo UI is being updated but the latest versions isn't updated in this repo - https://github.com/argoproj/argo-rollouts/blob/master/ui/yarn.lock#L2702C57-L2702C97. The current repo's argo-ui point directly to the year 2021's commit of argo-ui.

That means old react-toastify which is picked up by rollout-extension and when installed in argo-cd, overrides the react-toastify and notification doesn't look good argoproj-labs/rollout-extension#21 in argocd.

This PR aims to fix that plus update argo-ui dependency plus fix the errors in the browser console - which are breaking extension (i.e. argoproj-labs/rollout-extension#59)

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional with a list of types and scopes found here, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

Signed-off-by: Mayursinh Sarvaiya <[email protected]>
> allow allowSyntheticDefaultImports

Signed-off-by: Mayursinh Sarvaiya <[email protected]>
Signed-off-by: Mayursinh Sarvaiya <[email protected]>
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3ec0ecc) 81.80% compared to head (13b84a6) 81.80%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3212   +/-   ##
=======================================
  Coverage   81.80%   81.80%           
=======================================
  Files         134      134           
  Lines       20576    20576           
=======================================
  Hits        16832    16832           
  Misses       2875     2875           
  Partials      869      869           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Dec 4, 2023

Go Published Test Results

2 086 tests   2 086 ✔️  2m 47s ⏱️
   118 suites         0 💤
       1 files           0

Results for commit 13b84a6.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Dec 4, 2023

E2E Tests Published Test Results

    4 files      4 suites   3h 25m 8s ⏱️
103 tests   92 ✔️   6 💤 5
422 runs  389 ✔️ 24 💤 9

For more details on these failures, see this check.

Results for commit 13b84a6.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@alexmt alexmt left a comment

Choose a reason for hiding this comment

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

Just to make sure there will be no merge conflicts and have clean git history, can you please revert changes in go.mod and go.sum?

@Marvin9 Marvin9 requested a review from alexmt December 5, 2023 15:25
Copy link

sonarcloud bot commented Dec 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Marvin9
Copy link
Contributor Author

Marvin9 commented Dec 5, 2023

@alexmt done

Copy link
Contributor

@alexmt alexmt left a comment

Choose a reason for hiding this comment

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

Thank you!

@alexmt alexmt merged commit 23b5302 into argoproj:master Dec 5, 2023
24 checks passed
ashutosh16 pushed a commit to ashutosh16/argo-rollouts that referenced this pull request Dec 8, 2023
* feat: update argo-ui package

Signed-off-by: Mayursinh Sarvaiya <[email protected]>

* chore: revert back moment package import

> allow allowSyntheticDefaultImports

Signed-off-by: Mayursinh Sarvaiya <[email protected]>

* fix: browser console errors

Signed-off-by: Mayursinh Sarvaiya <[email protected]>

---------

Signed-off-by: Mayursinh Sarvaiya <[email protected]>
Signed-off-by: ashutosh16 <[email protected]>
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.

2 participants