GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: unblock release by upgrading @types/sinon for the add optimize package by danieljbruce · Pull Request #8258 · googleapis/google-cloud-node

Conversation

@danieljbruce

@danieljbruce danieljbruce commented May 13, 2026

Copy link
Copy Markdown
Contributor

Description

Although the release #8254 is merged, it is failing to publish because the google-cloud-optimize package is failing to compile. This is confirmed by checking out main and running the following commands which produce a compile time error:

cd packages/google-cloud-appoptimize/
npm cache clean --force
rm -rf node_modules package-lock.json
npm install

The error goes away when installing the latest version of @types/sinon. A similar issue was solved in #8098.

Impact

Allows us to publish releases again for google-cloud-node.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
@danieljbruce
Upgrade @types sinon
096b78f
@danieljbruce
danieljbruce requested a review from a team as a code owner May 13, 2026 15:11
gemini-code-assist[bot]
gemini-code-assist Bot reviewed May 13, 2026
View reviewed changes

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this 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 attempts to update the @types/sinon dependency in package.json. The reviewer identified that the requested version 21.0.1 does not exist on the npm registry, which would cause the build to fail. A correction to a valid version was suggested to resolve this issue.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/google-cloud-appoptimize/package.json
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.9",
"@types/sinon": "^17.0.4",
"@types/sinon": "^21.0.1",

@gemini-code-assist gemini-code-assist Bot May 13, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

critical

The specified version 21.0.1 for @types/sinon does not exist on the public npm registry. This will cause npm install to fail, preventing the build from succeeding. This appears to be a typo. To fix the build, please use a valid version that exists on npm. The latest version is 17.0.3.

Suggested change
"@types/sinon": "^21.0.1",
"@types/sinon": "^17.0.3",

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@danieljbruce danieljbruce May 13, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This comment is not actually true. I see the version on npmjs and it does compile.

image

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
danieljbruce added 2 commits May 13, 2026 11:16
@danieljbruce
fix: unblock release by upgrading @types/sinon for the add optimize p…
63bf16e
…ackage
@danieljbruce
Merge branch 'upgrade-appoptimize' of https://github.com/googleapis/g…
a12d7cc
…oogle-cloud-node into upgrade-appoptimize
quirogas
quirogas approved these changes May 13, 2026
View reviewed changes
@danieljbruce danieljbruce added the automerge Merge the pull request once unit tests and other checks pass. label May 13, 2026
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit 1cb0ff8 into main May 13, 2026
13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label May 13, 2026
@gcf-merge-on-green
gcf-merge-on-green Bot deleted the upgrade-appoptimize branch May 13, 2026 15:28
@release-please release-please Bot mentioned this pull request May 13, 2026
chore: release main #8259
Merged
gcf-merge-on-green Bot pushed a commit that referenced this pull request May 13, 2026
@release-please
chore: release main (#8259)
63f2f35
🤖 I have created a release *beep* *boop*
---


<details><summary>appoptimize: 0.1.1</summary>

## [0.1.1](https://togithub.com/googleapis/google-cloud-node/compare/appoptimize-v0.1.0...appoptimize-v0.1.1) (2026-05-13)


### Bug Fixes

* Unblock release by upgrading @types/sinon for the add optimize package ([#8258](https://togithub.com/googleapis/google-cloud-node/issues/8258)) ([1cb0ff8](https://togithub.com/googleapis/google-cloud-node/commit/1cb0ff89f5f8a8cbe422c429bd61874b983f6cef))
</details>

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
@jskeet jskeet mentioned this pull request May 19, 2026
chore(test-release-please): release 1.0.0 #8308
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@quirogas quirogas quirogas approved these changes
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@danieljbruce @quirogas
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.