Count of assigned merge requests in sidebar doesn't update when assigned to a MR post-creation

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The count of assigned merge requests doesn't update when assigned to a merge request post-creation.

Steps to reproduce

  1. Create a merge request when gitlab-bot is down (so the creator isn't automatically designated as an assignee)
  2. Be assigned to the merge request by another user

What is the current bug behavior?

It shows 3 on the merge request button on the sidebar

What is the expected correct behavior?

It should show 4, as I'm assigned to 4 merge requests.

Relevant logs and/or screenshots

Screenshot_2023-10-24_at_8.03.13_AM

What I've tried that didn't resolve the issue

  • Refreshing the page
  • Logging out and back in
  • Switching between old/new navigation (both show 3)
  • Clearing cookies

Possible fixes

It's probably some issue with not re-fetching the data from the backend? No idea.

What resolved the issue

After a couple of hours, it started showing the proper number.

Edited by 🤖 GitLab Bot 🤖