fix: turn on the gax vulnerability tests again - #9204
Merged
Conversation
…e-cloud-node into fix-dialog-flow
…e-cloud-node into fix-dialog-flow
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the core/packages/gax package to use @google-cloud/dialogflow-cx as a devDependency, replacing a relative require with an ES import. It also re-enables several transcoding validation tests (Test 1, Test 2, and Test 9) that were previously skipped. The feedback suggests removing the now-obsolete TODO comments associated with these re-enabled tests to keep the codebase clean.
|
|
||
| // Test 1: Single Asterisk Dot Validation on client call | ||
| it.skip('1. should throw an error for single-asterisk segment traversal using exactly "." as session ID', async () => { | ||
| it('1. should throw an error for single-asterisk segment traversal using exactly "." as session ID', async () => { |
Contributor
|
|
||
| // Test 2: Single Asterisk Dot-Dot Validation on client call | ||
| it.skip('2. should throw an error for single-asterisk segment traversal using exactly ".." as session ID', async () => { | ||
| it('2. should throw an error for single-asterisk segment traversal using exactly ".." as session ID', async () => { |
Contributor
|
|
||
| // Test 9: Percent-encoding all other characters | ||
| it.skip('9. should percent-encode all other characters except unreserved ones', async () => { | ||
| it('9. should percent-encode all other characters except unreserved ones', async () => { |
Contributor
Contributor
Author
|
We should address the linting separately so as not to block since this is needed for bun work. Backlogged in https://b.corp.google.com/issues/552061990. |
shivanee-p
approved these changes
Aug 24, 2026
Merged
danieljbruce
pushed a commit
that referenced
this pull request
Aug 26, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>common: 8.0.2</summary> ## [8.0.2](common-v8.0.1...common-v8.0.2) (2026-08-26) ### Bug Fixes * Patch the vulnerability for Bigquery and other REST based clients ([#9188](#9188)) ([94aac1e](94aac1e)) </details> <details><summary>google-gax: 6.1.0</summary> ## [6.1.0](google-gax-v6.0.3...google-gax-v6.1.0) (2026-08-26) ### Features * Add Otel Tracing helpers and tests ([#9070](#9070)) ([5111d52](5111d52)) * **gax:** Accept clientOptions in createApiCall for telemetry tracing ([#9176](#9176)) ([257a895](257a895)) ### Bug Fixes * **gax:** Fix several missing files from the monorepo merge ([#9209](#9209)) ([6fcd94d](6fcd94d)) * Turn on the gax vulnerability tests again ([#9204](#9204)) ([09609c8](09609c8)) </details> <details><summary>bigquery: 9.0.3</summary> ## [9.0.3](bigquery-v9.0.2...bigquery-v9.0.3) (2026-08-26) ### Bug Fixes * Patch the vulnerability for Bigquery and other REST based clients ([#9188](#9188)) ([94aac1e](94aac1e)) </details> <details><summary>health: 0.6.1</summary> ## [0.6.1](health-v0.6.0...health-v0.6.1) (2026-08-26) ### Bug Fixes * Upgrade sinon types for health package ([#9202](#9202)) ([b312515](b312515)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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.
Description
The gax tests were skipped because the version we needed hadn't been released yet. Also, the brittle require statement is breaking a unit test shard.
Impact
Adds test coverage and fixes the require statement.