Skip to content
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

feat(collector): added support for @google-cloud/storage@6 #727

Merged
merged 10 commits into from
Mar 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 2023

Bumps @google-cloud/storage from 5.18.1 to 6.9.4.

Release notes

Sourced from @​google-cloud/storage's releases.

v6.9.4

6.9.4 (2023-03-02)

Bug Fixes

  • Refactor createReadStream to remove unnecessary stream (#2153) (2c97310)

v6.9.3

6.9.3 (2023-02-15)

Bug Fixes

  • Reduce memory footprint of deleteFiles by utilizing getFilesStream and using smaller queue of promises (#2147) (f792f25)

v6.9.2

6.9.2 (2023-02-06)

Bug Fixes

  • Correctly handle if a user has no permissions when calling iam.testPermissions (#2140) (cce902d)

v6.9.1

6.9.1 (2023-01-24)

Bug Fixes

  • Setting file metadata is conditionally idempotent on ifmetagenerationmatch not ifgenerationmatch (#2131) (f20c28c)

v6.9.0

6.9.0 (2023-01-04)

Features

  • Add ability to upload entire directory, add samples for upload … (#2118) (b0f32ce)

v6.8.0

6.8.0 (2022-12-07)

Features

v6.7.0

6.7.0 (2022-11-03)

... (truncated)

Changelog

Sourced from @​google-cloud/storage's changelog.

6.9.4 (2023-03-02)

Bug Fixes

  • Refactor createReadStream to remove unnecessary stream (#2153) (2c97310)

6.9.3 (2023-02-15)

Bug Fixes

  • Reduce memory footprint of deleteFiles by utilizing getFilesStream and using smaller queue of promises (#2147) (f792f25)

6.9.2 (2023-02-06)

Bug Fixes

  • Correctly handle if a user has no permissions when calling iam.testPermissions (#2140) (cce902d)

6.9.1 (2023-01-24)

Bug Fixes

  • Setting file metadata is conditionally idempotent on ifmetagenerationmatch not ifgenerationmatch (#2131) (f20c28c)

6.9.0 (2023-01-04)

Features

  • Add ability to upload entire directory, add samples for upload … (#2118) (b0f32ce)

6.8.0 (2022-12-07)

Features

6.7.0 (2022-11-03)

Features

6.6.0 (2022-10-25)

... (truncated)

Commits
  • 52e4ed6 chore(main): release 6.9.4 (#2155)
  • 2c97310 fix: refactor createReadStream to remove unnecessary stream (#2153)
  • 4006dfe test: add debug flag for suppressing extra console messages in ssb (#2146)
  • 7054e43 chore(main): release 6.9.3 (#2149)
  • f792f25 fix: reduce memory footprint of deleteFiles by utilizing getFilesStream and u...
  • 6851cd2 chore(main): release 6.9.2 (#2142)
  • cce902d fix: correctly handle if a user has no permissions when calling iam.testPermi...
  • b2f7600 test: add output format for SSB to performance tests (#2132)
  • e757189 chore(deps): update dependency nock to ~13.3.0 (#2136)
  • 5938095 chore(main): release 6.9.1 (#2135)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 13, 2023
@kirrg001
Copy link
Contributor

Copy link
Contributor

@basti1302 basti1302 left a comment

Choose a reason for hiding this comment

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

looks like that breaks our tests (it produces unexpected HTTP spans now if I read the logs correctly)

@kirrg001 kirrg001 force-pushed the dependabot/npm_and_yarn/main/google-cloud/storage-6.9.4 branch from 8e6ae21 to ec157ac Compare March 14, 2023 10:57
@kirrg001
Copy link
Contributor

kirrg001 commented Mar 14, 2023

Locally it works with 16.13.0, but not with 16.13.1. CI uses 16.13.1

package.json Show resolved Hide resolved
@kirrg001
Copy link
Contributor

Locally it works with 16.13.0, but not with 16.13.1. CI uses 16.13.1

Nothing suspicious in https://nodejs.org/en/blog/release/v16.13.1.

@kirrg001 kirrg001 changed the title build(deps-dev): bump @google-cloud/storage from 5.18.1 to 6.9.4 feat(collector): added support for @google-cloud/storage@6 Mar 15, 2023
@kirrg001 kirrg001 force-pushed the dependabot/npm_and_yarn/main/google-cloud/storage-6.9.4 branch from b451eaa to 2d329ef Compare March 15, 2023 11:17
@kirrg001 kirrg001 requested a review from basti1302 March 15, 2023 11:44
dependabot bot and others added 8 commits March 16, 2023 09:54
Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 5.18.1 to 6.9.4.
- [Release notes](https://github.com/googleapis/nodejs-storage/releases)
- [Changelog](https://github.com/googleapis/nodejs-storage/blob/main/CHANGELOG.md)
- [Commits](googleapis/nodejs-storage@v5.18.1...v6.9.4)

---
updated-dependencies:
- dependency-name: "@google-cloud/storage"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
So this was actually hard to fix.

googleapis/nodejs-storage@77fa8d9

> refactor!: align resumable upload behavior

They changed the behaviour to "resumable: true" as default.
That means the google storage lib uses resumable upload technique instead of simple technique.
https://github.com/googleapis/nodejs-storage/blob/main/src/file.ts#L1933

startSimpleUpload_:
Takes a readable stream and pipes it to a remote file. Unlike
`startResumableUpload_`, which uses the resumable upload technique, this
method uses a simple upload (all or nothing).

https://github.com/googleapis/nodejs-storage/blob/main/src/resumable-upload.ts#L756

TODO: add another test to enable resumable and figure out what to do with the extra http exit call.
@kirrg001 kirrg001 force-pushed the dependabot/npm_and_yarn/main/google-cloud/storage-6.9.4 branch from 2d329ef to f43bf07 Compare March 16, 2023 08:54
@kirrg001 kirrg001 requested a review from basti1302 March 16, 2023 09:52
Copy link
Contributor

@basti1302 basti1302 left a comment

Choose a reason for hiding this comment

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

LGTM

@kirrg001 kirrg001 merged commit efcd4f1 into main Mar 17, 2023
@kirrg001 kirrg001 deleted the dependabot/npm_and_yarn/main/google-cloud/storage-6.9.4 branch March 17, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants