Skip to content

Dev to main sync - #2616

Merged
prakashchoudhary07 merged 1 commit into
mainfrom
develop
Aug 28, 2026
Merged

Dev to main sync#2616
prakashchoudhary07 merged 1 commit into
mainfrom
develop

Conversation

@prakashchoudhary07

@prakashchoudhary07 prakashchoudhary07 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Date: 27-08-2026

Developer Name: @prakashchoudhary07


Description

PR's going in

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

Test Coverage

Screenshot 1

Additional Notes

…-and-tasks-route

feat add caching for users and tasks route
Comment thread routes/tasks.js
router.post("/orphanTasks", authenticate, authorizeRoles([SUPERUSER]), tasks.orphanTasks);
router.post(
"/orphanTasks",
authenticate,
Comment thread routes/users.js
router.patch("/self", authenticate, userValidator.updateUser, users.updateSelf); // this route is being deprecated soon, please use alternate available `/users/:userId?profile=true` PATCH endpoint.
router.post(
"/update-in-discord",
authenticate,
Comment thread routes/users.js
invalidateCache({ invalidationKeys: [ALL_USERS] }),
users.setInDiscordScript
);
router.post("/verify", authenticate, invalidateCache({ invalidationKeys: [ALL_USERS] }), users.verifyUser);
Comment thread routes/users.js
);
router.patch(
"/self",
authenticate,
Comment thread routes/users.js
router.get("/isUsernameAvailable/:username", authenticate, users.getUsernameAvailabilty);
router.get("/username", authenticate, userValidator.validateGenerateUsernameQuery, users.generateUsername);
router.get("/chaincode", authenticate, users.generateChaincode);
router.get("/chaincode", authenticate, invalidateCache({ invalidationKeys: [ALL_USERS] }), users.generateChaincode);
Comment thread routes/users.js
router.put("/self/intro", authenticate, userValidator.validateJoinData, users.addUserIntro); // This route is being deprecated soon, please use alternate available route `/users/:userId/intro`.
router.put(
"/self/intro",
authenticate,
Comment thread routes/users.js
router.patch("/profileURL", authenticate, userValidator.updateProfileURL, users.profileURL);
router.patch(
"/profileURL",
authenticate,
Comment thread routes/users.js
router.patch("/:userId", authenticate, conditionalMiddleware(userValidator.updateUser), users.updateProfile);
router.patch(
"/:userId",
authenticate,
Comment thread routes/users.js
router.post("/batch-username-update", authenticate, authorizeRoles([SUPERUSER]), users.updateUsernames);
router.post(
"/batch-username-update",
authenticate,
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 88dbfb99-9844-4d91-b0d5-31f9a9078b5e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@prakashchoudhary07
prakashchoudhary07 merged commit fbba312 into main Aug 28, 2026
4 of 5 checks passed
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.

3 participants