Skip to content

chore: release test-release-please#8309

Closed
jskeet wants to merge 7 commits into
test-release-pleasefrom
release-please--branches--test-release-please
Closed

chore: release test-release-please#8309
jskeet wants to merge 7 commits into
test-release-pleasefrom
release-please--branches--test-release-please

Conversation

@jskeet
Copy link
Copy Markdown
Contributor

@jskeet jskeet commented May 19, 2026

This release is too large to preview in the pull request body. View the full release notes here: https://github.com/googleapis/google-cloud-node/blob/release-please--branches--test-release-please--release-notes/release-notes.md

@jskeet jskeet requested a review from a team as a code owner May 19, 2026 08:06
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates versions and dependencies across multiple Google Cloud Node.js packages, including upgrading sinon to 21.0.3 and adding overrides for @sinonjs/fake-timers. It also introduces new packages for appoptimize, databasecenter, and datacatalog-lineage-configmanagement. The reviewer identified that @types/sinon is redundant for sinon@21+ and should be removed from several package.json files. Furthermore, the reviewer noted that the test script in google-cloud-discoveryengine may cause redundant test execution on failure due to the shell command logic.

"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.9",
"@types/sinon": "^17.0.4",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The sinon package version 18 and above includes its own TypeScript definitions. Since you are using sinon@21.0.3, the @types/sinon dependency is no longer necessary and should be removed. The current version ^17.0.4 is for an older major version of sinon and will cause type conflicts.

"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.9",
"@types/sinon": "^17.0.4",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The sinon package version 18 and above includes its own TypeScript definitions. Since you are using sinon@21.0.3, the @types/sinon dependency is no longer necessary and should be removed. The current version ^17.0.4 is for an older major version of sinon and will cause type conflicts.

"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.9",
"@types/sinon": "^17.0.4",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The sinon package version 18 and above includes its own TypeScript definitions. Since you are using sinon@^21.0.0, the @types/sinon dependency is no longer necessary and should be removed. The current version ^17.0.4 is for an older major version of sinon and will cause type conflicts.

"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.9",
"@types/sinon": "^17.0.4",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The sinon package version 18 and above includes its own TypeScript definitions. Since you are using sinon@21.0.3, the @types/sinon dependency is no longer necessary and should be removed. The current version ^17.0.4 is for an older major version of sinon and will cause type conflicts.

"samples-test": "cd samples/ && npm link ../ && npm i && npm test",
"system-test": "c8 mocha build/system-test",
"test": "NODE_OPTIONS=--max-old-space-size=16384 c8 mocha build/test"
"test": "NODE_OPTIONS=--max-old-space-size=16384 c8 mocha build/test || set NODE_OPTIONS=--max-old-space-size=16384 && c8 mocha build/test"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This script for running tests appears to be a workaround for cross-platform compatibility. However, on Unix-like systems, the use of || will cause the test suite to run a second time if it fails on the first attempt. This is likely not the intended behavior and could lead to confusing test logs and CI results.

@jskeet jskeet closed this May 19, 2026
@jskeet jskeet deleted the release-please--branches--test-release-please branch May 19, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant