Repository navigation
fix(storage): support virtual-hosted S3 endpoints - #490
Conversation
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: Noveum/orbit/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change adds validated S3 path-style configuration, tests and documentation for storage URL addressing, and explicit timing and delta conditions in two existing tests. ChangesS3 path-style configuration
Test timing and delta matching
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~15 minutes Change: Feature Merge Risk: ⚪ Minimal · up to The new setting preserves the documented addressing defaults unless explicitly configured, and no actionable merge-blocking issue is established. Merge after normal checks. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
Custom S3 endpoints currently force path-style URLs, so Railway buckets that require virtual-hosted URLs receive incorrectly addressed requests. This adds the optional S3_FORCE_PATH_STYLE setting, accepting true or false, while preserving existing MinIO and AWS defaults when unset.
The change includes the storage factory, shared validator/export, example environment setting, provider documentation and storage regression tests.
Validation covers presigned upload/download addressing, unchanged custom-endpoint and AWS defaults, and rejection of invalid settings. Against the old factory, the two new behavior tests fail as expected. Full
bun run verifypassed on Linux with fresh isolated PostgreSQL: 5,839 tests passed, zero failed, and all static and type checks passed. GitHub CI passed, including both browser suites, build and migration validation.Actual Railway bucket and deployment acceptance remains separate from local tests.