feat: keep delivered work in S3-compatible object storage (ADR-0004 phase 3)
The store's rules now sit on a Blobs layer: a folder, as before, or a prefix in an S3-compatible bucket (MinIO locally), chosen by STORE_BACKEND. The layout is the same in both; the record is written last. - S3_BUCKET, S3_PREFIX, S3_ENDPOINT_URL, S3_REGION; AWS credentials - an s3 extra (boto3), installed in the image; moto for tests - every store test runs on both kinds of storage Retention, the platform's sign-in and each kept file as a platform artifact are left: the last needs the platform's S3 backend, which it does not yet have. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,7 +30,11 @@ dependencies = [
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
# The Orchestration engine's store on S3-compatible object storage (ADR-0004).
|
||||
s3 = ["boto3>=1.34"]
|
||||
dev = [
|
||||
"boto3>=1.34",
|
||||
"moto[s3]>=5.0",
|
||||
"pytest>=8.0.0",
|
||||
"pytest-asyncio>=0.23.0",
|
||||
"ruff>=0.6.0",
|
||||
@@ -59,3 +63,8 @@ cache-dir = ".cache/ruff"
|
||||
|
||||
[tool.mypy]
|
||||
cache_dir = ".cache/mypy"
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
# The AWS SDK and its test double ship without type information.
|
||||
module = ["boto3", "boto3.*", "botocore", "botocore.*", "moto", "moto.*"]
|
||||
ignore_missing_imports = true
|
||||
|
||||
Reference in New Issue
Block a user