hammerkit 1.9.0 → 1.9.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.
@@ -17,6 +17,13 @@ async function executeWorkService(work, environment, options) {
17
17
  const required = await (0, await_completed_dependencies_1.awaitRequirement)(work, environment.abortCtrl.signal, { untilAllDone: !options.watch });
18
18
  if (!required) {
19
19
  work.status.write('debug', `${work.name} not started, no task needing it had to run`);
20
+ // ended, so the services it needs see it done too; left pending they
21
+ // would wait for it forever and the run would never finish
22
+ work.state.set({
23
+ type: 'end',
24
+ reason: 'not-started',
25
+ stateKey: null,
26
+ });
20
27
  return;
21
28
  }
22
29
  }
package/dist/log.js CHANGED
@@ -100,6 +100,9 @@ async function printWorkTreeResult(schedulerState, env) {
100
100
  for (const service of (0, plan_work_tasks_1.iterateWorkServices)(schedulerState)) {
101
101
  let message = `${formatDate(new Date())} ${getType('service')} ${getNodeName(service.name, maxNodeNameLength)} - ${getStateText(service.state.current)}`;
102
102
  if (service.state.current.type === 'end') {
103
+ if (service.state.current.reason === 'not-started') {
104
+ continue;
105
+ }
103
106
  if (service.state.current.reason === 'crash') {
104
107
  message += ` crashed`;
105
108
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hammerkit",
3
3
  "description": "Containerized build tool with incremental caching that runs the same build file locally, in Docker and on Kubernetes.",
4
- "version": "1.9.0",
4
+ "version": "1.9.1",
5
5
  "keywords": [
6
6
  "build",
7
7
  "build-tool",