Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

test: Fix the reaper and simplify the instance and backup deletion - #1597

Merged
kevkim-codes merged 3 commits into
mainfrom
359913994-reap-instances
Apr 22, 2025
Merged

test: Fix the reaper and simplify the instance and backup deletion#1597
kevkim-codes merged 3 commits into
mainfrom
359913994-reap-instances

Conversation

@danieljbruce

@danieljbruce danieljbruce commented Apr 22, 2025

Copy link
Copy Markdown
Contributor

While doing the Node 18 upgrade in #1582 the pqueue dependency was removed because it had some incompatibilities with Node 18. Some compiler/linter errors emerged that prevented the PR from being merged when the pqueue dependency was used.

When pqueue was removed it broke the reaper so now instances aren't getting deleted and we are running into quota issues when testing. This PR simplifies the reaper logic by just deleting the instances and backups one at a time without the pqueue dependency. It might take the test a little bit longer, but we will never run into dependency conflicts with pqueue again so it's well worth the tradeoff.

@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: bigtable Issues related to the googleapis/nodejs-bigtable API. labels Apr 22, 2025
@danieljbruce danieljbruce changed the title Simplify the instance and backup deletion test: Simplify the instance and backup deletion Apr 22, 2025
@danieljbruce danieljbruce changed the title test: Simplify the instance and backup deletion test: Fix the reaper and simplify the instance and backup deletion Apr 22, 2025
@danieljbruce
danieljbruce marked this pull request as ready for review April 22, 2025 16:51
@danieljbruce
danieljbruce requested review from a team April 22, 2025 16:51
@kevkim-codes
kevkim-codes merged commit 96b5252 into main Apr 22, 2025
@kevkim-codes
kevkim-codes deleted the 359913994-reap-instances branch April 22, 2025 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigtable Issues related to the googleapis/nodejs-bigtable API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants