Repository navigation
Add pluggable storage providers and optional AWS hybrid foundation - #2
Merged
Merged
Conversation
added 6 commits
September 19, 2026 08:31
Add runtime identities, secret-source configuration, storage contract and integration tests, isolated emulators, examples and draft deployment guidance. Refs #1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
Keep the swarm on an internal bridge and expose fixture APIs through loopback-only relays. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
Report only aggregate healthy-peer and freespace counts, never daemon logs or identities. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
Add DynamoDB metadata, synchronous encrypted-content backups and explicit recovery, runtime Secrets Manager references, and an opt-in EC2/EBS/S3/KMS foundation. Keep provider SDKs outside the record service and preserve dual unlock. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
Keep emulator backups in fixture-owned temporary files and clarify the separate federated smoke-test role and prefix. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc4430e2-35f5-48b8-bd0f-5dc6fad2a0ff
kcskribbl
marked this pull request as ready for review
September 20, 2026 02:03
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
Draft implementation following the discussion in #1. Adds segregated,
pluggable Azure, S3, DynamoDB and private IPFS/Cluster adapters while retaining
memory/file storage and the existing encrypted patient-record service.
Each provider owns its construction in
provider.ts. Additional typedfactories can be registered without changing the service or central factory.
Public imports remain available through
src/index.ts.Included
key-partitioned infrastructure table.BlobStore.Validation and limitations
npm test: 252 tests passed, including 44 DynamoDB adapter tests, 10 backup/recovery tests and 14 AWS infrastructure policy checks.npm run typecheckandnpm run build: passed.npm run test:integration:azure: 7 tests passed against actual Azurite, using temporary synthetic credentials and cleaned-up local storage.npm audit --omit=dev: no reported runtime-dependency vulnerabilities.1cf6145: 252 default tests, typecheck/build, 7 Azurite tests, and the private-IPFS suite/node-loss probe.Important boundaries for review
storage-integrationenvironment before enabling the cloud smoke workflow. No long-lived cloud credentials should be placed in GitHub.synthetic-integration/; do not reuse the EC2-only foundation role, whose object scope isrecords/.Please keep this PR in draft while reviewing concurrency, metadata exposure,
operator/network assumptions, IAM policies and live-provider results.