@reventlessdev/reventless-aws 3.0.0-alpha.180 → 3.0.0-alpha.181
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
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
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.181 (2026-07-07)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **reventless-aws:** thread inferred DCB scope into the deployed command handler ([4d8327f](https://github.com/ReventlessDev/reventless-core/commit/4d8327fad8659a1cde8c36098c72392737437af1))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
# 3.0.0-alpha.180 (2026-07-07)
|
|
7
14
|
|
|
8
15
|
### 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.181",
|
|
4
4
|
"description": "AWS adapters for Reventless",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
"sury": "11.0.0-alpha.4",
|
|
10
10
|
"uuid": "^13.0.0",
|
|
11
11
|
"@reventlessdev/rescript-aws-sdk": "2.2.0-alpha.20",
|
|
12
|
-
"@reventlessdev/rescript-effect": "0.1.0-alpha.25",
|
|
13
12
|
"@reventlessdev/rescript-jest": "1.0.0-alpha.6",
|
|
14
|
-
"@reventlessdev/rescript-
|
|
13
|
+
"@reventlessdev/rescript-effect": "0.1.0-alpha.25",
|
|
15
14
|
"@reventlessdev/rescript-pulumi-aws": "2.4.0-alpha.46",
|
|
15
|
+
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.14",
|
|
16
16
|
"@reventlessdev/rescript-uuid": "1.1.0-alpha.14",
|
|
17
|
-
"@reventlessdev/reventless-core": "3.0.0-alpha.
|
|
18
|
-
"@reventlessdev/reventless-infra": "3.0.0-alpha.89",
|
|
17
|
+
"@reventlessdev/reventless-core": "3.0.0-alpha.144",
|
|
19
18
|
"@reventlessdev/reventless-interop": "3.0.0-alpha.24",
|
|
20
|
-
"@reventlessdev/reventless-spec": "3.0.0-alpha.
|
|
21
|
-
"@reventlessdev/reventless-postgres": "3.0.0-alpha.
|
|
19
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.68",
|
|
20
|
+
"@reventlessdev/reventless-postgres": "3.0.0-alpha.8",
|
|
21
|
+
"@reventlessdev/reventless-infra": "3.0.0-alpha.90"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"rescript": "^12.3.0",
|
|
@@ -11,9 +11,7 @@ import { decodeCommand$p as decodeCommandPrime } from "@reventlessdev/reventless
|
|
|
11
11
|
import { tag as requestContextTag } from "@reventlessdev/reventless-core/src/RequestContext.res.mjs";
|
|
12
12
|
import {
|
|
13
13
|
extractVariantNames,
|
|
14
|
-
|
|
15
|
-
mergeTagKeysByEventType,
|
|
16
|
-
extractCrossPartitionTagKeys,
|
|
14
|
+
deriveEffectiveScope,
|
|
17
15
|
} from "@reventlessdev/reventless-spec/src/components/DcbTag.res.mjs";
|
|
18
16
|
import { $$String as IdString } from "@reventlessdev/reventless-spec/src/types/Id.res.mjs";
|
|
19
17
|
import { Make as dcbEventLogOperationsMake } from "@reventlessdev/reventless-core/src/components/DcbEventLog/DcbEventLog_Operations.res.mjs";
|
|
@@ -141,12 +139,19 @@ export async function buildHandlersForConfig(config, opts = {}) {
|
|
|
141
139
|
})
|
|
142
140
|
);
|
|
143
141
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
142
|
+
// Single source of truth with Dcb_Builder.res: prefer slice-graph inference
|
|
143
|
+
// (which classifies cross-partition `@ref` reference reads), falling back to
|
|
144
|
+
// annotations only on ambiguity. Re-deriving from annotations alone here
|
|
145
|
+
// silently dropped inferred cross-partition reads, so every reference-guarded
|
|
146
|
+
// command was rejected on the deployed path — see
|
|
147
|
+
// docs/analysis/dcb-runtime-scope-annotation-drift.md.
|
|
148
|
+
const { crossPartitionTagKeys, tagKeysByEventType } = deriveEffectiveScope(
|
|
149
|
+
loadedSlices.map(({ patchedSpec }) => ({
|
|
150
|
+
name: patchedSpec.name,
|
|
151
|
+
commandSchema: patchedSpec.commandSchema,
|
|
152
|
+
consumedEventSchema: patchedSpec.consumedEventSchema,
|
|
153
|
+
eventSchema: patchedSpec.eventSchema,
|
|
154
|
+
}))
|
|
150
155
|
);
|
|
151
156
|
|
|
152
157
|
loadedSlices.forEach(({ patchedSpec, behaviorModule }) => {
|