feat: support concurrent chunk uploads#60
Conversation
Greptile SummaryThis PR refactors
Confidence Score: 5/5The concurrent upload implementation is safe to merge: goroutine lifecycle is correctly managed, the upload ID is fully resolved before any worker starts, and per-chunk copies of headers and params prevent concurrent mutation. The core concurrency concerns are all handled correctly — done-channel cancellation fires at most once, workers can always drain into a fully-buffered results channel without blocking, os.File.ReadAt is safe for concurrent use via pread, and uploadId is written before goroutines start and only read afterward. The one new finding is a naming-collision style nit with no runtime impact. No files require special attention; client/client.go is the only changed file and the concurrent logic is sound. Important Files Changed
Reviews (2): Last reviewed commit: "feat: support concurrent chunk uploads" | Re-trigger Greptile |
This PR updates the SDK to support concurrent chunk uploads.