-
Bug
-
Resolution: Timed out
-
Low
-
1
-
Severity 3 - Minor
-
31
-
Issue Summary
When a change is made on the source branch of an open PR that you are a reviewer of, there is a popup indicating new changes.
Clicking on "reload page" in the popup does a soft refresh which does not refresh the actual file changes.
Steps to Reproduce
- Get a PR that you are an approver of. Make sure the PR is open
- Have the PR open on one screen in the browser
- Make a commit on the source branch
- Wait for a few seconds for the PR to get the popup
- Click on the Reload Page button on the pop-up
- It will refresh some components but the actual file diff is not reloaded
On checking the HAR file, we can notice that when we do a hard refresh, there are a couple of endpoints for diff and diffstat being called to fetch the diff. These endpoints are not called when the reload page button is clicked.
Additionally, the issue is only reproducible when the browser window with the PR is inactive. If the browser window is focused at the time of making the commit, the issue is not reproducible
Expected Results
The file diff is loaded along with refreshing other components of the PR
Actual Results
The diff of the files are not updated in the PR.
Workaround
A hard refresh of the PR page will reload the file diff