Repository navigation
Conversation
test_create_instance and test_create_instance_with_processing_units create temporary Spanner instances without the python-spanner-systests and created labels, so cleanup_old_instances never sweeps them if a CI run crashes.
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the system tests in test_instance_api.py to include tracking labels, specifically 'python-spanner-systests' and a 'created' timestamp, when creating test instances. I have no feedback to provide as the changes are straightforward and correct.
Contributor
Author
|
Closing speculative hardening PR without live leaked-resource evidence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context & Problem
test_create_instance and test_create_instance_with_processing_units create temporary Spanner instances without the python-spanner-systests and created labels, so cleanup_old_instances never sweeps them if a CI run crashes.
Summary of Changes
Why This Approach
Matches the existing label convention used by shared_instance, test_backup_api, and test_database_api so crashed runs are automatically swept after 3 hours.
Intentionally Out of Scope
Verification
nox -s lint mypy-3.14 unit-3.14 unit-3.10 cover and two independent Owl review passes