@reventlessdev/reventless-aws 3.0.0-alpha.190 → 3.0.0-alpha.192

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,21 @@
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.192 (2026-07-10)
7
+
8
+ **Note:** Version bump only for package @reventlessdev/reventless-aws
9
+
10
+
11
+
12
+
13
+
14
+ # 3.0.0-alpha.191 (2026-07-10)
15
+
16
+ ### Bug Fixes
17
+
18
+ * **plugin-lifecycle:** backfill plugin kind onto existing rows via deploy-time RedetectPlugin ([502dbd6](https://github.com/ReventlessDev/reventless-core/commit/502dbd65d1fdd5b8beae8a7b96df06dcfa32fe3e))
19
+
20
+
6
21
  # 3.0.0-alpha.190 (2026-07-10)
7
22
 
8
23
  **Note:** Version bump only for package @reventlessdev/reventless-aws
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-aws",
3
- "version": "3.0.0-alpha.190",
3
+ "version": "3.0.0-alpha.192",
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-jest": "1.0.0-alpha.6",
13
- "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.14",
14
12
  "@reventlessdev/rescript-effect": "0.1.0-alpha.25",
13
+ "@reventlessdev/rescript-jest": "1.0.0-alpha.6",
15
14
  "@reventlessdev/rescript-pulumi-aws": "2.4.0-alpha.47",
15
+ "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.14",
16
16
  "@reventlessdev/rescript-uuid": "1.1.0-alpha.14",
17
- "@reventlessdev/reventless-infra": "3.0.0-alpha.92",
17
+ "@reventlessdev/reventless-core": "3.0.0-alpha.152",
18
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.93",
18
19
  "@reventlessdev/reventless-interop": "3.0.0-alpha.24",
19
- "@reventlessdev/reventless-postgres": "3.0.0-alpha.14",
20
- "@reventlessdev/reventless-spec": "3.0.0-alpha.70",
21
- "@reventlessdev/reventless-core": "3.0.0-alpha.150"
20
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.71",
21
+ "@reventlessdev/reventless-postgres": "3.0.0-alpha.16"
22
22
  },
23
23
  "devDependencies": {
24
24
  "rescript": "^12.3.0",
package/src/Platform.res CHANGED
@@ -2120,15 +2120,19 @@ module MakeWithConfig = (
2120
2120
  | None => ()
2121
2121
  }
2122
2122
 
2123
- // Zero-downtime handover (Part 3.1): fire ONE synthetic heartbeat for the
2123
+ // Zero-downtime handover (Part 3.1): fire ONE synthetic re-detect for the
2124
2124
  // just-deployed plugin so its new version runs the connect handshake within
2125
2125
  // seconds instead of waiting for the CloudWatch heartbeat rule's first
2126
- // natural tick (up to `heartbeatTimeout` minutes). Routes through the exact
2127
- // runtime heartbeat path — a `Heartbeat(timeout)` command (id = name@version)
2128
- // onto the EP FIFO command-topic queue mirroring HeartbeatEntryPoint.mjs and
2129
- // reusing CommandTopicChannel_SQS_Runtime.publishJsons (correct FIFO
2130
- // message-group handling). If it no-ops (config missing / send fails) the
2131
- // handover still completes on the next natural heartbeatgraceful degradation.
2126
+ // natural tick (up to `heartbeatTimeout` minutes). Uses `RedetectPlugin` rather
2127
+ // than a keep-alive `Heartbeat` so an already-connected version re-runs the
2128
+ // handshake and refreshes its stored definition on the lifecycle row (e.g. a
2129
+ // newly added `kind`) — a plain heartbeat no-ops a connected version and would
2130
+ // never re-serialize the def. Routes through the exact runtime path a command
2131
+ // (id = name@version) onto the EP FIFO command-topic queue mirroring
2132
+ // HeartbeatEntryPoint.mjs and reusing CommandTopicChannel_SQS_Runtime.publishJsons
2133
+ // (correct FIFO message-group handling). If it no-ops (config missing / send
2134
+ // fails) the handover still completes on the next natural heartbeat — graceful
2135
+ // degradation.
2132
2136
  // heartbeatConfigRef holds the just-built plugin's config (deployPlugin builds
2133
2137
  // exactly one plugin per call, and registerHeartbeatConfig ran during P.make()).
2134
2138
  let hbConfig = PluginRuntime_Builder.heartbeatConfigRef.contents
@@ -2144,7 +2148,7 @@ module MakeWithConfig = (
2144
2148
  ~service=ReventlessInfra.PluginExtensionPointSpec.name,
2145
2149
  ~user="DeployHeartbeat",
2146
2150
  ),
2147
- commandJson: ReventlessInfra.PluginExtensionPointSpec.Heartbeat(
2151
+ commandJson: ReventlessInfra.PluginExtensionPointSpec.RedetectPlugin(
2148
2152
  hbConfig.heartbeatTimeout,
2149
2153
  )->S.reverseConvertToJsonOrThrow(ReventlessInfra.PluginExtensionPointSpec.commandSchema),
2150
2154
  }
@@ -1290,7 +1290,7 @@ function MakeWithConfig(Config) {
1290
1290
  let message_id = hbConfig.pluginId;
1291
1291
  let message_meta = Message$ReventlessCore.generateMeta(PluginExtensionPointSpec$ReventlessInfra.name, undefined, "DeployHeartbeat", undefined, undefined, undefined, undefined, undefined);
1292
1292
  let message_commandJson = S.reverseConvertToJsonOrThrow({
1293
- TAG: "Heartbeat",
1293
+ TAG: "RedetectPlugin",
1294
1294
  _0: hbConfig.heartbeatTimeout
1295
1295
  }, PluginExtensionPointSpec$ReventlessInfra.commandSchema);
1296
1296
  let message = {
@@ -2491,7 +2491,7 @@ function Make($star) {
2491
2491
  let message_id = hbConfig.pluginId;
2492
2492
  let message_meta = Message$ReventlessCore.generateMeta(PluginExtensionPointSpec$ReventlessInfra.name, undefined, "DeployHeartbeat", undefined, undefined, undefined, undefined, undefined);
2493
2493
  let message_commandJson = S.reverseConvertToJsonOrThrow({
2494
- TAG: "Heartbeat",
2494
+ TAG: "RedetectPlugin",
2495
2495
  _0: hbConfig.heartbeatTimeout
2496
2496
  }, PluginExtensionPointSpec$ReventlessInfra.commandSchema);
2497
2497
  let message = {