@lage-run/scheduler 1.3.0 → 1.3.2
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.json +85 -1
- package/CHANGELOG.md +27 -2
- package/lib/WrappedTarget.d.ts +2 -1
- package/lib/WrappedTarget.js +3 -1
- package/lib/workers/targetWorker.js +1 -0
- package/package.json +8 -8
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,91 @@
|
|
|
2
2
|
"name": "@lage-run/scheduler",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Wed,
|
|
5
|
+
"date": "Wed, 02 Oct 2024 20:25:42 GMT",
|
|
6
|
+
"version": "1.3.2",
|
|
7
|
+
"tag": "@lage-run/scheduler_v1.3.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "kchau@microsoft.com",
|
|
12
|
+
"package": "@lage-run/scheduler",
|
|
13
|
+
"commit": "6ecbd570669a07fa87429af5de13ec1adc58b864",
|
|
14
|
+
"comment": "Simulate file access for lage server"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@lage-run/scheduler",
|
|
19
|
+
"comment": "Bump @lage-run/cache to v1.3.4",
|
|
20
|
+
"commit": "not available"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@lage-run/scheduler",
|
|
25
|
+
"comment": "Bump @lage-run/config to v0.4.3",
|
|
26
|
+
"commit": "not available"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@lage-run/scheduler",
|
|
31
|
+
"comment": "Bump @lage-run/hasher to v1.6.0",
|
|
32
|
+
"commit": "not available"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@lage-run/scheduler",
|
|
37
|
+
"comment": "Bump @lage-run/runners to v1.0.3",
|
|
38
|
+
"commit": "not available"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@lage-run/scheduler",
|
|
43
|
+
"comment": "Bump @lage-run/target-graph to v0.9.0",
|
|
44
|
+
"commit": "not available"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@lage-run/scheduler",
|
|
49
|
+
"comment": "Bump @lage-run/worker-threads-pool to v0.8.3",
|
|
50
|
+
"commit": "not available"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@lage-run/scheduler",
|
|
55
|
+
"comment": "Bump @lage-run/scheduler-types to v0.3.16",
|
|
56
|
+
"commit": "not available"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"date": "Fri, 27 Sep 2024 20:03:49 GMT",
|
|
63
|
+
"version": "1.3.1",
|
|
64
|
+
"tag": "@lage-run/scheduler_v1.3.1",
|
|
65
|
+
"comments": {
|
|
66
|
+
"patch": [
|
|
67
|
+
{
|
|
68
|
+
"author": "kchau@microsoft.com",
|
|
69
|
+
"package": "@lage-run/scheduler",
|
|
70
|
+
"commit": "2919f9041f931dc6ef65017f7aedb9fef9dab66d",
|
|
71
|
+
"comment": "Simulate file access for lage server"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"author": "beachball",
|
|
75
|
+
"package": "@lage-run/scheduler",
|
|
76
|
+
"comment": "Bump @lage-run/hasher to v1.5.0",
|
|
77
|
+
"commit": "not available"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"author": "beachball",
|
|
81
|
+
"package": "@lage-run/scheduler",
|
|
82
|
+
"comment": "Bump @lage-run/worker-threads-pool to v0.8.2",
|
|
83
|
+
"commit": "not available"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"date": "Wed, 25 Sep 2024 20:28:10 GMT",
|
|
6
90
|
"version": "1.3.0",
|
|
7
91
|
"tag": "@lage-run/scheduler_v1.3.0",
|
|
8
92
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,37 @@
|
|
|
1
1
|
# Change Log - @lage-run/scheduler
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on Wed,
|
|
3
|
+
<!-- This log was last generated on Wed, 02 Oct 2024 20:25:42 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.3.2
|
|
8
|
+
|
|
9
|
+
Wed, 02 Oct 2024 20:25:42 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Simulate file access for lage server (kchau@microsoft.com)
|
|
14
|
+
- Bump @lage-run/cache to v1.3.4
|
|
15
|
+
- Bump @lage-run/config to v0.4.3
|
|
16
|
+
- Bump @lage-run/hasher to v1.6.0
|
|
17
|
+
- Bump @lage-run/runners to v1.0.3
|
|
18
|
+
- Bump @lage-run/target-graph to v0.9.0
|
|
19
|
+
- Bump @lage-run/worker-threads-pool to v0.8.3
|
|
20
|
+
- Bump @lage-run/scheduler-types to v0.3.16
|
|
21
|
+
|
|
22
|
+
## 1.3.1
|
|
23
|
+
|
|
24
|
+
Fri, 27 Sep 2024 20:03:49 GMT
|
|
25
|
+
|
|
26
|
+
### Patches
|
|
27
|
+
|
|
28
|
+
- Simulate file access for lage server (kchau@microsoft.com)
|
|
29
|
+
- Bump @lage-run/hasher to v1.5.0
|
|
30
|
+
- Bump @lage-run/worker-threads-pool to v0.8.2
|
|
31
|
+
|
|
7
32
|
## 1.3.0
|
|
8
33
|
|
|
9
|
-
Wed, 25 Sep 2024 20:
|
|
34
|
+
Wed, 25 Sep 2024 20:28:10 GMT
|
|
10
35
|
|
|
11
36
|
### Minor changes
|
|
12
37
|
|
package/lib/WrappedTarget.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export interface WorkerResult {
|
|
|
23
23
|
skipped: boolean;
|
|
24
24
|
hash: string;
|
|
25
25
|
value: unknown;
|
|
26
|
+
id: string;
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
29
|
* Wraps a target with additional functionality:
|
|
@@ -52,7 +53,7 @@ export declare class WrappedTarget implements TargetRun<WorkerResult> {
|
|
|
52
53
|
onComplete(): void;
|
|
53
54
|
onFail(): void;
|
|
54
55
|
onSkipped(hash?: string | undefined): void;
|
|
55
|
-
run(): Promise<
|
|
56
|
+
run(): Promise<WorkerResult | undefined>;
|
|
56
57
|
private runInPool;
|
|
57
58
|
/**
|
|
58
59
|
* A JSON representation of this wrapped target, suitable for serialization in tests.
|
package/lib/WrappedTarget.js
CHANGED
|
@@ -197,6 +197,7 @@ class WrappedTarget {
|
|
|
197
197
|
} else {
|
|
198
198
|
this.onComplete();
|
|
199
199
|
}
|
|
200
|
+
return _class_private_field_get(this, _result);
|
|
200
201
|
} catch (e) {
|
|
201
202
|
logger.error(String(e), {
|
|
202
203
|
target
|
|
@@ -269,7 +270,8 @@ class WrappedTarget {
|
|
|
269
270
|
stderrBuffer: bufferStderr.buffer,
|
|
270
271
|
skipped: result?.skipped,
|
|
271
272
|
hash: result?.hash,
|
|
272
|
-
value: result?.value
|
|
273
|
+
value: result?.value,
|
|
274
|
+
id: result?.id
|
|
273
275
|
};
|
|
274
276
|
}
|
|
275
277
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lage-run/scheduler",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Scheduler for Lage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
"lint": "monorepo-scripts lint"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@lage-run/cache": "^1.3.
|
|
21
|
-
"@lage-run/config": "^0.4.
|
|
22
|
-
"@lage-run/hasher": "^1.
|
|
20
|
+
"@lage-run/cache": "^1.3.4",
|
|
21
|
+
"@lage-run/config": "^0.4.3",
|
|
22
|
+
"@lage-run/hasher": "^1.6.0",
|
|
23
23
|
"@lage-run/logger": "^1.3.1",
|
|
24
|
-
"@lage-run/runners": "^1.0.
|
|
25
|
-
"@lage-run/target-graph": "^0.
|
|
26
|
-
"@lage-run/worker-threads-pool": "^0.8.
|
|
24
|
+
"@lage-run/runners": "^1.0.3",
|
|
25
|
+
"@lage-run/target-graph": "^0.9.0",
|
|
26
|
+
"@lage-run/worker-threads-pool": "^0.8.3"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@lage-run/monorepo-scripts": "*",
|
|
30
|
-
"@lage-run/scheduler-types": "^0.3.
|
|
30
|
+
"@lage-run/scheduler-types": "^0.3.16"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|