@evident-ai/runner-cdk 0.1.1-dev.04ef8b1 → 0.1.1-dev.8f13d30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -81,7 +81,9 @@ class EvidentMicrovmConstruct extends constructs_1.Construct {
|
|
|
81
81
|
// ANDed with the age condition and counts newer noncurrent versions of
|
|
82
82
|
// the SAME key, but litestream's LTX keys are txid-unique and churn by
|
|
83
83
|
// DELETE, so a churned key has exactly one noncurrent version and zero
|
|
84
|
-
// newer ones.
|
|
84
|
+
// newer ones. `expiredObjectDeleteMarker` reaps the delete marker itself once
|
|
85
|
+
// its noncurrent version is gone — without it, the version index grows
|
|
86
|
+
// unboundedly, one marker per churned LTX key.
|
|
85
87
|
const durableState = new s3.Bucket(this, 'DurableState', {
|
|
86
88
|
encryption: s3.BucketEncryption.S3_MANAGED,
|
|
87
89
|
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,
|
|
@@ -98,6 +100,7 @@ class EvidentMicrovmConstruct extends constructs_1.Construct {
|
|
|
98
100
|
{
|
|
99
101
|
id: 'ExpireNoncurrentVersions',
|
|
100
102
|
noncurrentVersionExpiration: cdk.Duration.days(7),
|
|
103
|
+
expiredObjectDeleteMarker: true,
|
|
101
104
|
},
|
|
102
105
|
],
|
|
103
106
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evident-ai/runner-cdk",
|
|
3
|
-
"version": "0.1.1-dev.
|
|
3
|
+
"version": "0.1.1-dev.8f13d30",
|
|
4
4
|
"description": "Reusable CDK constructs for an Evident agent runner: a single scale-to-zero Fargate runner (task + service + per-agent self-stop role + waker Lambda), or a per-session AWS Lambda MicroVM that boots on demand and suspends between messages. Instantiate once per agent from your own stack.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|