Skip to content

Releases: photostructure/batch-cluster.js

v5.6.8

01 Sep 17:56
85a91b3
Compare
Choose a tag to compare
  • updeps 3fe1d70
  • Added SECURITY and upgraded deps 254669e
  • rebuild yarn.lock 95b4e31
  • Merge pull request #4 from photostructure/dependabot/npm_and_yarn/lodash-4.17.14 2ff9748
  • Bump lodash from 4.17.11 to 4.17.14 d8c8ebf

v5.6.7...v5.6.8

v5.6.7

15 Jul 22:35
e59f4b1
Compare
Choose a tag to compare

v5.6.3

03 Apr 21:06
f04b553
Compare
Choose a tag to compare
  • 📦 Moved to photostructure github org
  • 📦 updated dependencies

v5.6.2...v5.6.3

v5.6.1

16 Mar 03:43
3117665
Compare
Choose a tag to compare
  • 📦 Expose BatchCluster.options. Note that the object is frozen at construction.

Commits

v5.6.0...v5.6.1

v5.6.0

15 Mar 22:35
a8a23da
Compare
Choose a tag to compare
  • 🐛 / ✨ BatchProcess.end() didn't correctly implement gracefully (which resulted in spurious end(): called while not idle errors), and allowed for multiple calls to destroy and disconnect from the child process, which may or may not have been ill-advised.
  • 📦 attempts were made to make CI less flaky.

Commits

  • remove node 6 tests, which tend to be flaky. Node 6 is EOL end of the month, anyway. 6f1db33
  • mac ci is really slow. a66e061
  • bump up timeout for CI 9cb0180
  • moar deflaking b641f95
  • one more effort to deflake CI 6c85066
  • current task handling on end. lots of notes. a8af744
  • deflake onIdle cab97e4
  • fix shutdown 5dedd38
  • await until c98331d
  • test cleanup 82d4a0d
  • require source-map-support so CI test jobs have line numbers 74aa02d
  • prep 5.6.0. rebuild docs and run prettier. c096cc2
  • Fix BatchProcess.end(graceful) to be graceful. Replace BatchProcess.end with a promise-based latch. c8bd169

v5.5.0...v5.6.0

v5.5.0

14 Mar 23:08
82efab8
Compare
Choose a tag to compare

v5.5.0

  • ✨ Added BatchCluster.isIdle. Updated deps. Deflaked CI by embiggening
  • ✨ Added BatchClusterOptions.cleanupChildProcs, in case you want to handle process cleanup yourself.
  • 📦 Updated deps. Deflaked CI by embiggening timeouts.
  • Happy 🥧 day.

Commits

v5.4.0...v5.5.0

v5.4.0

13 Mar 02:46
e7ff6a7
Compare
Choose a tag to compare
  • ✨ "wear-leveling" for processes. Previously, only the first-spawned child
    process would service most task requests, but that caused issues with (very)
    long-running tasks where the other child processes would be spooled off ram,
    and could time out when requested later.
  • 🐞 maxProcs is respected again. In prior builds, if tasks were enqueued all
    at once, prior dispatch code would only spin 1 concurrent task at a time.
  • 🐞 Multiple calls to BatchProcess.end would result in different promise
    resolution targets: the second call to .end() would resolve before the
    first. This was fixed.
  • BatchProcessOptions's
    minDelayBetweenSpawnMillis was added, to help relieve undue system load on
    startup. It defaults to 1.5 seconds and can be disabled by setting it to 0.

Commits:

  • deflake 0f24527
  • moar tests and better concurrency! 50c0548
  • yarn docs 280858f
  • enable downlevelIteration 8863da7
  • salita -u ; yarn install fd9202d
  • round-robin find 99bd8db
  • run more iterations to reduce test flake ed97cc9
  • more rigorous test serial tests 199454d
  • validate maxProcs actually exercises all child pids a0ffd6a

v5.3.1...v5.4.0

v5.3.1

05 Mar 04:48
097d75a
Compare
Choose a tag to compare
  • prettier. remove noisy log b9c2a22

v5.3.0...v5.3.1

v5.3.0

05 Mar 04:20
ef2ad04
Compare
Choose a tag to compare
  • 🐞 .pass and .fail regex now support multiple line outputs per task.

Commits:

v5.2.0...v5.3.0