@tomflow/proflow-task-migration-runner 0.1.4 → 0.1.5
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 +7 -0
- package/SETUP.md +15 -3
- package/dist/deployment/adapter.d.ts +12 -12
- package/dist/deployment/descriptor.d.ts +1 -1
- package/dist/deployment/descriptor.js +1 -1
- package/package.json +3 -3
- package/proflow.module.json +1 -1
package/CHANGELOG.md
ADDED
package/SETUP.md
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
# @tomflow/proflow-task-migration-runner — Module Setup
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Goal
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Reach `setupStatus=READY` without user configuration.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Step 1 — Complete machine-owned preparation
|
|
8
|
+
|
|
9
|
+
**Type:** automatic
|
|
10
|
+
**Executable:** `platform install`
|
|
11
|
+
**What happens:** No user input is required. Required schema migrations are machine-owned and must run automatically.
|
|
12
|
+
|
|
13
|
+
## Step 2 — Re-observe dependency and setup state
|
|
14
|
+
|
|
15
|
+
**Type:** automatic verification
|
|
16
|
+
**Verify:** `platform status`
|
|
17
|
+
**Success condition:** `task-migration-runner.setupStatus=READY`.
|
|
18
|
+
|
|
19
|
+
There is no human setup action. A missing machine-owned artifact or producer-owned dependency is a `FAILED` condition to fix in the owning package/dependency; it must never be converted into a request for path/token/endpoint input.
|
|
@@ -4,7 +4,7 @@ export declare const behaviorAdapter: {
|
|
|
4
4
|
result: {
|
|
5
5
|
contract: "deployment.result.v1";
|
|
6
6
|
moduleRef: "task-migration-runner";
|
|
7
|
-
moduleVersion: "0.1.
|
|
7
|
+
moduleVersion: "0.1.5";
|
|
8
8
|
ok: false;
|
|
9
9
|
status: "FAILED";
|
|
10
10
|
error: {
|
|
@@ -20,7 +20,7 @@ export declare const behaviorAdapter: {
|
|
|
20
20
|
ok: true;
|
|
21
21
|
status: "SUCCEEDED";
|
|
22
22
|
moduleRef: "task-migration-runner";
|
|
23
|
-
moduleVersion: "0.1.
|
|
23
|
+
moduleVersion: "0.1.5";
|
|
24
24
|
data: {
|
|
25
25
|
applied: number[];
|
|
26
26
|
pending: number[];
|
|
@@ -34,7 +34,7 @@ export declare const behaviorAdapter: {
|
|
|
34
34
|
readonly ok: true;
|
|
35
35
|
readonly status: "SUCCEEDED";
|
|
36
36
|
readonly moduleRef: "task-migration-runner";
|
|
37
|
-
readonly moduleVersion: "0.1.
|
|
37
|
+
readonly moduleVersion: "0.1.5";
|
|
38
38
|
};
|
|
39
39
|
observedEffects: never[];
|
|
40
40
|
}>;
|
|
@@ -44,7 +44,7 @@ export declare const behaviorAdapter: {
|
|
|
44
44
|
ok: true;
|
|
45
45
|
status: "SUCCEEDED";
|
|
46
46
|
moduleRef: "task-migration-runner";
|
|
47
|
-
moduleVersion: "0.1.
|
|
47
|
+
moduleVersion: "0.1.5";
|
|
48
48
|
data: {
|
|
49
49
|
setupStatus: "FAILED" | "READY";
|
|
50
50
|
runtimeStatus: "NOT_APPLICABLE";
|
|
@@ -58,11 +58,11 @@ export declare const behaviorAdapter: {
|
|
|
58
58
|
readonly ok: true;
|
|
59
59
|
readonly status: "SUCCEEDED";
|
|
60
60
|
readonly moduleRef: "task-migration-runner";
|
|
61
|
-
readonly moduleVersion: "0.1.
|
|
61
|
+
readonly moduleVersion: "0.1.5";
|
|
62
62
|
} | {
|
|
63
63
|
contract: "deployment.result.v1";
|
|
64
64
|
moduleRef: "task-migration-runner";
|
|
65
|
-
moduleVersion: "0.1.
|
|
65
|
+
moduleVersion: "0.1.5";
|
|
66
66
|
ok: false;
|
|
67
67
|
status: "FAILED";
|
|
68
68
|
error: {
|
|
@@ -79,7 +79,7 @@ export declare const behaviorAdapter: {
|
|
|
79
79
|
ok: true;
|
|
80
80
|
status: "SUCCEEDED";
|
|
81
81
|
moduleRef: "task-migration-runner";
|
|
82
|
-
moduleVersion: "0.1.
|
|
82
|
+
moduleVersion: "0.1.5";
|
|
83
83
|
data: {
|
|
84
84
|
docs: string;
|
|
85
85
|
setup: string;
|
|
@@ -93,7 +93,7 @@ export declare const behaviorAdapter: {
|
|
|
93
93
|
readonly ok: true;
|
|
94
94
|
readonly status: "SUCCEEDED";
|
|
95
95
|
readonly moduleRef: "task-migration-runner";
|
|
96
|
-
readonly moduleVersion: "0.1.
|
|
96
|
+
readonly moduleVersion: "0.1.5";
|
|
97
97
|
};
|
|
98
98
|
observedEffects: never[];
|
|
99
99
|
}>;
|
|
@@ -103,7 +103,7 @@ export declare const behaviorAdapter: {
|
|
|
103
103
|
readonly ok: true;
|
|
104
104
|
readonly status: "SUCCEEDED";
|
|
105
105
|
readonly moduleRef: "task-migration-runner";
|
|
106
|
-
readonly moduleVersion: "0.1.
|
|
106
|
+
readonly moduleVersion: "0.1.5";
|
|
107
107
|
};
|
|
108
108
|
observedEffects: never[];
|
|
109
109
|
}>;
|
|
@@ -113,7 +113,7 @@ export declare const behaviorAdapter: {
|
|
|
113
113
|
ok: true;
|
|
114
114
|
status: "SUCCEEDED";
|
|
115
115
|
moduleRef: "task-migration-runner";
|
|
116
|
-
moduleVersion: "0.1.
|
|
116
|
+
moduleVersion: "0.1.5";
|
|
117
117
|
data: {
|
|
118
118
|
applied: number[];
|
|
119
119
|
pending: number[];
|
|
@@ -121,7 +121,7 @@ export declare const behaviorAdapter: {
|
|
|
121
121
|
} | {
|
|
122
122
|
contract: "deployment.result.v1";
|
|
123
123
|
moduleRef: "task-migration-runner";
|
|
124
|
-
moduleVersion: "0.1.
|
|
124
|
+
moduleVersion: "0.1.5";
|
|
125
125
|
ok: false;
|
|
126
126
|
status: "FAILED";
|
|
127
127
|
error: {
|
|
@@ -138,7 +138,7 @@ export declare const behaviorAdapter: {
|
|
|
138
138
|
ok: true;
|
|
139
139
|
status: "SUCCEEDED";
|
|
140
140
|
moduleRef: "task-migration-runner";
|
|
141
|
-
moduleVersion: "0.1.
|
|
141
|
+
moduleVersion: "0.1.5";
|
|
142
142
|
data: {
|
|
143
143
|
migrated: boolean;
|
|
144
144
|
appliedVersions: number[];
|
|
@@ -3,7 +3,7 @@ export declare const descriptor: {
|
|
|
3
3
|
readonly contractVersion: "1.0.0";
|
|
4
4
|
readonly moduleRef: "task-migration-runner";
|
|
5
5
|
readonly packageName: "@tomflow/proflow-task-migration-runner";
|
|
6
|
-
readonly moduleVersion: "0.1.
|
|
6
|
+
readonly moduleVersion: "0.1.5";
|
|
7
7
|
readonly kind: "cli";
|
|
8
8
|
readonly templateVersion: "1.0.0";
|
|
9
9
|
readonly platformCompatibility: ">=1.0.0 <2.0.0";
|
|
@@ -3,7 +3,7 @@ export const descriptor = {
|
|
|
3
3
|
contractVersion: "1.0.0",
|
|
4
4
|
moduleRef: "task-migration-runner",
|
|
5
5
|
packageName: "@tomflow/proflow-task-migration-runner",
|
|
6
|
-
moduleVersion: "0.1.
|
|
6
|
+
moduleVersion: "0.1.5",
|
|
7
7
|
kind: "cli",
|
|
8
8
|
templateVersion: "1.0.0",
|
|
9
9
|
platformCompatibility: ">=1.0.0 <2.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomflow/proflow-task-migration-runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"SETUP.md"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tomflow/proflow-module-contract": "^0.1.
|
|
27
|
-
"@tomflow/proflow-task-store-sqlite": "^0.1.
|
|
26
|
+
"@tomflow/proflow-module-contract": "^0.1.5",
|
|
27
|
+
"@tomflow/proflow-task-store-sqlite": "^0.1.5"
|
|
28
28
|
},
|
|
29
29
|
"description": "Deterministically discovers, applies and verifies Task Store SQLite schema migrations.",
|
|
30
30
|
"keywords": [
|
package/proflow.module.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"contractVersion": "1.0.0",
|
|
4
4
|
"moduleRef": "task-migration-runner",
|
|
5
5
|
"packageName": "@tomflow/proflow-task-migration-runner",
|
|
6
|
-
"moduleVersion": "0.1.
|
|
6
|
+
"moduleVersion": "0.1.5",
|
|
7
7
|
"kind": "cli",
|
|
8
8
|
"templateVersion": "1.0.0",
|
|
9
9
|
"platformCompatibility": ">=1.0.0 <2.0.0",
|