Update utopia-php/storage to 4.0 - #245
Merged
Merged
Conversation
loks0n
marked this pull request as ready for review
July 23, 2026 20:54
Greptile SummaryUpdates executor to Utopia Storage 4.0 and adapts to its streaming API.
Confidence Score: 5/5The PR appears safe to merge with no concrete changed-code defects identified. The dependency update is accompanied by the required call-site migrations while preserving source and destination ordering, failure handling, bounded log reads, and response string contracts. Important Files Changed
Reviews (1): Last reviewed commit: "Use stable storage 4.0 release" | Re-trigger Greptile |
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.
What
Updates executor to the stable
utopia-php/storage4.0.0 release and migrates to its breaking streaming API:transfer()calls withcopy()for source downloads, build artifact uploads, and build-cache restore/store.read()streams to strings where executor response assembly requires strings.^4.0and locks storage 4.0.0; no transitive packages change.Storage 4.0 changes and executor impact
read()returnsStreamInterface, whilewrite()andupload()consume streams. Source, artifact, and cache copies no longer require whole payload strings in executor memory.copy()replacestransfer()and centralizes bounded cross-device streaming, retaining chunked multipart upload and abort-on-failure behavior.StorageFactoryneeds no client migration.MAX_LOG_SIZE.prepareUpload/finalizeUpload/uploadDatabecomeprepare/finalize/upload), but executor does not call those lower-level methods directly.Storage release: https://github.com/utopia-php/storage/releases/tag/4.0.0
Upstream comparison: utopia-php/monorepo@storage/3.1.0...storage/4.0.0
Verification
Run against stable storage 4.0.0:
composer test:unit— 20 tests, 72 assertionscomposer analyze— no errorscomposer format:check— passedcomposer refactor:check— cleancomposer audit— no security advisoriesgit diff --check— cleancomposer validate --strictreports only the existing exact-version warning forutopia-php/http.The E2E suite requires the full Docker runtime stack and is left to CI.