@reventlessdev/reventless-aws 3.0.0-alpha.243 → 3.0.0-alpha.245
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.
- package/CHANGELOG.md +16 -0
- package/package.json +7 -7
- package/src/components/SideEffectHandler_PerSideEffectHandler.res +24 -13
- package/src/components/SideEffectHandler_PerSideEffectHandler.res.mjs +6 -52
- package/src/components/SideEffectHandler_Single.res +4 -0
- package/src/components/SideEffectHandler_Single.res.mjs +2 -1
- package/src/components/Task_Builder_PerBucket.res.mjs +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 3.0.0-alpha.245 (2026-07-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @reventlessdev/reventless-aws
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 3.0.0-alpha.244 (2026-07-30)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **aws:** point the per-side-effect arm at the compiled event-collector builder ([0aaef40](https://github.com/ReventlessDev/reventless-core/commit/0aaef403a844c36c8d13038e3695c182c5b27745))
|
|
19
|
+
* **core,aws:** provision the side-effect handler Lambda, which never existed ([d07311e](https://github.com/ReventlessDev/reventless-core/commit/d07311e0cfc368e9b3d51596e775a58b55a2fc0e))
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# 3.0.0-alpha.243 (2026-07-29)
|
|
7
23
|
|
|
8
24
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/reventless-aws",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.245",
|
|
4
4
|
"description": "AWS adapters for Reventless",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
"sury": "11.0.0-alpha.4",
|
|
13
13
|
"uuid": "^13.0.0",
|
|
14
14
|
"@reventlessdev/rescript-aws-sdk": "2.2.0-alpha.25",
|
|
15
|
-
"@reventlessdev/rescript-effect": "0.1.0-alpha.31",
|
|
16
15
|
"@reventlessdev/rescript-jest": "1.0.0-alpha.9",
|
|
17
|
-
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.17",
|
|
18
16
|
"@reventlessdev/rescript-pulumi-aws": "2.4.0-alpha.61",
|
|
17
|
+
"@reventlessdev/rescript-effect": "0.1.0-alpha.31",
|
|
18
|
+
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.17",
|
|
19
19
|
"@reventlessdev/rescript-uuid": "1.1.0-alpha.17",
|
|
20
|
-
"@reventlessdev/reventless-core": "3.0.0-alpha.
|
|
21
|
-
"@reventlessdev/reventless-infra": "3.0.0-alpha.
|
|
20
|
+
"@reventlessdev/reventless-core": "3.0.0-alpha.193",
|
|
21
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.111",
|
|
22
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.86",
|
|
22
23
|
"@reventlessdev/reventless-interop": "3.0.0-alpha.29",
|
|
23
|
-
"@reventlessdev/reventless-postgres": "3.0.0-alpha.
|
|
24
|
-
"@reventlessdev/reventless-spec": "3.0.0-alpha.84"
|
|
24
|
+
"@reventlessdev/reventless-postgres": "3.0.0-alpha.57"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"rescript": "12.3.0",
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
// The arm a side-effect-bearing Task reaches, via `Task_Builder_PerBucket`.
|
|
2
|
+
//
|
|
3
|
+
// It is `SideEffectHandler_Single` — the same shared "AllSideEffectHandlers" Lambda.
|
|
4
|
+
// Two earlier wirings both produced no Lambda at all:
|
|
5
|
+
//
|
|
6
|
+
// - `ReventlessCore.EventCollectorRuntime_Builder_PerEventCollector.Make(…)` builds
|
|
7
|
+
// through `RuntimeEnvironment.make` = `CallbackFunction` = a serialized closure,
|
|
8
|
+
// and the handler closes over Effect, which Pulumi's closure walker cannot
|
|
9
|
+
// serialize. Construction threw and the function went missing.
|
|
10
|
+
// - AWS's `EventCollectorRuntime_Builder_PerEventCollector` type-checks against the
|
|
11
|
+
// same `forEventCollector` signature but dispatches on a `readModelInfos`
|
|
12
|
+
// registry and bundles `ReadModelEntryPoint.mjs`. A side-effect handler is never
|
|
13
|
+
// in that registry, so it took the builder's `None` arm, logged
|
|
14
|
+
// "no bundled info registered", and created nothing — silently.
|
|
15
|
+
//
|
|
16
|
+
// Matching signatures are not matching behaviour. The registry a builder reads is
|
|
17
|
+
// the part that has to line up: side-effect handlers need `sideEffectInfos` and
|
|
18
|
+
// `SideEffectEntryPoint.mjs`, which is what `SideEffectHandler_Single` registers into.
|
|
19
|
+
//
|
|
20
|
+
// There is deliberately no per-handler Lambda behind this name. If per-handler
|
|
21
|
+
// memory/timeout tuning is wanted, add a real
|
|
22
|
+
// `SideEffectHandlerRuntime_Builder_PerSideEffectHandler` over the same registry and
|
|
23
|
+
// point this module at it.
|
|
24
|
+
include SideEffectHandler_Single.Make()
|
|
@@ -1,61 +1,15 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
|
-
import * as
|
|
4
|
-
import * as RuntimeEnvironment_Lambda$ReventlessAws from "../adapter/Runtime/RuntimeEnvironment_Lambda.res.mjs";
|
|
5
|
-
import * as SideEffectHandler_Builder$ReventlessCore from "@reventlessdev/reventless-core/src/components/SideEffectHandler/SideEffectHandler_Builder.res.mjs";
|
|
6
|
-
import * as EventCollectorChannel_DynamoDbStream$ReventlessAws from "../adapter/EventCollector/EventCollectorChannel_DynamoDbStream.res.mjs";
|
|
7
|
-
import * as EventCollectorRuntime_Builder_PerEventCollector$ReventlessCore from "@reventlessdev/reventless-core/src/adapter/Runtime/EventCollectorRuntime_Builder_PerEventCollector.res.mjs";
|
|
3
|
+
import * as SideEffectHandler_Single$ReventlessAws from "./SideEffectHandler_Single.res.mjs";
|
|
8
4
|
|
|
9
|
-
let
|
|
10
|
-
make: RuntimeEnvironment_Lambda$ReventlessAws.make,
|
|
11
|
-
groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
|
|
12
|
-
extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
|
|
13
|
-
extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
|
|
14
|
-
extractSentTimestamp: RuntimeEnvironment_Lambda$ReventlessAws.extractSentTimestamp,
|
|
15
|
-
extractRetryCount: RuntimeEnvironment_Lambda$ReventlessAws.extractRetryCount,
|
|
16
|
-
asEventHandler: prim => prim,
|
|
17
|
-
asEffectHandler: prim => prim
|
|
18
|
-
})({
|
|
19
|
-
make: EventCollectorChannel_DynamoDbStream$ReventlessAws.make,
|
|
20
|
-
connect: EventCollectorChannel_DynamoDbStream$ReventlessAws.connect
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
let include = SideEffectHandler_Builder$ReventlessCore.Make({
|
|
24
|
-
make: RuntimeEnvironment_Lambda$ReventlessAws.make,
|
|
25
|
-
groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
|
|
26
|
-
extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
|
|
27
|
-
extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
|
|
28
|
-
extractSentTimestamp: RuntimeEnvironment_Lambda$ReventlessAws.extractSentTimestamp,
|
|
29
|
-
extractRetryCount: RuntimeEnvironment_Lambda$ReventlessAws.extractRetryCount,
|
|
30
|
-
asEventHandler: prim => prim,
|
|
31
|
-
asEffectHandler: prim => prim
|
|
32
|
-
})({
|
|
33
|
-
make: EventCollectorChannel_DynamoDbStream$ReventlessAws.make,
|
|
34
|
-
connect: EventCollectorChannel_DynamoDbStream$ReventlessAws.connect
|
|
35
|
-
})(EventCollector_Builder$ReventlessCore.Make({
|
|
36
|
-
make: RuntimeEnvironment_Lambda$ReventlessAws.make,
|
|
37
|
-
groupBySource: RuntimeEnvironment_Lambda$ReventlessAws.groupBySource,
|
|
38
|
-
extractCorrelationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCorrelationId,
|
|
39
|
-
extractCausationId: RuntimeEnvironment_Lambda$ReventlessAws.extractCausationId,
|
|
40
|
-
extractSentTimestamp: RuntimeEnvironment_Lambda$ReventlessAws.extractSentTimestamp,
|
|
41
|
-
extractRetryCount: RuntimeEnvironment_Lambda$ReventlessAws.extractRetryCount,
|
|
42
|
-
asEventHandler: prim => prim,
|
|
43
|
-
asEffectHandler: prim => prim
|
|
44
|
-
})({
|
|
45
|
-
make: EventCollectorChannel_DynamoDbStream$ReventlessAws.make,
|
|
46
|
-
connect: EventCollectorChannel_DynamoDbStream$ReventlessAws.connect
|
|
47
|
-
}))(EventCollectorRuntimeBuilder);
|
|
48
|
-
|
|
49
|
-
let EventCollectorChannel;
|
|
50
|
-
|
|
51
|
-
let RuntimeEnvironment;
|
|
5
|
+
let include = SideEffectHandler_Single$ReventlessAws.Make({});
|
|
52
6
|
|
|
53
7
|
let make = include.make;
|
|
54
8
|
|
|
9
|
+
let finish = include.finish;
|
|
10
|
+
|
|
55
11
|
export {
|
|
56
|
-
EventCollectorChannel,
|
|
57
|
-
RuntimeEnvironment,
|
|
58
|
-
EventCollectorRuntimeBuilder,
|
|
59
12
|
make,
|
|
13
|
+
finish,
|
|
60
14
|
}
|
|
61
|
-
/*
|
|
15
|
+
/* include Not a pure module */
|
|
@@ -47,9 +47,7 @@ function Make(Spec) {
|
|
|
47
47
|
connect: TaskBucket_S3$ReventlessAws.connect,
|
|
48
48
|
makeHandler: TaskBucket_S3$ReventlessAws.makeHandler,
|
|
49
49
|
make: TaskBucket_S3$ReventlessAws.make
|
|
50
|
-
})(
|
|
51
|
-
make: SideEffectHandler_PerSideEffectHandler$ReventlessAws.make
|
|
52
|
-
})(Defaults);
|
|
50
|
+
})(SideEffectHandler_PerSideEffectHandler$ReventlessAws)(Defaults);
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
let EventCollectorChannel;
|