forked from googleapis/java-spanner
-
Notifications
You must be signed in to change notification settings - Fork 0
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
secure workflow #10
Open
diegomarquezp
wants to merge
38
commits into
main
Choose a base branch
from
secure-workflow
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
secure workflow #10
Conversation
This file contains 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
Owner
diegomarquezp
commented
Aug 16, 2024
- fix: make sure commitAsync always finishes (fix: make sure commitAsync always finishes googleapis/java-spanner#3216)
- chore: skip clirr 7012 exceptions with grpc admin package (chore: skip clirr 7012 exceptions with grpc admin package googleapis/java-spanner#3222)
- test: do not use RESOURCE_EXHAUSTED as it is retryable (test: do not use RESOURCE_EXHAUSTED as it is retryable googleapis/java-spanner#3227)
- chore: remove unused multiplexed session code (chore: remove unused multiplexed session code googleapis/java-spanner#3156)
- chore: setup 6.66.x lts branch (chore: setup 6.66.x lts branch googleapis/java-spanner#3230)
- feat(spanner): set manual affinity incase of gRPC-GCP extenstion (feat(spanner): set manual affinity incase of gRPC-GCP extenstion googleapis/java-spanner#3215)
- chore: Update generation configuration at Sat Aug 3 02:14:47 UTC 2024 (chore: Update generation configuration at Sat Aug 3 02:14:47 UTC 2024 googleapis/java-spanner#3223)
- feat(spanner): add samples for instance partitions (feat(spanner): add samples for instance partitions googleapis/java-spanner#3221)
- build(deps): update dependency org.apache.maven.plugins:maven-failsafe-plugin to v3.3.1 (build(deps): update dependency org.apache.maven.plugins:maven-failsafe-plugin to v3.3.1 googleapis/java-spanner#3211)
- deps: update dependency com.google.auto.value:auto-value-annotations to v1.11.0 (deps: update dependency com.google.auto.value:auto-value-annotations to v1.11.0 googleapis/java-spanner#3191)
- chore: Update generation configuration at Tue Aug 6 02:15:55 UTC 2024 (chore: Update generation configuration at Tue Aug 6 02:15:55 UTC 2024 googleapis/java-spanner#3235)
- chore: unflake SavepointMockServerTest (chore: unflake SavepointMockServerTest googleapis/java-spanner#3237)
- chore: unflake SessionPoolOptionsTest (chore: unflake SessionPoolOptionsTest googleapis/java-spanner#3238)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.43.0 (chore(deps): update dependency com.google.cloud:libraries-bom to v26.43.0 googleapis/java-spanner#3190)
- chore(deps): update dependency com.google.cloud:google-cloud-spanner to v6.69.0 (chore(deps): update dependency com.google.cloud:google-cloud-spanner to v6.69.0 googleapis/java-spanner#3189)
- build: run graalvm integration tests on emulator (build: run graalvm integration tests on emulator googleapis/java-spanner#3198)
- build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.0 (build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.0 googleapis/java-spanner#3122)
- build(deps): update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.7.0 (build(deps): update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.7.0 googleapis/java-spanner#3188)
- build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.6.2 (build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.6.2 googleapis/java-spanner#3182)
- build(deps): update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.4.0 (build(deps): update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.4.0 googleapis/java-spanner#3185)
- build(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.2 (build(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.2 googleapis/java-spanner#3183)
- chore(spanner): Update instance region (chore(spanner): Update instance region googleapis/java-spanner#3228)
- deps: update dependency com.google.cloud:google-cloud-trace to v2.47.0 (deps: update dependency com.google.cloud:google-cloud-trace to v2.47.0 googleapis/java-spanner#3067)
- deps: bump sdk-platform-java-config to 3.33.0 (deps: bump sdk-platform-java-config to 3.33.0 googleapis/java-spanner#3243)
- test: speed up ITDmlReturningTest (test: speed up ITDmlReturningTest googleapis/java-spanner#3248)
- build: increase parallelism for integration tests (build: increase parallelism for integration tests googleapis/java-spanner#3249)
- chore: improve test execution speed (chore: improve test execution speed googleapis/java-spanner#3245)
- deps: update dependencies to latest (deps: update all dependencies googleapis/java-spanner#3250)
- chore(main): release 6.72.0 (chore(main): release 6.72.0 googleapis/java-spanner#3199)
- chore(main): release 6.72.1-SNAPSHOT (chore(main): release 6.72.1-SNAPSHOT googleapis/java-spanner#3256)
- chore: unflake ITAsyncAPITest.invalidDatabase (chore: unflake ITAsyncAPITest.invalidDatabase googleapis/java-spanner#3257)
- chore(deps): update dependency com.google.cloud:google-cloud-spanner to v6.72.0 (chore(deps): update dependency com.google.cloud:google-cloud-spanner to v6.72.0 googleapis/java-spanner#3261)
- chore: unflake blockAndTimeoutOnPoolExhaustion_withAcquireSessionTimeout (chore: unflake blockAndTimeoutOnPoolExhaustion_withAcquireSessionTimeout googleapis/java-spanner#3252)
- chore: unflake OpenTelemetrySpanTest.transactionRunnerWithFailedAndBeginTransaction (chore: unflake OpenTelemetrySpanTest.transactionRunnerWithFailedAndBeginTransaction googleapis/java-spanner#3254)
- chore: unflake asyncTransactionManagerWaitsUntilAsyncBatchUpdateHasFinished (chore: unflake asyncTransactionManagerWaitsUntilAsyncBatchUpdateHasFinished googleapis/java-spanner#3258)
- chore: unflake AsyncTransactionManagerTests (chore: unflake AsyncTransactionManagerTests googleapis/java-spanner#3259)
- chore: unflake ITAutogeneratedAdminClientTest (chore: unflake ITAutogeneratedAdminClientTest googleapis/java-spanner#3260)
- chore: secure hermetic build workflow
The future that is returned by commitAsync() seems to never finish in some cases. It is unknown exactly what causes it, and this change adds a number of safety precautions that should ensure that the future always returns a result eventually. This is always easier to debug and handle than a future that never returns a value.
The test used the error code RESOURCE_EXHAUSTED to indicate that the server could not create any more sessions. This error code is now retryable, causing the test to become flaky. Change the error code to one that is not retryable. Fixes googleapis#3224
Removes the unused code for multiplexed sessions in the session pool. All relevant code has been moved to the MultiplexedSessionDatabaseClient.
…gleapis#3215) * feat(spanner): set manual affinity incase of gRPC-GCP extenstion * feat(spanner): convert channel hint to be bounded * feat(spanner): check if extension is enabled
…googleapis#3223) * chore: Update generation configuration at Tue Jul 23 02:15:33 UTC 2024 * chore: Update generation configuration at Wed Jul 24 02:15:30 UTC 2024 * chore: Update generation configuration at Thu Jul 25 02:15:36 UTC 2024 * chore: Update generation configuration at Fri Jul 26 02:15:26 UTC 2024 * chore: Update generation configuration at Sat Jul 27 02:14:35 UTC 2024 * chore: generate libraries at Sat Jul 27 02:15:05 UTC 2024 * chore: Update generation configuration at Tue Jul 30 02:15:43 UTC 2024 * chore: Update generation configuration at Wed Jul 31 02:03:43 UTC 2024 * chore: generate libraries at Wed Jul 31 02:04:08 UTC 2024 * chore: Update generation configuration at Thu Aug 1 02:19:28 UTC 2024 * chore: Update generation configuration at Fri Aug 2 02:15:43 UTC 2024 * chore: Update generation configuration at Sat Aug 3 02:14:47 UTC 2024
* feat(spanner): add samples for instance partitions * Lint * Lint
…e-plugin to v3.3.1 (googleapis#3211) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-failsafe-plugin](https://maven.apache.org/surefire/) | `3.3.0` -> `3.3.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.maven.plugins:maven-failsafe-plugin/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.apache.maven.plugins:maven-failsafe-plugin/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.apache.maven.plugins:maven-failsafe-plugin/3.3.0/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.maven.plugins:maven-failsafe-plugin/3.3.0/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
* chore: unflake SavepointMockServerTest * fix: use separate tag to verify no keep-alive requests
…43.0 (googleapis#3190) * chore(deps): update dependency com.google.cloud:libraries-bom to v26.42.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Knut Olav Løite <[email protected]>
…to v6.69.0 (googleapis#3189) * chore(deps): update dependency com.google.cloud:google-cloud-spanner to v6.69.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Knut Olav Løite <[email protected]>
* build: run graalvm integration tests on emulator * fix build * build: add same TODO as in the JDBC driver --------- Co-authored-by: Knut Olav Løite <[email protected]>
…lugin to v3.6.0 (googleapis#3122) * build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Knut Olav Løite <[email protected]>
…en-plugin to v1.7.0 (googleapis#3188)
…-info-reports-plugin to v3.6.2 (googleapis#3182)
…yle-plugin to v3.4.0 (googleapis#3185)
googleapis#3067) * deps: update dependency com.google.cloud:google-cloud-trace to v2.44.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * deps: bump to 2.47.0 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Knut Olav Løite <[email protected]>
* deps: bump sdk-platform-java-config to 3.33.0 * chore: add missing tracer method
The initialization code for ITDmlReturningTest was borked and initialized the database over and over again for each test method. This pushes Spanner into throttling the DDL requests, which again makes both this and other integration tests slow. Updates googleapis#3247
* build: increase parallelism for integration tests * fix: BulkConnectionTest must run serially
* chore: improve test execution speed Improves the unit test execution speed from around 2m15s to around 60s. * fix: remove print statement
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
…to v6.72.0 (googleapis#3261) * chore(deps): update dependency com.google.cloud:google-cloud-spanner to v6.69.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Knut Olav Løite <[email protected]>
…ginTransaction (googleapis#3254) Fixes googleapis#3253
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.