@mastra/deployer 1.56.0-alpha.0 → 1.56.0-alpha.1
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 +10 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/handlers/restart-active-runs.d.ts.map +1 -1
- package/dist/server/index.cjs +6 -2
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +6 -2
- package/dist/server/index.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.56.0-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Prevent background workflow recovery failures from terminating the server. ([#19639](https://github.com/mastra-ai/mastra/pull/19639))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`c5e56ff`](https://github.com/mastra-ai/mastra/commit/c5e56ff3bcabdf062708f2d48744fec304df6792), [`c5e56ff`](https://github.com/mastra-ai/mastra/commit/c5e56ff3bcabdf062708f2d48744fec304df6792), [`4e35a56`](https://github.com/mastra-ai/mastra/commit/4e35a56cdf8d74a5ff6d5eda01f2c1deaf6cc7be), [`4e35a56`](https://github.com/mastra-ai/mastra/commit/4e35a56cdf8d74a5ff6d5eda01f2c1deaf6cc7be), [`8ac9019`](https://github.com/mastra-ai/mastra/commit/8ac9019db164b0703035c27da22c28e675053ce2)]:
|
|
10
|
+
- @mastra/core@1.56.0-alpha.1
|
|
11
|
+
- @mastra/server@1.56.0-alpha.1
|
|
12
|
+
|
|
3
13
|
## 1.56.0-alpha.0
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-deployer
|
|
|
3
3
|
description: Documentation for @mastra/deployer. Use when working with @mastra/deployer APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/deployer"
|
|
6
|
-
version: "1.56.0-alpha.
|
|
6
|
+
version: "1.56.0-alpha.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restart-active-runs.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/restart-active-runs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAIpC,wBAAsB,mCAAmC,CAAC,CAAC,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"restart-active-runs.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/restart-active-runs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAIpC,wBAAsB,mCAAmC,CAAC,CAAC,EAAE,OAAO,qBAoBnE"}
|
package/dist/server/index.cjs
CHANGED
|
@@ -3009,8 +3009,12 @@ async function healthHandler(c) {
|
|
|
3009
3009
|
async function restartAllActiveWorkflowRunsHandler(c) {
|
|
3010
3010
|
try {
|
|
3011
3011
|
const mastra = c.get("mastra");
|
|
3012
|
-
mastra.restartAllActiveWorkflowRuns()
|
|
3013
|
-
|
|
3012
|
+
mastra.restartAllActiveWorkflowRuns().catch((error) => {
|
|
3013
|
+
mastra.getLogger().error("Failed to restart active workflow runs during server startup", { error });
|
|
3014
|
+
});
|
|
3015
|
+
if (mastra.recoveryConfig?.durableAgents === "auto") mastra.recoverAllDurableAgents().catch((error) => {
|
|
3016
|
+
mastra.getLogger().error("Failed to recover durable agent runs during server startup", { error });
|
|
3017
|
+
});
|
|
3014
3018
|
return c.json({ message: "Restarting all active workflow runs..." });
|
|
3015
3019
|
} catch (error) {
|
|
3016
3020
|
return handleError(error, "Error restarting active workflow runs");
|