ptsochantaris / trailer

Managing Pull Requests and Issues For GitHub & GitHub Enterprise
https://github.com/ptsochantaris/trailer
Other
1.17k stars 67 forks source link

OS X version keeps resetting watched repositories #211

Closed robinsenior closed 9 years ago

robinsenior commented 9 years ago

Every day I come to work and Trailer has reset my list of watched repos and gives the message "All your repositories are marked as hidden..."

This has only started in the last week or so. Known issue?

pedrocunha commented 9 years ago

I think I have exactly the same problem and seems to be related with having the machine on sleep, but doesn't happen 100% of the time.

Weirdly enough to fix it, I have to go preferences and just open the repositories list menu, and eventually Trailer fetches everything again.

ptsochantaris commented 9 years ago

No, not a known issue, so thanks for calling it in!

I'm guessing it is sleep-related in some way, specifically with network availability. Most probably, in fact, related to failed syncs during power-nap which has been known to wreak havoc in the past with sync.

Will look into it ASAP, stay tuned.

ptsochantaris commented 9 years ago

When you leave the machine at night, if you can, could you enable logging from Trailer's settings (in the misc tab). A trace from console.app may help us get a better idea of what's happening, either at night or in the morning when the system wakes. I'll try to leave my laptop powered overnight to let it power-nap and see if I can reproduce this locally.

ptsochantaris commented 9 years ago

I have managed to reproduce this on my Macbook Air. I left it on power overnight, let it sleep and in the morning I got the exact same issue you guys are describing. I have snapshotted the DB and will dig into logs to see what's going on. If you do get some insight or useful output from logs on your end, please DO post them here. Stay tuned, we'll get to the bottom of this :+1:

ptsochantaris commented 9 years ago

Ok, I have found it. This is what Trailer does when it syncs something, like repos:

This works great, but if fetching data from the server fails, everything would get nuked, so there is a rollback step. If an API server fails at some point for whatever reason, the "to delete" step is rolled back.

In the case of fetching repositories, this last step got skipped due to a regression, which meant that if, during a power nap, Trailer gets woken up (and tries to fetch repos as part of the routine sync, if it's been a while since they were fetched when the system was last up), but the fetch fails because the power nap shuts down too early, the repos stay marked as "to delete" and get nuked at the end of the sync.

I am now correcting this and will post an update with a fix today.

ptsochantaris commented 9 years ago

(Also, there's a second implied bug here, Trailer should have reported that you have no visible repositories, not that all of them are hidden - fixing that too)

ptsochantaris commented 9 years ago

I've just released v1.3.5 which should correct this issue, as it includes changes to correct syncing during system sleep (or dark wake states, which is the main problem here) as well as corrections to the sync code which should guard against the problem I described above (it was a little more complex than what I described, but the gist is pretty much correct)

Please have a go and let me know if it improves things for you.

pedrocunha commented 9 years ago

The new version seems to have fixed it for me, thank you :+1:

ptsochantaris commented 9 years ago

Fantastic :+1: Let's keep this open for a bit to see if it stays fixed for a couple of days, just in case.

robinsenior commented 9 years ago

Great work, thanks :+1:

ptsochantaris commented 9 years ago

You're very welcome :bow: and thank you once again for reporting the issue.

mkantor commented 9 years ago

I have a possibly-related issue. I'm not exactly sure when it started; it could have been only since v1.3.5 (about a month ago seems right).

Some background: I have two servers set up, public GitHub and a firewalled GitHub Enterprise server. I regularly am unable to sync with the GHE server (this is normal; any time I'm away from my office and not connected to the VPN these requests should fail, and I have the "report syncing problems" box unchecked for this reason).

The actual issue: Trailer has been frequently popping up the "X new repositories" notification for existing repositories. This has been only mildly annoying so I never looked into it, but after reading this comment thread I suspect it may be related. I'll have to do some experimenting, but it seems plausible that this is happening because Trailer was unable to sync at some point when I was not on the VPN, then it deleted or flagged these repositories in some way, and then next time when I join the VPN it is acting as if it's never seen these repos before.

I've enabled logging and will send logs next time this happens. @ptsochantaris, let me know if you'd like me to open a separate issue about this, and as always thanks for the awesome work.

mkantor commented 9 years ago

I was able to manually reproduce the issue I described above with the following process:

  1. Disconnect from my VPN to render the GHE server unreachable.
  2. Open Trailer's preferences and click the "Refresh Repos Now" button.
  3. Re-connect to the VPN.
  4. Click "Refresh Repos Now" again.

Result: I see the "X new repositories" notification for repositories that previously existed.

Here's a log snippet:

7/21/15 10:36:14.738 AM Trailer[2413]: (Kabam GitHub Enterprise ) Placing URL https:/[redacted]/api/v3/user on the throttled list
7/21/15 10:36:14.739 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/user - FAILED: A server with the specified hostname could not be found.
7/21/15 10:36:17.285 AM Trailer[2413]: Setting LAST_PREFS_TAB_SELECTED_OSX to 1
7/21/15 10:36:24.198 AM Trailer[2413]: Starting refresh
7/21/15 10:36:24.205 AM Trailer[2413]: (Kabam GitHub Enterprise ) Placing URL https:/[redacted]/api/v3/user on the throttled list
7/21/15 10:36:24.205 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/user - FAILED: A server with the specified hostname could not be found.
7/21/15 10:36:28.844 AM Trailer[2413]: (GitHub) GET https:/api.github.com/user - RESULT: 200
7/21/15 10:36:29.064 AM Trailer[2413]: (GitHub) GET https:/api.github.com/user/teams?per_page=100&page=1 - RESULT: 200
7/21/15 10:36:29.066 AM Trailer[2413]: Updating Team: 88776
7/21/15 10:36:29.068 AM Trailer[2413]: Updating Team: 303327
7/21/15 10:36:29.069 AM Trailer[2413]: Updating Team: 716398
7/21/15 10:36:29.070 AM Trailer[2413]: Updating Team: 733319
7/21/15 10:36:29.071 AM Trailer[2413]: Updating Team: 1051949
7/21/15 10:36:30.668 AM Trailer[2413]: (GitHub) GET https:/api.github.com/user/subscriptions?per_page=100&page=1 - RESULT: 200
7/21/15 10:36:30.731 AM Trailer[2413]: Skipping Repo: 1306986
7/21/15 10:36:30.734 AM Trailer[2413]: Skipping Repo: 2985236
7/21/15 10:36:30.737 AM Trailer[2413]: Skipping Repo: 4011166
7/21/15 10:36:30.740 AM Trailer[2413]: Skipping Repo: 4255496
7/21/15 10:36:30.743 AM Trailer[2413]: Skipping Repo: 5074782
7/21/15 10:36:30.746 AM Trailer[2413]: Skipping Repo: 5254767
7/21/15 10:36:30.749 AM Trailer[2413]: Skipping Repo: 5732767
7/21/15 10:36:30.751 AM Trailer[2413]: Skipping Repo: 5987608
7/21/15 10:36:30.754 AM Trailer[2413]: Skipping Repo: 6254459
7/21/15 10:36:30.759 AM Trailer[2413]: Skipping Repo: 6315962
7/21/15 10:36:30.765 AM Trailer[2413]: Skipping Repo: 6479058
7/21/15 10:36:30.771 AM Trailer[2413]: Skipping Repo: 7026123
7/21/15 10:36:30.777 AM Trailer[2413]: Skipping Repo: 7135627
7/21/15 10:36:30.781 AM Trailer[2413]: Skipping Repo: 7232961
7/21/15 10:36:30.788 AM Trailer[2413]: Skipping Repo: 7652348
7/21/15 10:36:30.794 AM Trailer[2413]: Skipping Repo: 7882490
7/21/15 10:36:30.798 AM Trailer[2413]: Skipping Repo: 8767764
7/21/15 10:36:30.802 AM Trailer[2413]: Skipping Repo: 8941259
7/21/15 10:36:30.807 AM Trailer[2413]: Skipping Repo: 9725376
7/21/15 10:36:30.811 AM Trailer[2413]: Skipping Repo: 9739019
7/21/15 10:36:30.817 AM Trailer[2413]: Skipping Repo: 9792731
7/21/15 10:36:30.822 AM Trailer[2413]: Skipping Repo: 9817249
7/21/15 10:36:30.825 AM Trailer[2413]: Skipping Repo: 10067321
7/21/15 10:36:30.829 AM Trailer[2413]: Skipping Repo: 10487844
7/21/15 10:36:30.831 AM Trailer[2413]: Skipping Repo: 10674825
7/21/15 10:36:30.835 AM Trailer[2413]: Skipping Repo: 10774122
7/21/15 10:36:30.838 AM Trailer[2413]: Skipping Repo: 11131459
7/21/15 10:36:30.840 AM Trailer[2413]: Skipping Repo: 11297263
7/21/15 10:36:30.843 AM Trailer[2413]: Skipping Repo: 11319325
7/21/15 10:36:30.846 AM Trailer[2413]: Skipping Repo: 11351115
7/21/15 10:36:30.850 AM Trailer[2413]: Skipping Repo: 11514488
7/21/15 10:36:30.853 AM Trailer[2413]: Skipping Repo: 11535076
7/21/15 10:36:30.857 AM Trailer[2413]: Skipping Repo: 12392881
7/21/15 10:36:30.860 AM Trailer[2413]: Skipping Repo: 12470554
7/21/15 10:36:30.864 AM Trailer[2413]: Skipping Repo: 12792034
7/21/15 10:36:30.867 AM Trailer[2413]: Skipping Repo: 12962210
7/21/15 10:36:30.869 AM Trailer[2413]: Skipping Repo: 13428025
7/21/15 10:36:30.872 AM Trailer[2413]: Skipping Repo: 13576537
7/21/15 10:36:30.875 AM Trailer[2413]: Skipping Repo: 13628959
7/21/15 10:36:30.878 AM Trailer[2413]: Skipping Repo: 14030745
7/21/15 10:36:30.882 AM Trailer[2413]: Skipping Repo: 14572543
7/21/15 10:36:30.884 AM Trailer[2413]: Skipping Repo: 14731559
7/21/15 10:36:30.888 AM Trailer[2413]: Skipping Repo: 15087059
7/21/15 10:36:30.891 AM Trailer[2413]: Skipping Repo: 15172189
7/21/15 10:36:30.895 AM Trailer[2413]: Skipping Repo: 16213627
7/21/15 10:36:30.898 AM Trailer[2413]: Skipping Repo: 16528485
7/21/15 10:36:30.901 AM Trailer[2413]: Skipping Repo: 16552832
7/21/15 10:36:30.904 AM Trailer[2413]: Skipping Repo: 16624912
7/21/15 10:36:30.907 AM Trailer[2413]: Skipping Repo: 16750667
7/21/15 10:36:30.911 AM Trailer[2413]: Skipping Repo: 16937098
7/21/15 10:36:30.914 AM Trailer[2413]: Skipping Repo: 16938457
7/21/15 10:36:30.917 AM Trailer[2413]: Skipping Repo: 17223348
7/21/15 10:36:30.921 AM Trailer[2413]: Skipping Repo: 17271389
7/21/15 10:36:30.923 AM Trailer[2413]: Skipping Repo: 17844108
7/21/15 10:36:30.927 AM Trailer[2413]: Skipping Repo: 18106732
7/21/15 10:36:30.930 AM Trailer[2413]: Skipping Repo: 18717390
7/21/15 10:36:30.932 AM Trailer[2413]: Skipping Repo: 19847174
7/21/15 10:36:30.936 AM Trailer[2413]: Skipping Repo: 20339771
7/21/15 10:36:30.939 AM Trailer[2413]: Skipping Repo: 20704738
7/21/15 10:36:30.942 AM Trailer[2413]: Skipping Repo: 20972004
7/21/15 10:36:30.945 AM Trailer[2413]: Skipping Repo: 21289143
7/21/15 10:36:30.949 AM Trailer[2413]: Skipping Repo: 21400818
7/21/15 10:36:30.952 AM Trailer[2413]: Skipping Repo: 21603923
7/21/15 10:36:30.955 AM Trailer[2413]: Skipping Repo: 21661901
7/21/15 10:36:30.958 AM Trailer[2413]: Skipping Repo: 21828722
7/21/15 10:36:30.961 AM Trailer[2413]: Skipping Repo: 21829535
7/21/15 10:36:30.964 AM Trailer[2413]: Skipping Repo: 22084901
7/21/15 10:36:30.967 AM Trailer[2413]: Skipping Repo: 22369887
7/21/15 10:36:30.970 AM Trailer[2413]: Skipping Repo: 22703348
7/21/15 10:36:30.974 AM Trailer[2413]: Skipping Repo: 22738840
7/21/15 10:36:30.977 AM Trailer[2413]: Skipping Repo: 23243319
7/21/15 10:36:30.981 AM Trailer[2413]: Skipping Repo: 23400855
7/21/15 10:36:30.983 AM Trailer[2413]: Skipping Repo: 23713839
7/21/15 10:36:30.986 AM Trailer[2413]: Skipping Repo: 23973658
7/21/15 10:36:30.989 AM Trailer[2413]: Skipping Repo: 25131364
7/21/15 10:36:30.991 AM Trailer[2413]: Skipping Repo: 25504240
7/21/15 10:36:30.994 AM Trailer[2413]: Skipping Repo: 25979305
7/21/15 10:36:30.998 AM Trailer[2413]: Skipping Repo: 26549535
7/21/15 10:36:31.001 AM Trailer[2413]: Skipping Repo: 26776889
7/21/15 10:36:31.004 AM Trailer[2413]: Skipping Repo: 27556214
7/21/15 10:36:31.007 AM Trailer[2413]: Skipping Repo: 27615304
7/21/15 10:36:31.009 AM Trailer[2413]: Skipping Repo: 29701980
7/21/15 10:36:31.013 AM Trailer[2413]: Skipping Repo: 29940570
7/21/15 10:36:31.016 AM Trailer[2413]: Skipping Repo: 30274867
7/21/15 10:36:31.020 AM Trailer[2413]: Skipping Repo: 30329067
7/21/15 10:36:31.022 AM Trailer[2413]: Skipping Repo: 30330394
7/21/15 10:36:31.026 AM Trailer[2413]: Skipping Repo: 30561126
7/21/15 10:36:31.029 AM Trailer[2413]: Skipping Repo: 30575663
7/21/15 10:36:31.032 AM Trailer[2413]: Skipping Repo: 30976997
7/21/15 10:36:31.035 AM Trailer[2413]: Skipping Repo: 31285946
7/21/15 10:36:31.038 AM Trailer[2413]: Skipping Repo: 31636318
7/21/15 10:36:31.042 AM Trailer[2413]: Skipping Repo: 32087639
7/21/15 10:36:31.045 AM Trailer[2413]: Skipping Repo: 32751096
7/21/15 10:36:31.049 AM Trailer[2413]: Skipping Repo: 32951181
7/21/15 10:36:31.055 AM Trailer[2413]: Skipping Repo: 33145053
7/21/15 10:36:31.061 AM Trailer[2413]: Skipping Repo: 34278119
7/21/15 10:36:31.066 AM Trailer[2413]: Skipping Repo: 34621822
7/21/15 10:36:31.070 AM Trailer[2413]: Skipping Repo: 34761576
7/21/15 10:36:31.074 AM Trailer[2413]: Skipping Repo: 35851847
7/21/15 10:36:31.077 AM Trailer[2413]: Skipping Repo: 36477246
7/21/15 10:36:31.366 AM Trailer[2413]: (GitHub) GET https:/api.github.com/user/subscriptions?per_page=100&page=2 - RESULT: 200
7/21/15 10:36:31.384 AM Trailer[2413]: Skipping Repo: 2181828
7/21/15 10:36:31.388 AM Trailer[2413]: Skipping Repo: 19830395
7/21/15 10:36:31.391 AM Trailer[2413]: Skipping Repo: 24729923
7/21/15 10:36:31.395 AM Trailer[2413]: Skipping Repo: 32605426
7/21/15 10:36:31.398 AM Trailer[2413]: Skipping Repo: 34076290
7/21/15 10:36:31.402 AM Trailer[2413]: Skipping Repo: 36828885
7/21/15 10:36:31.405 AM Trailer[2413]: Skipping Repo: 37482683
7/21/15 10:36:31.408 AM Trailer[2413]: Skipping Repo: 37747165
7/21/15 10:36:31.411 AM Trailer[2413]: Skipping Repo: 38456329
7/21/15 10:36:31.414 AM Trailer[2413]: Skipping Repo: 38546425
7/21/15 10:36:31.417 AM Trailer[2413]: Skipping Repo: 38841561
7/21/15 10:36:31.420 AM Trailer[2413]: Skipping Repo: 38852271
7/21/15 10:36:31.424 AM Trailer[2413]: Skipping Repo: 39040946
7/21/15 10:36:31.427 AM Trailer[2413]: Skipping Repo: 39283965
7/21/15 10:36:31.431 AM Trailer[2413]: Skipping Repo: 39408045
7/21/15 10:36:31.434 AM Trailer[2413]: Saving DB
7/21/15 10:36:31.441 AM Trailer[2413]: Updating PR menu, 28 total items
7/21/15 10:36:31.713 AM Trailer[2413]: Refresh done
7/21/15 10:36:31.905 AM Trailer[2413]: Updating PR status item
7/21/15 10:36:39.115 AM Trailer[2413]: Starting refresh
7/21/15 10:36:39.119 AM Trailer[2413]: Check for updates set to 1935423472 every 28800.000000 seconds
7/21/15 10:36:39.129 AM Trailer[2413]: (Kabam GitHub Enterprise ) Placing URL https:/[redacted]/api/v3/users/mkantor/events?per_page=100&page=1 on the throttled list
7/21/15 10:36:39.129 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/users/mkantor/events?per_page=100&page=1 - FAILED: A server with the specified hostname could not be found.
7/21/15 10:36:39.150 AM Trailer[2413]: (Kabam GitHub Enterprise ) Placing URL https:/[redacted]/api/v3/users/mkantor/received_events?per_page=100&page=1 on the throttled list
7/21/15 10:36:39.150 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/users/mkantor/received_events?per_page=100&page=1 - FAILED: A server with the specified hostname could not be found.
7/21/15 10:36:39.515 AM Trailer[2413]: (GitHub) GET https:/api.github.com/users/mkantor/events?per_page=100&page=1 - RESULT: 304
7/21/15 10:36:39.655 AM Trailer[2413]: (GitHub) GET https:/api.github.com/users/mkantor/received_events?per_page=100&page=1 - RESULT: 200
7/21/15 10:36:39.672 AM Trailer[2413]: New event at 2015-07-21 17:33:41 +0000 from Repo ID 11514488
7/21/15 10:36:39.673 AM Trailer[2413]: New event at 2015-07-21 17:33:41 +0000 from Repo ID 11514488
7/21/15 10:36:39.673 AM Trailer[2413]: New event at 2015-07-21 17:33:40 +0000 from Repo ID 11514488
7/21/15 10:36:39.674 AM Trailer[2413]: New event at 2015-07-21 17:33:36 +0000 from Repo ID 11514488
7/21/15 10:36:39.674 AM Trailer[2413]: New event at 2015-07-21 17:33:09 +0000 from Repo ID 11514488
7/21/15 10:36:39.674 AM Trailer[2413]: The rest of these received events are processed, stopping event parsing
7/21/15 10:36:39.675 AM Trailer[2413]: Marked 1 dirty repos that have new events in their event stream
7/21/15 10:36:40.009 AM Trailer[2413]: (GitHub) GET https:/api.github.com/repos/Kabam/distribution-devops/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:36:40.017 AM Trailer[2413]: Skipping PullRequest: 40409351
7/21/15 10:36:40.019 AM Trailer[2413]: Skipping PullRequest: 40406246
7/21/15 10:36:40.020 AM Trailer[2413]: Skipping PullRequest: 40193559
7/21/15 10:36:40.021 AM Trailer[2413]: Skipping PullRequest: 40080641
7/21/15 10:36:40.023 AM Trailer[2413]: Updating PullRequest: 39608913
7/21/15 10:36:40.030 AM Trailer[2413]: Skipping PullRequest: 39116433
7/21/15 10:36:40.031 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.031 AM Trailer[2413]: Will check statuses for PR: [redacted]
7/21/15 10:36:40.032 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.032 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.032 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.032 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.033 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.033 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.033 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.033 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.034 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.034 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.034 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.034 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.035 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.035 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.035 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.035 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.035 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.036 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.036 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.036 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.036 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.037 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.037 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.037 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.037 AM Trailer[2413]: Will check statuses for PR: [redacted]
7/21/15 10:36:40.038 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:36:40.040 AM Trailer[2413]: Checking closed PR to see if it was merged: [redacted]
7/21/15 10:36:40.188 AM Trailer[2413]: (GitHub) GET https://api.github.com/repos/Kabam/community/statuses/[redacted]?per_page=100&page=1 - RESULT: 200
7/21/15 10:36:40.196 AM Trailer[2413]: (GitHub) GET https://api.github.com/repos/Kabam/distribution-devops/statuses/[redacted]?per_page=100&page=1 - RESULT: 200
7/21/15 10:36:40.199 AM Trailer[2413]: Creating PRStatus: 268025665
7/21/15 10:36:40.345 AM Trailer[2413]: (GitHub) GET https://api.github.com/repos/Kabam/distribution-devops/issues/639 - RESULT: 200
7/21/15 10:36:40.376 AM Trailer[2413]: (GitHub) GET https:/api.github.com/repos/Kabam/distribution-devops/pulls/648 - RESULT: 200
7/21/15 10:36:40.378 AM Trailer[2413]: Detected merged PR: [redacted]
7/21/15 10:36:40.379 AM Trailer[2413]: Checking if we want to keep this merged PR
7/21/15 10:36:40.379 AM Trailer[2413]: Will not keep merged PR
7/21/15 10:36:40.599 AM Trailer[2413]: (GitHub) GET https://api.github.com/repos/Kabam/distribution-devops/issues/639/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:36:40.606 AM Trailer[2413]: Skipping PRComment: 120093674
7/21/15 10:36:40.608 AM Trailer[2413]: Skipping PRComment: 120097180
7/21/15 10:36:40.610 AM Trailer[2413]: Skipping PRComment: 120139391
7/21/15 10:36:40.611 AM Trailer[2413]: Skipping PRComment: 120516945
7/21/15 10:36:40.612 AM Trailer[2413]: Skipping PRComment: 121677083
7/21/15 10:36:40.650 AM Trailer[2413]: (GitHub) GET https://api.github.com/repos/Kabam/distribution-devops/pulls/639/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:36:40.655 AM Trailer[2413]: Updating PRComment: 34301300
7/21/15 10:36:40.659 AM Trailer[2413]: Updating PRComment: 34392991
7/21/15 10:36:40.662 AM Trailer[2413]: Updating PRComment: 34393499
7/21/15 10:36:40.665 AM Trailer[2413]: Updating PRComment: 34394430
7/21/15 10:36:40.668 AM Trailer[2413]: Updating PRComment: 34394735
7/21/15 10:36:40.670 AM Trailer[2413]: Rolling back changes for failed sync on API server 'Kabam GitHub Enterprise '
7/21/15 10:36:40.671 AM Trailer[2413]: Nuking 1 PullRequest items marked for deletion
7/21/15 10:36:40.672 AM Trailer[2413]: Nuking 3 PRStatus items marked for deletion
7/21/15 10:36:40.673 AM Trailer[2413]: Nuked total 4 items marked for deletion
7/21/15 10:36:40.690 AM Trailer[2413]: Setting LAST_SUCCESSFUL_REFRESH to 2015-07-21 17:36:40 +0000
7/21/15 10:36:40.690 AM Trailer[2413]: Saving DB
7/21/15 10:36:40.695 AM Trailer[2413]: Updating PR menu, 27 total items
7/21/15 10:36:41.468 AM Trailer[2413]: Refresh done
7/21/15 10:36:41.534 AM Trailer[2413]: Updating PR status item
7/21/15 10:37:41.477 AM Trailer[2413]: Starting refresh
7/21/15 10:37:41.480 AM Trailer[2413]: (Kabam GitHub Enterprise ) Preempted fetch to previously broken link https:/[redacted]/api/v3/users/mkantor/events?per_page=100&page=1, won't actually access this URL until 2015-07-21 17:38:39 +0000
7/21/15 10:37:41.481 AM Trailer[2413]: (Kabam GitHub Enterprise ) Preempted fetch to previously broken link https:/[redacted]/api/v3/users/mkantor/received_events?per_page=100&page=1, won't actually access this URL until 2015-07-21 17:38:39 +0000
7/21/15 10:37:41.986 AM Trailer[2413]: (GitHub) GET https:/api.github.com/users/mkantor/events?per_page=100&page=1 - RESULT: 304
7/21/15 10:37:42.064 AM Trailer[2413]: (GitHub) GET https:/api.github.com/users/mkantor/received_events?per_page=100&page=1 - RESULT: 200
7/21/15 10:37:42.084 AM Trailer[2413]: New event at 2015-07-21 17:33:41 +0000 from Repo ID 11514488
7/21/15 10:37:42.085 AM Trailer[2413]: New event at 2015-07-21 17:33:41 +0000 from Repo ID 11514488
7/21/15 10:37:42.085 AM Trailer[2413]: New event at 2015-07-21 17:33:40 +0000 from Repo ID 11514488
7/21/15 10:37:42.086 AM Trailer[2413]: New event at 2015-07-21 17:33:36 +0000 from Repo ID 11514488
7/21/15 10:37:42.086 AM Trailer[2413]: The rest of these received events are processed, stopping event parsing
7/21/15 10:37:42.087 AM Trailer[2413]: Marked 1 dirty repos that have new events in their event stream
7/21/15 10:37:42.244 AM Trailer[2413]: (GitHub) GET https:/api.github.com/repos/Kabam/distribution-devops/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:37:42.248 AM Trailer[2413]: Skipping PullRequest: 40409351
7/21/15 10:37:42.250 AM Trailer[2413]: Skipping PullRequest: 40406246
7/21/15 10:37:42.251 AM Trailer[2413]: Skipping PullRequest: 40193559
7/21/15 10:37:42.252 AM Trailer[2413]: Skipping PullRequest: 40080641
7/21/15 10:37:42.253 AM Trailer[2413]: Skipping PullRequest: 39608913
7/21/15 10:37:42.255 AM Trailer[2413]: Skipping PullRequest: 39116433
7/21/15 10:37:42.256 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.256 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.256 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.257 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.257 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.257 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.257 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.258 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.258 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.258 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.258 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.259 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.259 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.259 AM Trailer[2413]: Will check statuses for PR: [redacted]
7/21/15 10:37:42.259 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.260 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.260 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.260 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.260 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.261 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.261 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.261 AM Trailer[2413]: Will check statuses for PR: [redacted]
7/21/15 10:37:42.261 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.262 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.262 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.262 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.262 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:37:42.366 AM Trailer[2413]: (GitHub) GET https://api.github.com/repos/Kabam/distribution-devops/statuses/[redacted]?per_page=100&page=1 - RESULT: 200
7/21/15 10:37:42.368 AM Trailer[2413]: Skipping PRStatus: 267409296
7/21/15 10:37:42.369 AM Trailer[2413]: Skipping PRStatus: 267405782
7/21/15 10:37:42.370 AM Trailer[2413]: Skipping PRStatus: 267405720
7/21/15 10:37:42.371 AM Trailer[2413]: (GitHub) GET https://api.github.com/repos/Kabam/kasq/statuses/[redacted]?per_page=100&page=1 - RESULT: 200
7/21/15 10:37:42.373 AM Trailer[2413]: Skipping PRStatus: 262596812
7/21/15 10:37:42.374 AM Trailer[2413]: Skipping PRStatus: 262595819
7/21/15 10:37:42.375 AM Trailer[2413]: Skipping PRStatus: 262595759
7/21/15 10:37:42.376 AM Trailer[2413]: Rolling back changes for failed sync on API server 'Kabam GitHub Enterprise '
7/21/15 10:37:42.378 AM Trailer[2413]: Nuked total 0 items marked for deletion
7/21/15 10:37:42.394 AM Trailer[2413]: Setting LAST_SUCCESSFUL_REFRESH to 2015-07-21 17:37:42 +0000
7/21/15 10:37:42.394 AM Trailer[2413]: Saving DB
7/21/15 10:37:42.398 AM Trailer[2413]: Updating PR menu, 27 total items
7/21/15 10:37:42.596 AM Trailer[2413]: Refresh done
7/21/15 10:37:42.664 AM Trailer[2413]: Updating PR status item
7/21/15 10:37:51.755 AM Trailer[2413]: Setting NEW_REPO_CHECK_PERIOD to identical value (2), skipping
7/21/15 10:37:51.755 AM Trailer[2413]: Setting REFRESH_PERIOD_KEY to identical value (60), skipping
7/21/15 10:37:51.757 AM Trailer[2413]: Setting LAST_PREFS_TAB_SELECTED_OSX to identical value (1), skipping
7/21/15 10:37:51.834 AM Trailer[2413]: (GitHub) GET https:/api.github.com/rate_limit - RESULT: 200
7/21/15 10:37:52.167 AM Trailer[2413]: (Kabam GitHub Enterprise ) Placing URL https:/[redacted]/api/v3/rate_limit on the throttled list
7/21/15 10:37:52.167 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/rate_limit - FAILED: Server responded with 404
7/21/15 10:37:53.192 AM Trailer[2413]: Starting refresh
7/21/15 10:37:53.236 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/user - RESULT: 200
7/21/15 10:37:53.367 AM Trailer[2413]: (GitHub) GET https:/api.github.com/user - RESULT: 200
7/21/15 10:37:53.408 AM Trailer[2413]: (Kabam GitHub Enterprise ) Placing URL https:/[redacted]/api/v3/user/teams?per_page=100&page=1 on the throttled list
7/21/15 10:37:53.408 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/user/teams?per_page=100&page=1 - FAILED: Server responded with 404
7/21/15 10:37:53.533 AM Trailer[2413]: (GitHub) GET https:/api.github.com/user/teams?per_page=100&page=1 - RESULT: 200
7/21/15 10:37:53.537 AM Trailer[2413]: Updating Team: 88776
7/21/15 10:37:53.539 AM Trailer[2413]: Updating Team: 303327
7/21/15 10:37:53.540 AM Trailer[2413]: Updating Team: 716398
7/21/15 10:37:53.542 AM Trailer[2413]: Updating Team: 733319
7/21/15 10:37:53.543 AM Trailer[2413]: Updating Team: 1051949
7/21/15 10:37:53.564 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/user/subscriptions?per_page=100&page=1 - RESULT: 200
7/21/15 10:37:53.579 AM Trailer[2413]: Creating Repo: 227
7/21/15 10:37:53.585 AM Trailer[2413]: Creating Repo: 230
7/21/15 10:37:53.591 AM Trailer[2413]: Creating Repo: 236
7/21/15 10:37:53.596 AM Trailer[2413]: Creating Repo: 237
7/21/15 10:37:53.602 AM Trailer[2413]: Creating Repo: 238
7/21/15 10:37:53.608 AM Trailer[2413]: Creating Repo: 239
7/21/15 10:37:53.613 AM Trailer[2413]: Creating Repo: 240
7/21/15 10:37:53.619 AM Trailer[2413]: Creating Repo: 241
7/21/15 10:37:53.625 AM Trailer[2413]: Creating Repo: 243
7/21/15 10:37:53.631 AM Trailer[2413]: Creating Repo: 244
7/21/15 10:37:53.637 AM Trailer[2413]: Creating Repo: 285
7/21/15 10:37:53.642 AM Trailer[2413]: Creating Repo: 291
7/21/15 10:37:53.648 AM Trailer[2413]: Creating Repo: 296
7/21/15 10:37:53.653 AM Trailer[2413]: Creating Repo: 336
7/21/15 10:37:54.796 AM Trailer[2413]: (GitHub) GET https:/api.github.com/user/subscriptions?per_page=100&page=1 - RESULT: 200
7/21/15 10:37:54.857 AM Trailer[2413]: Skipping Repo: 1306986
7/21/15 10:37:54.860 AM Trailer[2413]: Skipping Repo: 2985236
7/21/15 10:37:54.864 AM Trailer[2413]: Skipping Repo: 4011166
7/21/15 10:37:54.867 AM Trailer[2413]: Skipping Repo: 4255496
7/21/15 10:37:54.870 AM Trailer[2413]: Skipping Repo: 5074782
7/21/15 10:37:54.873 AM Trailer[2413]: Skipping Repo: 5254767
7/21/15 10:37:54.876 AM Trailer[2413]: Skipping Repo: 5732767
7/21/15 10:37:54.879 AM Trailer[2413]: Skipping Repo: 5987608
7/21/15 10:37:54.882 AM Trailer[2413]: Skipping Repo: 6254459
7/21/15 10:37:54.884 AM Trailer[2413]: Skipping Repo: 6315962
7/21/15 10:37:54.888 AM Trailer[2413]: Skipping Repo: 6479058
7/21/15 10:37:54.891 AM Trailer[2413]: Skipping Repo: 7026123
7/21/15 10:37:54.895 AM Trailer[2413]: Skipping Repo: 7135627
7/21/15 10:37:54.899 AM Trailer[2413]: Skipping Repo: 7232961
7/21/15 10:37:54.902 AM Trailer[2413]: Skipping Repo: 7652348
7/21/15 10:37:54.906 AM Trailer[2413]: Skipping Repo: 7882490
7/21/15 10:37:54.909 AM Trailer[2413]: Skipping Repo: 8767764
7/21/15 10:37:54.913 AM Trailer[2413]: Skipping Repo: 8941259
7/21/15 10:37:54.915 AM Trailer[2413]: Skipping Repo: 9725376
7/21/15 10:37:54.918 AM Trailer[2413]: Skipping Repo: 9739019
7/21/15 10:37:54.922 AM Trailer[2413]: Skipping Repo: 9792731
7/21/15 10:37:54.925 AM Trailer[2413]: Skipping Repo: 9817249
7/21/15 10:37:54.928 AM Trailer[2413]: Skipping Repo: 10067321
7/21/15 10:37:54.931 AM Trailer[2413]: Skipping Repo: 10487844
7/21/15 10:37:54.934 AM Trailer[2413]: Skipping Repo: 10674825
7/21/15 10:37:54.937 AM Trailer[2413]: Skipping Repo: 10774122
7/21/15 10:37:54.940 AM Trailer[2413]: Skipping Repo: 11131459
7/21/15 10:37:54.943 AM Trailer[2413]: Skipping Repo: 11297263
7/21/15 10:37:54.946 AM Trailer[2413]: Skipping Repo: 11319325
7/21/15 10:37:54.949 AM Trailer[2413]: Skipping Repo: 11351115
7/21/15 10:37:54.952 AM Trailer[2413]: Skipping Repo: 11514488
7/21/15 10:37:54.956 AM Trailer[2413]: Skipping Repo: 11535076
7/21/15 10:37:54.959 AM Trailer[2413]: Skipping Repo: 12392881
7/21/15 10:37:54.963 AM Trailer[2413]: Skipping Repo: 12470554
7/21/15 10:37:54.966 AM Trailer[2413]: Skipping Repo: 12792034
7/21/15 10:37:54.969 AM Trailer[2413]: Skipping Repo: 12962210
7/21/15 10:37:54.972 AM Trailer[2413]: Skipping Repo: 13428025
7/21/15 10:37:54.975 AM Trailer[2413]: Skipping Repo: 13576537
7/21/15 10:37:54.978 AM Trailer[2413]: Skipping Repo: 13628959
7/21/15 10:37:54.982 AM Trailer[2413]: Skipping Repo: 14030745
7/21/15 10:37:54.985 AM Trailer[2413]: Skipping Repo: 14572543
7/21/15 10:37:54.988 AM Trailer[2413]: Skipping Repo: 14731559
7/21/15 10:37:54.991 AM Trailer[2413]: Skipping Repo: 15087059
7/21/15 10:37:54.995 AM Trailer[2413]: Skipping Repo: 15172189
7/21/15 10:37:54.999 AM Trailer[2413]: Skipping Repo: 16213627
7/21/15 10:37:55.001 AM Trailer[2413]: Skipping Repo: 16528485
7/21/15 10:37:55.005 AM Trailer[2413]: Skipping Repo: 16552832
7/21/15 10:37:55.007 AM Trailer[2413]: Skipping Repo: 16624912
7/21/15 10:37:55.011 AM Trailer[2413]: Skipping Repo: 16750667
7/21/15 10:37:55.015 AM Trailer[2413]: Skipping Repo: 16937098
7/21/15 10:37:55.018 AM Trailer[2413]: Skipping Repo: 16938457
7/21/15 10:37:55.021 AM Trailer[2413]: Skipping Repo: 17223348
7/21/15 10:37:55.025 AM Trailer[2413]: Skipping Repo: 17271389
7/21/15 10:37:55.028 AM Trailer[2413]: Skipping Repo: 17844108
7/21/15 10:37:55.031 AM Trailer[2413]: Skipping Repo: 18106732
7/21/15 10:37:55.034 AM Trailer[2413]: Skipping Repo: 18717390
7/21/15 10:37:55.037 AM Trailer[2413]: Skipping Repo: 19847174
7/21/15 10:37:55.040 AM Trailer[2413]: Skipping Repo: 20339771
7/21/15 10:37:55.043 AM Trailer[2413]: Skipping Repo: 20704738
7/21/15 10:37:55.046 AM Trailer[2413]: Skipping Repo: 20972004
7/21/15 10:37:55.050 AM Trailer[2413]: Skipping Repo: 21289143
7/21/15 10:37:55.053 AM Trailer[2413]: Skipping Repo: 21400818
7/21/15 10:37:55.057 AM Trailer[2413]: Skipping Repo: 21603923
7/21/15 10:37:55.060 AM Trailer[2413]: Skipping Repo: 21661901
7/21/15 10:37:55.063 AM Trailer[2413]: Skipping Repo: 21828722
7/21/15 10:37:55.066 AM Trailer[2413]: Skipping Repo: 21829535
7/21/15 10:37:55.069 AM Trailer[2413]: Skipping Repo: 22084901
7/21/15 10:37:55.072 AM Trailer[2413]: Skipping Repo: 22369887
7/21/15 10:37:55.075 AM Trailer[2413]: Skipping Repo: 22703348
7/21/15 10:37:55.079 AM Trailer[2413]: Skipping Repo: 22738840
7/21/15 10:37:55.082 AM Trailer[2413]: Skipping Repo: 23243319
7/21/15 10:37:55.086 AM Trailer[2413]: Skipping Repo: 23400855
7/21/15 10:37:55.088 AM Trailer[2413]: Skipping Repo: 23713839
7/21/15 10:37:55.091 AM Trailer[2413]: Skipping Repo: 23973658
7/21/15 10:37:55.094 AM Trailer[2413]: Skipping Repo: 25131364
7/21/15 10:37:55.097 AM Trailer[2413]: Skipping Repo: 25504240
7/21/15 10:37:55.099 AM Trailer[2413]: Skipping Repo: 25979305
7/21/15 10:37:55.103 AM Trailer[2413]: Skipping Repo: 26549535
7/21/15 10:37:55.107 AM Trailer[2413]: Skipping Repo: 26776889
7/21/15 10:37:55.109 AM Trailer[2413]: Skipping Repo: 27556214
7/21/15 10:37:55.112 AM Trailer[2413]: Skipping Repo: 27615304
7/21/15 10:37:55.115 AM Trailer[2413]: Skipping Repo: 29701980
7/21/15 10:37:55.119 AM Trailer[2413]: Skipping Repo: 29940570
7/21/15 10:37:55.122 AM Trailer[2413]: Skipping Repo: 30274867
7/21/15 10:37:55.125 AM Trailer[2413]: Skipping Repo: 30329067
7/21/15 10:37:55.128 AM Trailer[2413]: Skipping Repo: 30330394
7/21/15 10:37:55.131 AM Trailer[2413]: Skipping Repo: 30561126
7/21/15 10:37:55.134 AM Trailer[2413]: Skipping Repo: 30575663
7/21/15 10:37:55.138 AM Trailer[2413]: Skipping Repo: 30976997
7/21/15 10:37:55.141 AM Trailer[2413]: Skipping Repo: 31285946
7/21/15 10:37:55.144 AM Trailer[2413]: Skipping Repo: 31636318
7/21/15 10:37:55.148 AM Trailer[2413]: Skipping Repo: 32087639
7/21/15 10:37:55.152 AM Trailer[2413]: Skipping Repo: 32751096
7/21/15 10:37:55.155 AM Trailer[2413]: Skipping Repo: 32951181
7/21/15 10:37:55.158 AM Trailer[2413]: Skipping Repo: 33145053
7/21/15 10:37:55.162 AM Trailer[2413]: Skipping Repo: 34278119
7/21/15 10:37:55.165 AM Trailer[2413]: Skipping Repo: 34621822
7/21/15 10:37:55.169 AM Trailer[2413]: Skipping Repo: 34761576
7/21/15 10:37:55.172 AM Trailer[2413]: Skipping Repo: 35851847
7/21/15 10:37:55.176 AM Trailer[2413]: Skipping Repo: 36477246
7/21/15 10:37:55.442 AM Trailer[2413]: (GitHub) GET https:/api.github.com/user/subscriptions?per_page=100&page=2 - RESULT: 200
7/21/15 10:37:55.460 AM Trailer[2413]: Skipping Repo: 2181828
7/21/15 10:37:55.464 AM Trailer[2413]: Skipping Repo: 19830395
7/21/15 10:37:55.467 AM Trailer[2413]: Skipping Repo: 24729923
7/21/15 10:37:55.471 AM Trailer[2413]: Skipping Repo: 32605426
7/21/15 10:37:55.474 AM Trailer[2413]: Skipping Repo: 34076290
7/21/15 10:37:55.477 AM Trailer[2413]: Skipping Repo: 36828885
7/21/15 10:37:55.480 AM Trailer[2413]: Skipping Repo: 37482683
7/21/15 10:37:55.483 AM Trailer[2413]: Skipping Repo: 37747165
7/21/15 10:37:55.487 AM Trailer[2413]: Skipping Repo: 38456329
7/21/15 10:37:55.489 AM Trailer[2413]: Skipping Repo: 38546425
7/21/15 10:37:55.492 AM Trailer[2413]: Skipping Repo: 38841561
7/21/15 10:37:55.496 AM Trailer[2413]: Skipping Repo: 38852271
7/21/15 10:37:55.499 AM Trailer[2413]: Skipping Repo: 39040946
7/21/15 10:37:55.503 AM Trailer[2413]: Skipping Repo: 39283965
7/21/15 10:37:55.506 AM Trailer[2413]: Skipping Repo: 39408045
7/21/15 10:37:55.513 AM Trailer[2413]: Saving DB
7/21/15 10:37:55.518 AM Trailer[2413]: Updating PR menu, 27 total items
7/21/15 10:37:55.879 AM Trailer[2413]: Refresh done
7/21/15 10:37:56.085 AM Trailer[2413]: Updating PR status item
7/21/15 10:37:59.666 AM Trailer[2413]: No need to refresh yet, will refresh in 42.728057
7/21/15 10:37:59.666 AM Trailer[2413]: Check for updates set to 1935423472 every 28800.000000 seconds
7/21/15 10:38:42.403 AM Trailer[2413]: Starting refresh
7/21/15 10:38:42.604 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/users/mkantor/received_events?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:42.610 AM Trailer[2413]: The rest of these received events are processed, stopping event parsing
7/21/15 10:38:42.686 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/users/mkantor/events?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:42.702 AM Trailer[2413]: The rest of these user events are processed, stopping event parsing
7/21/15 10:38:43.015 AM Trailer[2413]: (GitHub) GET https:/api.github.com/users/mkantor/events?per_page=100&page=1 - RESULT: 304
7/21/15 10:38:43.063 AM Trailer[2413]: (GitHub) GET https:/api.github.com/users/mkantor/received_events?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.079 AM Trailer[2413]: New event at 2015-07-21 17:33:41 +0000 from Repo ID 11514488
7/21/15 10:38:43.080 AM Trailer[2413]: New event at 2015-07-21 17:33:41 +0000 from Repo ID 11514488
7/21/15 10:38:43.080 AM Trailer[2413]: New event at 2015-07-21 17:33:40 +0000 from Repo ID 11514488
7/21/15 10:38:43.080 AM Trailer[2413]: The rest of these received events are processed, stopping event parsing
7/21/15 10:38:43.081 AM Trailer[2413]: Marked 1 dirty repos that have new events in their event stream
7/21/15 10:38:43.116 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/kabam-sdk-config/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.159 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/china-kom/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.165 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/distribution-devops-config/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.192 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/bi/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.194 AM Trailer[2413]: Creating PullRequest: 1001
7/21/15 10:38:43.199 AM Trailer[2413]: Creating PullRequest: 974
7/21/15 10:38:43.203 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/china-hoc-server/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.212 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/china-doam/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.214 AM Trailer[2413]: Creating PullRequest: 297
7/21/15 10:38:43.235 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/qa_genie_framework_configs/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.257 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/soda-ios-config/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.261 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/china-heroes-of-camelot/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.262 AM Trailer[2413]: (GitHub) GET https:/api.github.com/repos/Kabam/distribution-devops/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.269 AM Trailer[2413]: Skipping PullRequest: 40409351
7/21/15 10:38:43.271 AM Trailer[2413]: Skipping PullRequest: 40406246
7/21/15 10:38:43.273 AM Trailer[2413]: Skipping PullRequest: 40193559
7/21/15 10:38:43.274 AM Trailer[2413]: Skipping PullRequest: 40080641
7/21/15 10:38:43.276 AM Trailer[2413]: Skipping PullRequest: 39608913
7/21/15 10:38:43.277 AM Trailer[2413]: Skipping PullRequest: 39116433
7/21/15 10:38:43.278 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/pmcilroy/bi/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.278 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/rkravitz/bi/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.280 AM Trailer[2413]: Creating PullRequest: 863
7/21/15 10:38:43.290 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/china-kbn/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.311 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/china-doam_backend/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.317 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https:/[redacted]/api/v3/repos/distribution/tango_conf/pulls?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.320 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.320 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.320 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.321 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.321 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.321 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.322 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.322 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.322 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.323 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.323 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.323 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.324 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.324 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.324 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.324 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.325 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.325 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.325 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.325 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.325 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.326 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.326 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.326 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.326 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.327 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.327 AM Trailer[2413]: No need to get statuses for PR: [redacted]
7/21/15 10:38:43.369 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/bi/issues/316/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.387 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/rkravitz/bi/issues/1/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.391 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/china-doam/issues/4/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.398 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/bi/pulls/316/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.403 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/bi/issues/299/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.406 AM Trailer[2413]: Creating PRComment: 1071
7/21/15 10:38:43.409 AM Trailer[2413]: Creating PRComment: 1072
7/21/15 10:38:43.429 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/china-doam/pulls/4/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.438 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/bi/pulls/299/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.439 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/rkravitz/bi/pulls/1/comments?per_page=100&page=1 - RESULT: 200
7/21/15 10:38:43.442 AM Trailer[2413]: Creating PRComment: 1599
7/21/15 10:38:43.455 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/bi/issues/299 - RESULT: 200
7/21/15 10:38:43.472 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/china-doam/issues/4 - RESULT: 200
7/21/15 10:38:43.486 AM Trailer[2413]: (Kabam GitHub Enterprise ) Placing URL https://[redacted]/api/v3/repos/rkravitz/bi/issues/1 on the throttled list
7/21/15 10:38:43.487 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/rkravitz/bi/issues/1 - FAILED: Server responded with 410
7/21/15 10:38:43.487 AM Trailer[2413]: (Kabam GitHub Enterprise ) GET https://[redacted]/api/v3/repos/distribution/bi/issues/316 - RESULT: 200
7/21/15 10:38:43.493 AM Trailer[2413]: Nuked total 0 items marked for deletion
7/21/15 10:38:43.513 AM Trailer[2413]: Setting LAST_SUCCESSFUL_REFRESH to 2015-07-21 17:38:43 +0000
7/21/15 10:38:43.514 AM Trailer[2413]: Saving DB
7/21/15 10:38:43.525 AM Trailer[2413]: Updating PR menu, 31 total items
7/21/15 10:38:44.104 AM Trailer[2413]: Refresh done
7/21/15 10:38:44.181 AM Trailer[2413]: Updating PR status item
ptsochantaris commented 9 years ago

Thanks for calling it in @mkantor, and thanks for the detailed feedback and instructions, this is going to help me get to the bottom of this quickly I think.

This is probably the best place for reporting this issue, as it IS probably related to the changes made here, most probably a regression.

It's very weird that the repos are being re-created after the first failed sync, and not just updated, as they ought to have been. It's as if the failed sync marks them for deletion (correctly) but then the rollback doesn't stop them from getting deleted. as it ought to do...

I'm going to dig into this and come back with more info very soon.

ptsochantaris commented 9 years ago

@mkantor Having a little trouble reproducing this based on your instructions, although I haven't tried with a GE server, just killing my network connection and hitting refresh as per your instructions. I'll try hacking up a way to do that using GitHub as two separate servers, and blocking one of them, probably using a DNS/hosts entry.

Meanwhile, can you check to see if you are using 1.3.6 rather than 1.3.5 just to make sure we're on the same build?

mkantor commented 9 years ago

Meanwhile, can you check to see if you are using 1.3.6 rather than 1.3.5 just to make sure we're on the same build?

1.3.5 it is: screen shot 2015-07-21 at 5 25 33 pm

ptsochantaris commented 9 years ago

Would it be possible to update to 1.3.6? (using "Check For Updates") I just want to make sure I haven't fixed this regression in the meantime. Most probably it's still there, but I just want to be sure.

mkantor commented 9 years ago

After upgrading to 1.3.6 I'm unable to reproduce the issue using the instructions I posted above, so maybe some other change fixed this as a side effect. If I notice it again I'll let you know.

Tangentially, I'm surprised that I was still running 1.3.5. I notice that 1.3.6 has been out for over a week and I have Trailer set to check for updates every 8 hours. My guess is that it's because I hadn't restarted my computer since the 1.3.6 release (until yesterday, that is).

ptsochantaris commented 9 years ago

Ah, explains why I wasn't able to reproduce this then, ok, so that's one good thing, although it doesn't help with the actual issue I guess :)

I'm thinking of setting up a trial GE server (I think I can do that, I'm not a GE expert) and try to reproduce it that way, as my rather hurried idea of using DNS didn't work out for a variety of reasons, least of which are that it would still be syncing the same repo IDs and also SSL won't work that way combined with GitHub's load-balancers :)

About the auto-update, I suspect you're right, I've noticed that it seems to take a really long time for people to update, so I've got a feeling that Sparkle may be ignoring the update check timing, but will make a note for myself to see if I have broken the interval setting somehow (I won't put that past me :))

In any case, thanks for the update, I'll give my trial-GE idea a go and let you know how that goes. In the meantime, let me know in the unlikely case your problem is also fixed as part of the changes in 1.3.6.

ptsochantaris commented 9 years ago

Hi @mkantor - I've tried reproducing the issue using a GE instance and wasn't able to. Steps:

This makes me more optimistic now that your issue may have in fact been fixed as part of the 1.3.6 tweaks after all, most probably the faulty rollback mentioned up above. Let me know how you get on with it. If it's still there, I'll try doing some more detailed testing.

plathrop commented 9 years ago

I am on Trailer 1.3.6 and I am experiencing the originally posted issue. My company has many repositories, and every week or so I have to go through and set up my filters again because trailer resets them all. The way it happens is I open my laptop and trailer is empty and says all my repositories are hidden. I restart Trailer and all my filters are reset so I see everything.

ptsochantaris commented 9 years ago

Hi @plathrop and thanks for reporting this!

I think this is a symptom of various overlapping issues, caused by Trailer thinking all repos have disappeared at some stage, which means it "rediscovers" and rebuilds repos with the default permissions, but it's really weird WHY this "loss" of repos happens in the first place - I don't think it's the same bug as 1.3.5 above (although it IS the same issue :)).

First off, as an intermediate fix, you may want to export your settings to a file in a shared location (from the Misc tab in settings), which you can then import whenever this happens to save you time from re-setting up all your filters, especially if you have a lot of repos configured.

