question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consecutive releases on GitHub not always making it to Dockstore

See original GitHub issue

Describe the bug A user had our GitHub app installed on a repository on 2020-07-23. They made 2 consecutive releases within about 30 seconds of each other (11:17:27am and 11:17:59am), and only the first release made it in. After waiting for a period of time and then trying again, they were able to get the second release in (11:22:08).

Looking at the code, seems like the second release failed with the following

! at io.dockstore.webservice.helpers.GitHubSourceCodeRepo.getDockstoreYml(GitHubSourceCodeRepo.java:769)

To Reproduce Steps to reproduce the behavior:

  1. Install our github app
  2. Add a .dockstore.yml to a repository
  3. Make two successive releases
  4. Second release may not be recorded on Dockstore.

Expected behavior Both releases should have made it in (assuming they both had valid dockstore.yml files)

┆Issue is synchronized with this Jira Bug ┆Epic: Automated sync of Dockstore and GitHub apps
 ┆Fix Versions: Dockstore 1.9.X ┆Issue Number: DOCK-1511 ┆Sprint: Sprint 44- Sea Horse ┆Issue Type: Bug

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
coverbeckcommented, Oct 1, 2020

Discussed with Greg and turns out it was deployed on staging – I was looking in the wrong place. Closing; sorry for the confusion.

1reaction
coverbeckcommented, Sep 25, 2020

Cool findings.

  1. Suggest we target this for a hotfix.
  2. Did not realize that we couldn’t distinguish this failure from a legit failure, so yes you’re right. But I went ahead and created a ticket, the one I should have already created, for other cases where we could signal to retry, #3830
Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub app missed tag event - Discuss Dockstore
I took a brief look and resent the github app event. It seems to have gone through. Not sure why it didn't work...
Read more >
Automatically Sync Your Workflows On Dockstore With Our ...
While GitHub isn't required to use Dockstore, Dockstore integrates closely with GitHub to leverage its version control, release management, ...
Read more >
Is there a link to GitHub for downloading a file in the latest ...
My goal is to make a link on a website that always points to the latest version. A linux command will not allow...
Read more >
cgpPindel - GitHub Pages
Smallest build required to use cgpPindel; Not linked to Dockstore (yet); Updated most frequently. dockstore-cgpwxs: Contains tools specific to WXS analysis.
Read more >
Making a release | Metals - Scalameta
Do not create a release on GitHub just yet. ... we close both 3.3.0 and 3.2.1 (because we never released 3.2.1, so all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found