Skip to content

feat: Support sequential-calls manifest field that disables concurrency when creating multiple pull requests or releases#1401

Merged
gcf-merge-on-green[bot] merged 1 commit intogoogleapis:mainfrom
dazuma:pr/sequential-calls
Apr 20, 2022
Merged

feat: Support sequential-calls manifest field that disables concurrency when creating multiple pull requests or releases#1401
gcf-merge-on-green[bot] merged 1 commit intogoogleapis:mainfrom
dazuma:pr/sequential-calls

Conversation

@dazuma
Copy link
Copy Markdown
Contributor

@dazuma dazuma commented Apr 19, 2022

When running release-please on the google-cloud-ruby manifest, we're running afoul of secondary rate limits. Currently release-please runs pull request creation concurrently, and in this case, it was trying to open 33 pull requests at once which seemed to be too much. So we're introducing an option to run them sequentially using blocking calls.

This was added to the manifest config rather than the CLI options, because it seems to be a scaling-related knob that should be set per repository, rather than something that depends on how release-please is invoked.

I honestly do not know how to write a test for this. I tested manually both the sequential and concurrent cases to make sure the functionality was still correct, but I'm not sure how to test whether something happened concurrently or not.

@dazuma dazuma requested review from a team April 19, 2022 00:30
@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label Apr 19, 2022
@dazuma dazuma marked this pull request as draft April 19, 2022 00:30
@dazuma dazuma marked this pull request as ready for review April 19, 2022 00:36
…cy when creating multiple pull requests or releases
@dazuma dazuma force-pushed the pr/sequential-calls branch from f2dd7ab to 657a7ca Compare April 19, 2022 00:38
@chingor13
Copy link
Copy Markdown
Contributor

I may open a refactor PR to try to test this, but let's try to unblock you.

@chingor13 chingor13 added the automerge Merge the pull request once unit tests and other checks pass. label Apr 20, 2022
@gcf-merge-on-green gcf-merge-on-green Bot merged commit 50f5c99 into googleapis:main Apr 20, 2022
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 20, 2022
gcf-merge-on-green Bot pushed a commit that referenced this pull request Apr 20, 2022
🤖 I have created a release *beep* *boop*
---


## [13.14.0](v13.13.0...v13.14.0) (2022-04-20)


### Features

* Support sequential-calls manifest field that disables concurrency when creating multiple pull requests or releases ([#1401](#1401)) ([50f5c99](50f5c99))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@dazuma dazuma deleted the pr/sequential-calls branch April 20, 2022 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants