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
Getting '410 Gone: editDeleted' errors on CLI #811
Comments
Hmmm, I wonder if it might be related to #777 somehow. Can you share a build scan or look for tasks named |
@SUPERCILEX just checked and there are two separate |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Whoops. I've been intending to investigate this, but I need to create another fake app listing which I haven't gotten around to yet. |
Does this happen 100% of the time? I tried publishing two apps and it worked just fine: flavorDimensions("a")
productFlavors {
register("old") {
dimension = "a"
applicationId = "com.supercilex.test"
}
register("new") {
dimension = "a"
applicationId = "com.supercilex.test2"
}
} |
I think it has something to do with how the |
Some things I tried while debugging: explicitly defining an applicationId for the external product flavor (didn't work), having the publish tasks write to the same folder to avoid them running in parallel (didn't work), removing The error wasn't happening 100% of the time, we would occasionally have one work (maybe ~1 in 10). |
Oh, I think I might know what's going on. Does your CI system run multiple builds in parallel? Or are other people on your team running release builds with those play credentials? Basically, anytime The solution would be to disable GPP or just |
We run the release builds for the different flavors in parallel. Is that what you mean? The Otherwise, we don't run multiple release builds of the same flavor in parallel. The CI is the only machine with the credentials to run release builds and the job runs every 2 hours (jobs take an hour to run so we never have 2 builds running at the same time). |
Dang, I really thought that was it. No, it's totally fine to do stuff for different packages in parallel. The API only restricts edits on a package name basis. I guess all I can tell you are the invariants:
Since I can't repro, there's not much I can do. 😞 |
Closing as non-reproducible. If someone can send me a sample project that reproduces this bug, please open a new issue. |
We have two flavors that build separate apps (with different package names). On the CLI we assemble and bundle the two flavors and also execute
publishFlavor1ReleaseBundle publishFlavor2ReleaseBundle
to publish them to the play store. However, this fails with error:Our current build file uses this setup:
After reading #629 and seeing the issue might be caused by the tasks running in parallel, I tried using the workaround suggested there (having publish tasks write to output file) and it seems to have helped a bit but is still happening.
Versions
The text was updated successfully, but these errors were encountered: