refactor(storage): remove Service.ts and migrate logic to StorageTransport#8283
Conversation
…sport - Remove Service.ts and common.ts files from handwritten/storage - Migrate remaining functionality to StorageTransport - chore(ci): upgrade conformance tests to Node 18
e7f63e8 to
73fbd28
Compare
There was a problem hiding this comment.
Code Review
This pull request deletes the Service class along with its unit and system tests, likely as part of a migration to a new StorageTransport implementation. However, the PR is currently incomplete as the replacement implementation is not included, which will lead to build failures. The feedback emphasizes that several critical functionalities must be preserved or improved in the new transport: project ID detection logic, support for modern Cloud Functions environment variables (K_SERVICE), correct timeout precedence, robust URL detection, and GCS-specific colon separator handling. Furthermore, the deleted system tests should be migrated to maintain test coverage for request handling and retries.
@thiyaguk09 Can you check this ? |
@Dhriti07 The StorageTransport was already implemented and integrated prior to this PR. All unit tests are passing, and since the migration is complete, removing these files will not cause build failures. All critical logic—including project ID detection, |
…sport (googleapis#8283) - Remove Service.ts and common.ts files from handwritten/storage - Migrate remaining functionality to StorageTransport - chore(ci): upgrade conformance tests to Node 18
Removed:
Updated:
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