Commit Graph
4 Commits
Author SHA1 Message Date
Matt Godbolt f71e3c4997 Unconditionally use the compilation queue (#2978)
* Unconditionally use the compilation queue and re-enable MS compilers

* Always use the compilation queue, which ensures we don't
  execute more native apps thn are configured, especially while
  we're starting up.
* Guard the compilation queue from enqueueing stuff that was
  already executing in a queue context. This is to prevent deadlock
  though it's not always a problem (it's only if the caller awaits
  the job, which is often the case).

Should mitigate the issues we had on Sep 30 2021, where nodes were
having trouble starting up due to the large amount of JVM-based
compilers. See #2977
2021-09-30 22:42:23 -05:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible

In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules

This PR attempts to not change code behavior when possible.  In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the 
code base to silence the error.  You can find these by searching for `eslint-disable-next-line`.

Co-authored-by: Austin Morton <austinpmorton@gmail.com>
2020-08-04 16:39:02 -04:00
Austin Morton cadbdf59ff Switch to p-queue package, implement compilationEnvTimeoutMs, and improve temp cleanup logging (#1877)
These changes are an attempt to help diagnose a queue halting issue that decreases parallelism and prevents temp dir cleanup.

see #1875
2020-03-07 01:50:49 -05:00