hammerkit 1.5.0-alpha.1 → 1.5.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/Dockerfile +1 -1
- package/build.schema.json +338 -161
- package/dist/executer/docker-service.js +1 -1
- package/dist/executer/environment-mock.js +6 -3
- package/dist/executer/event-cache.js +2 -6
- package/dist/executer/execute-docker.js +1 -1
- package/dist/executer/execute.spec.js +1 -1
- package/dist/executer/execution-steps.js +10 -1
- package/dist/executer/get-docker-executor.js +34 -7
- package/dist/executer/schedule.js +4 -6
- package/dist/executer/start-node.js +11 -3
- package/dist/executer/watch-node.js +0 -1
- package/dist/index.js +5 -2
- package/dist/log.js +30 -30
- package/dist/logging/grouped-logger.js +2 -2
- package/dist/logging/interactive-logger.js +3 -3
- package/dist/logging/live-logger.js +1 -1
- package/dist/optimizer/get-work-node-cache-stats.js +8 -2
- package/dist/optimizer/work-node-cache-description.js +1 -1
- package/dist/parser/default-build-file.js +22 -0
- package/dist/parser/parse-build-file-references.js +13 -2
- package/dist/parser/parse-build-file.js +25 -3
- package/dist/planner/utils/parse-work-service-volume.js +2 -0
- package/dist/planner/utils/plan-work-dependency.js +4 -1
- package/dist/planner/utils/plan-work-node.js +27 -6
- package/dist/planner/utils/plan-work-volume.js +2 -0
- package/dist/planner/work-node-status.js +2 -1
- package/dist/program.js +23 -22
- package/dist/testing/example-test-suite.js +17 -6
- package/dist/testing/integration/cache.spec.js +3 -3
- package/dist/testing/integration/cancellation.spec.js +1 -1
- package/dist/testing/integration/clean.spec.js +1 -1
- package/dist/testing/integration/cmd.spec.js +1 -1
- package/dist/testing/integration/concurrency.spec.js +1 -1
- package/dist/testing/integration/docker.spec.js +1 -1
- package/dist/testing/integration/env.spec.js +1 -1
- package/dist/testing/integration/error.spec.js +1 -1
- package/dist/testing/integration/extend.spec.js +2 -2
- package/dist/testing/integration/glob.spec.js +1 -1
- package/dist/testing/integration/include.spec.js +1 -1
- package/dist/testing/integration/invalid.spec.js +1 -1
- package/dist/testing/integration/invalid_loop.spec.js +1 -1
- package/dist/testing/integration/kubernetes.spec.js +1 -1
- package/dist/testing/integration/labels.spec.js +1 -1
- package/dist/testing/integration/local.spec.js +1 -1
- package/dist/testing/integration/monorepo.spec.js +1 -1
- package/dist/testing/integration/multi-line.spec.js +1 -1
- package/dist/testing/integration/reference.spec.js +1 -1
- package/dist/testing/integration/services.spec.js +7 -1
- package/dist/testing/integration/store.spec.js +2 -2
- package/dist/testing/integration/unknown.spec.js +1 -1
- package/dist/testing/integration/validate.spec.js +1 -1
- package/dist/testing/integration/watch-dependency.spec.js +30 -0
- package/dist/testing/integration/watch.spec.js +1 -1
- package/dist/utils/empty-writable.js +13 -0
- package/logs/cache-console.log +0 -0
- package/logs/cache-status.log +6 -0
- package/logs/cache-stout.log +0 -0
- package/logs/cancellation-console.log +0 -0
- package/logs/cancellation-status.log +3 -0
- package/logs/cancellation-stout.log +3 -0
- package/logs/clean-console.log +0 -0
- package/logs/clean-status.log +37 -0
- package/logs/clean-stout.log +95 -0
- package/logs/cmd-console.log +0 -0
- package/logs/cmd-status.log +8 -0
- package/logs/cmd-stout.log +9 -0
- package/logs/concurrency-console.log +0 -0
- package/logs/concurrency-status.log +14 -0
- package/logs/concurrency-stout.log +88 -0
- package/logs/docker-console.log +0 -0
- package/logs/docker-status.log +14 -0
- package/logs/docker-stout.log +39 -0
- package/logs/env-console.log +1 -0
- package/logs/env-status.log +1 -0
- package/logs/env-stout.log +0 -0
- package/logs/error-console.log +0 -0
- package/logs/error-status.log +10 -0
- package/logs/error-stout.log +36 -0
- package/logs/extend-console.log +0 -0
- package/logs/extend-status.log +1 -0
- package/logs/extend-stout.log +0 -0
- package/logs/glob-console.log +28 -0
- package/logs/glob-status.log +23 -0
- package/logs/glob-stout.log +52 -0
- package/logs/hello-world-node-console.log +0 -0
- package/logs/hello-world-node-status.log +37 -0
- package/logs/hello-world-node-stout.log +41 -0
- package/logs/include-console.log +0 -0
- package/logs/include-status.log +3 -0
- package/logs/include-stout.log +0 -0
- package/logs/invalid-console.log +0 -0
- package/logs/invalid-status.log +1 -0
- package/logs/invalid-stout.log +0 -0
- package/logs/invalid_loop-console.log +0 -0
- package/logs/invalid_loop-status.log +1 -0
- package/logs/invalid_loop-stout.log +11 -0
- package/logs/labels-console.log +0 -0
- package/logs/labels-status.log +1 -0
- package/logs/labels-stout.log +0 -0
- package/logs/local-console.log +0 -0
- package/logs/local-status.log +7 -0
- package/logs/local-stout.log +8 -0
- package/logs/monorepo-console.log +0 -0
- package/logs/monorepo-status.log +152 -0
- package/logs/monorepo-stout.log +2354 -0
- package/logs/multi-line-console.log +0 -0
- package/logs/multi-line-status.log +1 -0
- package/logs/multi-line-stout.log +0 -0
- package/logs/reference-console.log +0 -0
- package/logs/reference-status.log +5 -0
- package/logs/reference-stout.log +0 -0
- package/logs/services-console.log +0 -0
- package/logs/services-status.log +129 -0
- package/logs/services-stout.log +639 -0
- package/logs/store-restore-console.log +0 -0
- package/logs/store-restore-status.log +40 -0
- package/logs/store-restore-stout.log +97 -0
- package/logs/unknown-console.log +3 -0
- package/logs/unknown-status.log +1 -0
- package/logs/unknown-stout.log +0 -0
- package/logs/validate-console.log +0 -0
- package/logs/validate-status.log +2 -0
- package/logs/validate-stout.log +0 -0
- package/logs/watch-console.log +0 -0
- package/logs/watch-dependency-console.log +0 -0
- package/logs/watch-dependency-status.log +176 -0
- package/logs/watch-dependency-stout.log +779 -0
- package/logs/watch-status.log +100 -0
- package/logs/watch-stout.log +349 -0
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[?25l[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mpending[39m
|
|
2
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mpending[39m
|
|
3
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mstarting[39m | ⠁
|
|
4
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mready[39m | ⠁
|
|
5
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠁
|
|
6
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠉
|
|
7
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠙
|
|
8
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠚
|
|
9
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠒
|
|
10
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠂
|
|
11
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠂
|
|
12
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠒
|
|
13
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠲
|
|
14
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠴
|
|
15
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠤
|
|
16
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠄
|
|
17
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠄
|
|
18
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠤
|
|
19
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠠
|
|
20
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠠ test.md
|
|
21
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠤ test.md
|
|
22
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠦ test.md
|
|
23
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠖ test.md
|
|
24
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [32mcompleted[39m in 1887ms
|
|
25
|
+
[1A[0J[90m[2023-01-01 12:28:09.249][39m [90m[37mtask[90m :[39m [37mexample[39m - [32mcompleted[39m in 1887ms
|
|
26
|
+
[?25h[?25l[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mpending[39m
|
|
27
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mpending[39m
|
|
28
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mstarting[39m | ⠁ execute
|
|
29
|
+
cmd "echo test.md" in container
|
|
30
|
+
[2A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mready[39m | ⠁ execute cmd
|
|
31
|
+
"echo test.md" in container
|
|
32
|
+
[2A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠁ test.md
|
|
33
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠉ test.md
|
|
34
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠙ test.md
|
|
35
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠚ test.md
|
|
36
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠒ test.md
|
|
37
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠂ test.md
|
|
38
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠂ test.md
|
|
39
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠒ test.md
|
|
40
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠲ test.md
|
|
41
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠴ test.md
|
|
42
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠤ test.md
|
|
43
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠄ test.md
|
|
44
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠄ test.md
|
|
45
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠤ test.md
|
|
46
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠠ test.md
|
|
47
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠠ test.md
|
|
48
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠤ test.md
|
|
49
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠦ test.md
|
|
50
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [32mcompleted[39m in 1744ms
|
|
51
|
+
[1A[0J[90m[2023-01-01 12:28:11.001][39m [90m[37mtask[90m :[39m [37mexample[39m - [32mcompleted[39m in 1744ms
|
|
52
|
+
[?25h
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{"context":{"type":"cli","id":"general","name":"hammerkit"},"message":{"type":"status","message":"read /Users/pascal/Repos/node-buildkit/temp/hello-world-node/.hammerkit.yaml build file","context":{"type":"cli","id":"general","name":"hammerkit"},"level":"debug","date":"2023-01-02T11:28:03.846Z"}}
|
|
2
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"watch /Users/pascal/Repos/node-buildkit/temp/hello-world-node/index.js source","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:03.857Z"}}
|
|
3
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"watch /Users/pascal/Repos/node-buildkit/temp/hello-world-node/package.json source","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:03.858Z"}}
|
|
4
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"source /Users/pascal/Repos/node-buildkit/temp/hello-world-node/index.js/Users/pascal/Repos/node-buildkit/temp/hello-world-node/index.js change for watched task api_crashing","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:03.858Z"}}
|
|
5
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"source /Users/pascal/Repos/node-buildkit/temp/hello-world-node/package.json/Users/pascal/Repos/node-buildkit/temp/hello-world-node/package.json change for watched task api_crashing","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:03.858Z"}}
|
|
6
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"api_crashing is skipping cache check, because there was none found","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:03.859Z"}}
|
|
7
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"execute api_crashing locally","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"info","date":"2023-01-02T11:28:03.859Z"}}
|
|
8
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"execute cmd \"node crash.js\" locally","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"info","date":"2023-01-02T11:28:03.859Z"}}
|
|
9
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":"node:internal/modules/cjs/loader:936","date":"2023-01-02T11:28:04.034Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
10
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" throw err;","date":"2023-01-02T11:28:04.034Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
11
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" ^","date":"2023-01-02T11:28:04.034Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
12
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":"Error: Cannot find module '/Users/pascal/Repos/node-buildkit/temp/hello-world-node/crash.js'","date":"2023-01-02T11:28:04.034Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
13
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)","date":"2023-01-02T11:28:04.035Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
14
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" at Function.Module._load (node:internal/modules/cjs/loader:778:27)","date":"2023-01-02T11:28:04.035Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
15
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)","date":"2023-01-02T11:28:04.035Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
16
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" at node:internal/main/run_main_module:17:47 {","date":"2023-01-02T11:28:04.035Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
17
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" code: 'MODULE_NOT_FOUND',","date":"2023-01-02T11:28:04.035Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
18
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" requireStack: []","date":"2023-01-02T11:28:04.035Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
19
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":"}","date":"2023-01-02T11:28:04.035Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
20
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"source /Users/pascal/Repos/node-buildkit/temp/hello-world-node/index.js/Users/pascal/Repos/node-buildkit/temp/hello-world-node/index.js change for watched task api_crashing","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:04.048Z"}}
|
|
21
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"index.js changed from checksum d082ae778f3e2371a3be6161e8adac4f8d87c3d1 to fd4d9ca8ea5e46cc430b764518a74f2e32b54461","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:04.152Z"}}
|
|
22
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"api_crashing can't be skipped because index.js has been modified","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:04.152Z"}}
|
|
23
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"source changed for node api_crashing, restart process","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:04.152Z"}}
|
|
24
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"api_crashing is skipping cache check, because there was none found","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"debug","date":"2023-01-02T11:28:04.155Z"}}
|
|
25
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"execute api_crashing locally","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"info","date":"2023-01-02T11:28:04.156Z"}}
|
|
26
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"status","message":"execute cmd \"node crash.js\" locally","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"level":"info","date":"2023-01-02T11:28:04.156Z"}}
|
|
27
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":"node:internal/modules/cjs/loader:936","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
28
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" throw err;","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
29
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" ^","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
30
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":"Error: Cannot find module '/Users/pascal/Repos/node-buildkit/temp/hello-world-node/crash.js'","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
31
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
32
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" at Function.Module._load (node:internal/modules/cjs/loader:778:27)","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
33
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
34
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" at node:internal/main/run_main_module:17:47 {","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
35
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" code: 'MODULE_NOT_FOUND',","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
36
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":" requireStack: []","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
37
|
+
{"context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"},"message":{"type":"console","console":"stderr","message":"}","date":"2023-01-02T11:28:04.292Z","context":{"type":"task","name":"api_crashing","id":"cda239c5f72a5b8db12e2513bd2da585703e3200"}}}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[?25l[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [33mpending[39m
|
|
2
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [33mpending[39m
|
|
3
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [33mstarting[39m | ⠁
|
|
4
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [34mready[39m | ⠁
|
|
5
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [34mrunning[39m | ⠁
|
|
6
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [34mrunning[39m | ⠉
|
|
7
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [31mcrash[39m
|
|
8
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [31mcrash[39m
|
|
9
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [33mpending[39m
|
|
10
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [33mstarting[39m | ⠙ exe
|
|
11
|
+
cute cmd "node crash.js" locally
|
|
12
|
+
[2A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [34mready[39m | ⠙ execut
|
|
13
|
+
e cmd "node crash.js" locally
|
|
14
|
+
[2A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [34mrunning[39m | ⠙ }
|
|
15
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [34mrunning[39m | ⠚ }
|
|
16
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [34mrunning[39m | ⠒ }
|
|
17
|
+
[1A[0J[90m[37mtask[90m :[39m [37mapi_crashing[39m - [31mcrash[39m
|
|
18
|
+
[1A[0J[90m[2023-01-01 12:28:04.034][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: node:internal/modules/cjs/loader:936
|
|
19
|
+
[90m[2023-01-01 12:28:04.034][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: throw err;
|
|
20
|
+
[90m[2023-01-01 12:28:04.034][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: ^
|
|
21
|
+
[90m[2023-01-01 12:28:04.034][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: Error: Cannot find module '/Users/pascal/Repos/node-buildkit/temp/hello-world-node/crash.js'
|
|
22
|
+
[90m[2023-01-01 12:28:04.035][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
|
|
23
|
+
[90m[2023-01-01 12:28:04.035][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: at Function.Module._load (node:internal/modules/cjs/loader:778:27)
|
|
24
|
+
[90m[2023-01-01 12:28:04.035][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
|
25
|
+
[90m[2023-01-01 12:28:04.035][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: at node:internal/main/run_main_module:17:47 {
|
|
26
|
+
[90m[2023-01-01 12:28:04.035][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: code: 'MODULE_NOT_FOUND',
|
|
27
|
+
[90m[2023-01-01 12:28:04.035][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: requireStack: []
|
|
28
|
+
[90m[2023-01-01 12:28:04.035][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: }
|
|
29
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: node:internal/modules/cjs/loader:936
|
|
30
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: throw err;
|
|
31
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: ^
|
|
32
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: Error: Cannot find module '/Users/pascal/Repos/node-buildkit/temp/hello-world-node/crash.js'
|
|
33
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
|
|
34
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: at Function.Module._load (node:internal/modules/cjs/loader:778:27)
|
|
35
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
|
|
36
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: at node:internal/main/run_main_module:17:47 {
|
|
37
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: code: 'MODULE_NOT_FOUND',
|
|
38
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: requireStack: []
|
|
39
|
+
[90m[2023-01-01 12:28:04.292][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - stderr: }
|
|
40
|
+
[90m[2023-01-01 12:28:04.302][39m [90m[37mtask[90m :[39m [37mapi_crashing[39m - [31mcrash[39m exited with 1
|
|
41
|
+
[?25h
|
|
File without changes
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
{"context":{"type":"cli","id":"general","name":"hammerkit"},"message":{"type":"status","message":"read /Users/pascal/Repos/node-buildkit/temp/include/.hammerkit.yaml build file","context":{"type":"cli","id":"general","name":"hammerkit"},"level":"debug","date":"2023-01-02T11:28:02.163Z"}}
|
|
2
|
+
{"context":{"type":"cli","id":"general","name":"hammerkit"},"message":{"type":"status","message":"read /Users/pascal/Repos/node-buildkit/temp/include/foo/build.yaml build file","context":{"type":"cli","id":"general","name":"hammerkit"},"level":"debug","date":"2023-01-02T11:28:02.176Z"}}
|
|
3
|
+
{"context":{"type":"task","name":"foo:bar","id":"1455529f82756746781efbc56483268b3fdeb4bb"},"message":{"type":"status","message":"remove cache /Users/pascal/Library/Application Support/hammerkit/cache/1455529f82756746781efbc56483268b3fdeb4bb","context":{"type":"task","name":"foo:bar","id":"1455529f82756746781efbc56483268b3fdeb4bb"},"level":"info","date":"2023-01-02T11:28:02.185Z"}}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"context":{"type":"cli","id":"general","name":"hammerkit"},"message":{"type":"status","message":"read /Users/pascal/Repos/node-buildkit/temp/invalid/.hammerkit.yaml build file","context":{"type":"cli","id":"general","name":"hammerkit"},"level":"debug","date":"2023-01-02T11:28:08.155Z"}}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"context":{"type":"cli","id":"general","name":"hammerkit"},"message":{"type":"status","message":"read /Users/pascal/Repos/node-buildkit/temp/invalid_loop/.hammerkit.yaml build file","context":{"type":"cli","id":"general","name":"hammerkit"},"level":"debug","date":"2023-01-02T11:28:06.634Z"}}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[?25l[0J[90m[37mtask[90m :[39m [37mfoo[39m - [31merror[39m task cycle detected
|
|
2
|
+
foo -> bar -> foo
|
|
3
|
+
[90m[37mtask[90m :[39m [37mbar[39m - [31merror[39m task cycle detected
|
|
4
|
+
bar -> foo -> bar
|
|
5
|
+
[4A[0J[90m[37mtask[90m :[39m [37mfoo[39m - [31merror[39m task cycle detected
|
|
6
|
+
foo -> bar -> foo
|
|
7
|
+
[90m[37mtask[90m :[39m [37mbar[39m - [31merror[39m task cycle detected
|
|
8
|
+
bar -> foo -> bar
|
|
9
|
+
[4A[0J[90m[2023-01-01 12:28:06.672][39m [90m[37mtask[90m :[39m [37mfoo[39m - [31merror[39m with message task cycle detected foo -> bar -> foo
|
|
10
|
+
[90m[2023-01-01 12:28:06.672][39m [90m[37mtask[90m :[39m [37mbar[39m - [31merror[39m with message task cycle detected bar -> foo -> bar
|
|
11
|
+
[?25h
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"context":{"type":"cli","id":"general","name":"hammerkit"},"message":{"type":"status","message":"read /Users/pascal/Repos/node-buildkit/temp/labels/.hammerkit.yaml build file","context":{"type":"cli","id":"general","name":"hammerkit"},"level":"debug","date":"2023-01-02T11:28:06.978Z"}}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{"context":{"type":"cli","id":"general","name":"hammerkit"},"message":{"type":"status","message":"read /Users/pascal/Repos/node-buildkit/temp/local/.hammerkit.yaml build file","context":{"type":"cli","id":"general","name":"hammerkit"},"level":"debug","date":"2023-01-02T11:28:06.802Z"}}
|
|
2
|
+
{"context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"message":{"type":"status","message":"remove cache /Users/pascal/Library/Application Support/hammerkit/cache/3f7b76be249b71480098f9949d9259258431c3ff","context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"level":"info","date":"2023-01-02T11:28:06.833Z"}}
|
|
3
|
+
{"context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"message":{"type":"status","message":"example is skipping cache check, because there was none found","context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"level":"debug","date":"2023-01-02T11:28:06.845Z"}}
|
|
4
|
+
{"context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"message":{"type":"status","message":"execute example locally","context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"level":"info","date":"2023-01-02T11:28:06.860Z"}}
|
|
5
|
+
{"context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"message":{"type":"status","message":"execute cmd \"ls\" locally","context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"level":"info","date":"2023-01-02T11:28:06.860Z"}}
|
|
6
|
+
{"context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"message":{"type":"status","message":"write cache description for example to /Users/pascal/Library/Application Support/hammerkit/cache/3f7b76be249b71480098f9949d9259258431c3ff/description.json","context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"level":"debug","date":"2023-01-02T11:28:06.907Z"}}
|
|
7
|
+
{"context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"message":{"type":"status","message":"write file cache for example to /Users/pascal/Library/Application Support/hammerkit/cache/3f7b76be249b71480098f9949d9259258431c3ff/stats.json","context":{"type":"task","name":"example","id":"3f7b76be249b71480098f9949d9259258431c3ff"},"level":"debug","date":"2023-01-02T11:28:06.910Z"}}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
[?25l[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mpending[39m
|
|
2
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mpending[39m
|
|
3
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [33mstarting[39m | ⠁
|
|
4
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mready[39m | ⠁
|
|
5
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [34mrunning[39m | ⠁
|
|
6
|
+
[1A[0J[90m[37mtask[90m :[39m [37mexample[39m - [32mcompleted[39m in 51ms
|
|
7
|
+
[1A[0J[90m[2023-01-01 12:28:06.913][39m [90m[37mtask[90m :[39m [37mexample[39m - [32mcompleted[39m in 51ms
|
|
8
|
+
[?25h
|
|
File without changes
|