Updating a release status to completed is setting the status to halted
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the behavior with the Ruby example, following service.update_edit_track and service.commit_edit after setting the release status to "completed". Trace where the release status is serialized or processed and verify that the committed release remains completed rather than becoming halted.
Written by the indexing model from the issue text.
Description
Environment details
- OS: it's a rails application
- Ruby version: "3.1.2"
- Gem name and version: "google-apis-androidpublisher_v3", "~> 0.31.0"
Steps to reproduce
- Release opened with 10% staged rollout in progress
- Send a request via google api to update the release status to "completed"
- The API returns a correct release, however the status is updated to "halted"
Code example
service = publisher.service
edit = service.insert_edit(package_name)
track = service.get_edit_track(package_name, edit.id, "production")
release = track.releases&.detect { |r| r.name == "1.0.0" }
release.update!(status: "completed")
service.update_edit_track(package_name, edit.id, "production", track)
service.commit_edit(package_name, edit.id)
- Dominant language
- Ruby
- Stars
- 2.9k
- Forks
- 888
- Avg merge
- 8m
- Merged PRs (30d)
- 241
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleapis/google-api-ruby-client
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
googleapis/google-api-ruby-client#28001 · 5 reactions ·
-
googleapis/google-api-ruby-client#27757 · 1 assignee ·
-
googleapis/google-api-ruby-client#27758 · 1 assignee ·
-
googleapis/google-api-ruby-client#27759 · 1 assignee ·
-
api: storage type: feature request
Difficulty 3/5 1-2 days Newbie friendliness 55/100
googleapis/google-api-ruby-client#27339 ·
All issues in googleapis/google-api-ruby-client
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
hanami/hanami-cli#449 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
resque/resque-scheduler#826 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100