Git-point: Wrong PR status reported

Created on 14 Aug 2017  路  9Comments  路  Source: gitpoint/git-point

GitPoint displays PR #242 as merged, but it's not merged yet

Wrong PR status

bug has pr

Most helpful comment

I reproduced this one earlier today! And luckily, I was using reactotron :

capture d ecran 2017-08-14 a 13 29 09

Step:

  • Last repository I opened was Antoine38660/100pompes (private one, without any PR).
  • I relauched the app (shift+c and yarn start:ios)
  • I looked at #250

I think it's a "cache" issue, is it possible?

All 9 comments

I can not reproduce this, I updated the master branch, I look at the Android simulator.

@machour give please more details (and check again).

image

My guess is that the status was unsuccessfully fetched and did not update from a previous PR. Very strange.

Yes, perhaps we need to figure out how to step-by-step reproduce this bug.

Yeah I think @andrewda is right, it's probably persisted data from the previous PR you just visited in the app @machour which was merged. Will try to reproduce this myself as well

I reproduced this one earlier today! And luckily, I was using reactotron :

capture d ecran 2017-08-14 a 13 29 09

Step:

  • Last repository I opened was Antoine38660/100pompes (private one, without any PR).
  • I relauched the app (shift+c and yarn start:ios)
  • I looked at #250

I think it's a "cache" issue, is it possible?

There's definitely issues with the cache. For example, if you browse to a Repository informations, then to another one, contributors & owner from the previous repository are displayed while the new informations are being loaded.

But, as you can see in the screenshot, some other API endpoint are not affected (GET /repos/gitpoint/git-point/issues/250/comments).

In the .actions.js files, repo information aren't getted in the same way

Huh, very strange. Another place I've noticed this is repository contributors.

I guess it is something like #315, and I try to solve it in #332. Please check.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

housseindjirdeh picture housseindjirdeh  路  5Comments

Antoine38660 picture Antoine38660  路  3Comments

patw0929 picture patw0929  路  5Comments

gulien picture gulien  路  5Comments

andrewda picture andrewda  路  4Comments