feat(persistence): introduce AWS S3 backend#42
Merged
smunini merged 7 commits intoHeliosSoftware:mainfrom Mar 4, 2026
Merged
Conversation
… and env-gated integration tests - Implement S3 backend behind 's3' feature using aws_sdk_s3 only - Add CRUD, vread, history, bulk export, bulk submit - Add bucket-per-tenant and prefix-per-tenant modes - Integrate with capability matrix - Add env-gated real AWS integration tests - Update documentation - No automatic bucket creation (HeadBucket validation only)
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
- Fix outcome placement: error OperationOutcome now goes in response.outcome instead of being incorrectly placed at entry.resource - Add fullUrl to response entries using HFS_BASE_URL - Honor Prefer header (return=minimal, return=representation, return=OperationOutcome) in batch and transaction responses - Add lastModified, etag, and location to batch response entries by unifying batch and transaction paths through BundleEntryResult - Add 22 new integration tests in batch_conformance.rs covering all fixes
- Add S3 storage backend mode to ServerConfig and StorageBackendMode - Wire S3Backend into HFS main binary with HFS_S3_BUCKET, HFS_S3_REGION, and HFS_S3_VALIDATE_BUCKETS env vars - Add s3 feature flag to helios-hfs and helios-rest Cargo.toml - Implement stub SearchProvider and ConditionalStorage traits for S3 (returns UnsupportedCapability errors) - Improve S3 client error mapping for access denied, timeout, and dispatch failures - Add S3 backend to Inferno CI test matrix with conditional execution - Update README with S3 backend docs and env vars
smunini
approved these changes
Mar 4, 2026
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.
Summary
This PR introduces a new AWS S3 persistence backend behind the s3 feature flag.
The implementation integrates with the existing backend abstraction and capability matrix and is intended to provide object-storage–based persistence without claiming advanced query/index semantics.
Implemented Capabilities
Integration
Notes