@backstage/plugin-scaffolder-backend-module-workspace-database 0.1.0-next.1 → 0.1.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-workspace-database
|
|
2
2
|
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e95b649: Added task recovery feature with new `scaffolder.taskRecovery` config section. When enabled, tasks that crash or timeout are automatically recovered and resume from the last completed step, task secrets are retained until the task reaches a terminal state so recovery can continue, and completed step outputs are persisted. Enabling recovery applies to all scaffolder tasks, so actions used by those tasks should be idempotent or use checkpoints. When recovery is disabled (the default), the previous behavior is unchanged: secrets are cleared as soon as a task is claimed and retries re-run every step. The new config consolidates previous experimental flags (`EXPERIMENTAL_recoverTasks`, `EXPERIMENTAL_workspaceSerialization`, `EXPERIMENTAL_recoverTasksTimeout`) which remain supported as fallbacks. The legacy workspace provider setting continues to select a provider only when `EXPERIMENTAL_workspaceSerialization` is `true`.
|
|
8
|
+
|
|
9
|
+
Workspace serialization for task recovery now requires installing a separate workspace provider module, including when you use the legacy configuration. For development, use `@backstage/plugin-scaffolder-backend-module-workspace-database` (50 MB limit, not recommended for production). On first startup, that module migrates existing database workspace snapshots from the legacy task storage. For production, use `@backstage/plugin-scaffolder-backend-module-gcp` or a similar external storage provider. The scaffolder rejects a configured provider that has not been installed and registered.
|
|
10
|
+
|
|
11
|
+
Enabling crash recovery does not keep completed task event streams open; normal task completion remains terminal for event-stream clients.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @backstage/plugin-scaffolder-node@0.13.7
|
|
17
|
+
- @backstage/backend-plugin-api@1.10.1
|
|
18
|
+
|
|
3
19
|
## 0.1.0-next.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-workspace-database",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Database workspace provider module for @backstage/plugin-scaffolder-backend (development use only)",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"test": "backstage-cli package test"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@backstage/backend-plugin-api": "1.10.1
|
|
56
|
-
"@backstage/plugin-scaffolder-node": "0.13.7
|
|
55
|
+
"@backstage/backend-plugin-api": "^1.10.1",
|
|
56
|
+
"@backstage/plugin-scaffolder-node": "^0.13.7",
|
|
57
57
|
"knex": "^3.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@backstage/backend-defaults": "0.
|
|
61
|
-
"@backstage/backend-test-utils": "1.11.7
|
|
62
|
-
"@backstage/cli": "0.36.6
|
|
63
|
-
"@backstage/config": "1.3.
|
|
60
|
+
"@backstage/backend-defaults": "^0.18.0",
|
|
61
|
+
"@backstage/backend-test-utils": "^1.11.7",
|
|
62
|
+
"@backstage/cli": "^0.36.6",
|
|
63
|
+
"@backstage/config": "^1.3.9",
|
|
64
64
|
"fs-extra": "^11.0.0"
|
|
65
65
|
},
|
|
66
66
|
"configSchema": "config.schema.json"
|