Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Releases Sometimes Created #914

Open
gschier opened this issue Sep 17, 2024 · 3 comments
Open

Duplicate Releases Sometimes Created #914

gschier opened this issue Sep 17, 2024 · 3 comments
Labels
help wanted Extra attention is needed type: bug Something isn't working

Comments

@gschier
Copy link

gschier commented Sep 17, 2024

Using the recommended setup, I sometimes get duplicate releases created for the same tag. Perhaps a race condition?

This ends up with some artifacts uploading to one and other artifacts the other, requiring me to delete the releases and re-run the CI. Perhaps there's an atomic way to do the check/creation step?

Note: I thought this was a total fluke the first time it happened, but I've seen it 2 or 3 times now with https://github.com/yaakapp/app (78 releases)

@gschier gschier changed the title Duplicate Releases Created Duplicate Releases Sometimes Created Sep 17, 2024
@FabianLars
Copy link
Member

Perhaps there's an atomic way to do the check/creation step?

As far as i know, only by creating the release in a prior job: https://github.com/tauri-apps/tauri-action/blob/dev/examples/publish-to-manual-release.yml

I would still love to have some kind of workaround so not everyone needs to switch to multiple jobs but i'm out of (reasonable) ideas.

Note: I thought this was a total fluke the first time it happened, but I've seen it 2 or 3 times now with yaakapp/app (78 releases)

Interesting, you're on first place then. You're also the second person reporting this in the last ~2 weeks. The last report before that was years ago so i wonder if something changed on the server side (cause the action didn't change recently) 🤔

@FabianLars FabianLars added type: bug Something isn't working help wanted Extra attention is needed labels Sep 17, 2024
@gschier
Copy link
Author

gschier commented Sep 17, 2024

Yes, I wonder if it is indeed a server issue. I don't have any duplicates to look at right now but I do remember looking into it the first time it happened, expecting two platforms to have finished at a similar time, but they were minutes apart (I could be misremembering and will make sure to keep them around to debug, next time)

@dionysuzx
Copy link

dionysuzx commented Nov 19, 2024

I also have this issue. Just created two duplicate releases, and it's happened a few times before.

I will add this: the time it just happened I ran the release twice. So it was doing two in parallel. I almost think it can't handle that and you need to do one release at a time...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants