Repository navigation
Conversation
PR SummaryMedium Risk Overview Lazy manifest loading, eager manifest uploads, and full-scan Version is bumped to 3.6.3 with changelog and a broad unit test suite for path normalization, encoder edge cases, and both lazy and prepared upload shapes. Reviewed by Cursor Bugbot for commit e95bb8b. Configure here. |
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit e95bb8b. Configure here.
Manifest lists can produce repeated multipart field names when paths are repeated, normalized, or stripped against different base paths. Uploads now fail locally with a clear error instead of sending a request the API rejects.
Root Cause
Lazy manifest preparation and eager manifest uploads duplicated key calculation without checking whether two source paths resolved to the same key. Full scans also accepted prebuilt multipart entries with repeated field names.
Fix
Share key calculation and validate all upload keys before reading file contents or sending requests. Use the installed multipart encoder to compare escaped field names and raise
ValueErrorwith the duplicate key and both source paths. Preserve valid upload order and contents, normalize base paths once per upload, and bump the patch version to 3.6.3.Validation
Public Changelog
Reject duplicate multipart upload keys before sending manifest uploads or full scans, with an error naming the colliding key and source paths.
Fixes CE-449