-
Notifications
You must be signed in to change notification settings - Fork 10
When GithuB API crashes, it does not save any extracted data in srcopsmetrics #573
Comments
/assign @xtuchyna |
Hey @suppathak , so the data should be saved whenever you terminate But I think what you meant is that when waiting for GH API to be refreshed (i.e. the mi waits for API to be refreshed: Is that right? |
Hey @xtuchyna ,
In short, I experience this in all cases, except when the program actually finishes extracting all the PRs from a repo. However, now I am presently extracting data from relatively small repo (which has ~10 PR). I can see here the code is working properly. That is, even if the code terminates in between. The extracted data so far is saved properly in the srcopsmetrics folder as a json file. |
Thanks for clarification! |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Could not reproduce the issue, seems like either it was fixed by some other PR or I have different setup. @suppathak I guess you did everything by default and had not set other envvars differently, correct? |
@xtuchyna I am having the same issue. I am using As described here aicoe-aiops/ocp-ci-analysis#603 (comment), it would be great if |
Bug description
While extracting PR information using srcopsmetrics, when github api crashes in between -> the extracted data is not saved in srcopsmetrics. Need to start all over again
!python -m srcopsmetrics.cli -clr $org/$repo -e PullRequest
Actual behavior
Extracted data gets lost whenever there is some interruption.
Expected behavior
Should save the extracted information as a json file in srcopsmetrics folder
Environment information
The text was updated successfully, but these errors were encountered: