-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Remove unused files and packages leading to deprecated warning #1936
Remove unused files and packages leading to deprecated warning #1936
Conversation
* Replace package vm2 with isolated-vm * Removed package isolated-vm
…oundation#1668) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.3...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.2.7 to 3.2.8. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v3.2.8/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v3.2.8/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Adding information for MongoDB retry writes feature access.
…n#1808) Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.6 to 6.9.9. - [Release notes](https://github.com/nodemailer/nodemailer/releases) - [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md) - [Commits](nodemailer/nodemailer@v6.9.6...v6.9.9) --- updated-dependencies: - dependency-name: nodemailer dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congratulations on making your first PR! 🎊 If you haven't already, check out our Contributing Guidelines and PR Reporting Guidelines to ensure that you are following our guidelines for contributing and creating PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- You have removed organization an user image functionality.
- Have you checked whether these changes will affect the ability of users to change their profile pictures and organizations to change their thumbnail image in the Admin organizations screen?
This PR seems to be negatively affecting the end user experience and will cause the API clients to break
@palisadoes, these files are not being used. |
Please fix the failing tests |
@pranshugupta54 It looks like there are still some failing tests. Let us know when its ready. |
Hey @Cioppolo14, it's failing some env error test. I think there is some issue with Repo's env added to secrets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pranshugupta54 Can I know why you removed pm2?
As pm2 is an important process manager for talawa-api production environment which facilitates built in load-balancing,logging, provide 24/7 no downtime for applications and various facilities for prod env setup.
@varshith257, Oh, wasn't sure about production, didn't find it getting imported anywhere. |
I have found many reporting about this issue in the package repo of pm2 @xoldyckk Can we use pm2 ignoring the deprecated warning of uuid which hasn't been solved for almost 2+ years of the same issue? |
@varshith257, the failing test shows the env which uses localhost 🤔 |
Test passed on another PR with same error - here ![]() |
Switch to replica set. It should resolve the above problem. Get ahead to Mongo atlas and create a cluster and copy the connection string for the use of mongo-compass and use that string in mongoDB atlas to create a new connection in mongoDB compass and connect it. Recently a PR got merged for strict use of replica-set db only. If it isn't a replica set the session can't start and can throw error as above. |
Connecting to a mongodb atlas won't do anything as i'll be adding it on my local, so there will be no change on Github Action test |
How is this PR passing with replica set error |
@pranshugupta54 Got it. I haver observed the behaviour of it. Let me update you on this |
@pranshugupta54 I have seen the related changes you made to remove image-hash instead it using encodedImageStorage.
|
@palisadoes @pranshugupta54 I have tested with dummy PR. The .env variables error is bypassing it isn't the cause of the error. I suscept the issue related to code changes. @pranshugupta54 as in your error log it also has been bypassed error it doesn't exit with an error due to it. Can run |
@varshith257, it fails on 1 test of fundraising, though this PR has no file changes related to it |
Hey @palisadoes / @Cioppolo14 / @xoldyckk , is there anything else needed here? |
@pranshugupta54 please can you update your branch, it is currently out of date with the develop branch |
Hey @Olatade, updated 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> talawa-api@1.0.0 format:check
> prettier --check "**/*.{ts,tsx,json,scss,css}"
Checking formatting...
[warn] src/utilities/index.ts
[warn] Code style issues found in the above file. Run Prettier to fix.
Error: Process completed with exit code 1.
fix this only it is stopper to pass the all tests
Run Prettier to fix this to src/utilities/index.ts
Fixed it. |
The test is again failing at some unknown test. |
Please ask the |
This is an update on the PR merging freeze:
We decided to do this at the beginning of the weekend to give us all time to adjust PR code and create bug fixes that may arise. Update your code at or after midnight GMT on the morning of March 23, 2024. (5:30am IST). If your PRs have already been approved, request a re-review after fixing the conflicts and refactoring to the new |
The PR merging freeze is lifted.
Background:
|
@pranshugupta54 Please fix the conflicting files and failed tests. |
Now, the issue requires too many other packages to be removed too for fixing the deprecated packages. |
What kind of change does this PR introduce?
Removed files related to
image-hash
andpm2
to fix deprecateduuid@3.4.0
Issue Number:
Fixes #1517
Does this PR introduce a breaking change?
Should try uploading same image for multiple user accounts for testing it once.
Note:
I'm not familiar with Talawa App, please make sure to test changing images for user and organisations once