If possible, could you activate logging from this tab as well? Next time Trailer seems to lose all the repositories, just before restarting it, could you then save a dump from Console.app filtered for Trailer? It may help track down what went wrong.

Sorry about all this, hopefully we'll get it sorted out for good this time!

plathrop commented 9 years ago

@ptsochantaris Yeah, I will be happy to grab logs for you. Trailer is a great app and thank you for creating and supporting it. I'll post back here when it happens again.

ptsochantaris commented 9 years ago

Thank you @plathrop I really appreciate that :bow: Hopefully we'll get this fixed for good sooner rather than later :+1:

plathrop commented 9 years ago

@ptsochantaris if there's anything else I can do to help (test builds, etc), let me know. Consider me a clueful user; I write code for a living.

ptsochantaris commented 9 years ago

Hi, just wanted to point out the beta test thread at #219. The build there includes some network updates which may (or may not) improve this issue. The build is stable on OSX, although as with all beta versions, please be careful about using it in mission critical situations, or at least keep a backup of the previous version just in case. Any issues you spot with it, please report them in that thread.

plathrop commented 9 years ago

Thanks, checking it out!

On Sat, Aug 29, 2015 at 6:37 AM, Paul Tsochantaris <notifications@github.com

wrote:

Hi, just wanted to point out the beta test thread at #219 https://github.com/ptsochantaris/trailer/issues/219. The build there includes some network updates which may (or may not) improve this issue. The build is stable on OSX, although as with all beta versions, please be careful about using it in mission critical situations, or at least keep a backup of the previous version just in case. Any issues you spot with it, please report them in that thread.

— Reply to this email directly or view it on GitHub https://github.com/ptsochantaris/trailer/issues/211#issuecomment-135969879 .

ptsochantaris commented 9 years ago

@plathrop I am going to close this specific thread for now, but please feel free to open a new issue thread for this issue specifically. Also, please note that version 1.3.7 for OSX is now up, which supersedes the above beta builds, you can auto-update from any beta or previous version from the About window.

plathrop commented 9 years ago

@ptsochantaris Thanks, it looks like it is resolved for me as of the latest version.