@rip-lang/swarm 1.2.8 → 1.2.9

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/lib/worker.mjs CHANGED
@@ -22,7 +22,6 @@ try {
22
22
  }
23
23
  } catch (err) {
24
24
  parentPort.postMessage({ type: 'error', error: err.message });
25
- process.exit(1);
26
25
  }
27
26
 
28
27
  // Signal ready
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/swarm",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "Parallel job runner with worker threads — setup once, swarm many",
5
5
  "type": "module",
6
6
  "main": "swarm.rip",
package/swarm.rip CHANGED
@@ -313,15 +313,6 @@ export swarm = (opts = {}) ->
313
313
 
314
314
  w.on 'exit', (code) ->
315
315
  writeFileSync('.swarm/errors.log', "worker #{slot} exited with code #{code}, inflight: #{inflight[slot]}\n", { flag: 'a' }) if existsSync(_dir)
316
- # startup failure — worker never became ready
317
- if code isnt 0 and not info[slot]? and not fatal
318
- fatal = true
319
- cursor(true) unless quiet
320
- write go(workers + 5, 1) unless quiet
321
- console.error "\nswarm: worker #{slot} failed to start (exit code #{code})"
322
- console.error "hint: run 'bun add @rip-lang/all' in your project directory"
323
- console.error " check .swarm/errors.log for details"
324
- exit 1
325
316
  # if worker crashed mid-task, count the in-flight task as died
326
317
  if inflight[slot]
327
318
  move(inflight[slot], _died)