Brian Gough
b1ca08fd0c
handle EPIPE errors in CompileController
2020-06-18 09:54:18 +01:00
Brian Gough
a8286e7742
Merge pull request #179 from overleaf/bg-fix-synctex-error
...
fix synctex error
2020-06-16 08:57:54 +01:00
Brian Gough
74a11c7be3
fix format
2020-06-16 08:45:53 +01:00
Brian Gough
1f3217f598
Merge branch 'master' into bg-use-lodash
2020-06-16 08:35:17 +01:00
Brian Gough
9b92793b89
migrate from underscore to lodash
2020-06-15 09:52:21 +01:00
Brian Gough
33d6462875
check output file exists before running synctex
2020-06-12 15:15:27 +01:00
Tim Alby
7ceadc8599
partially revert "[DockerRunner] fix metric incrementing and error logging"
...
This reverts commits:
- 2b2fcca39c
- 9e82ab0890
- e3da458b37
2020-06-11 12:51:26 +02:00
Brian Gough
3e3e4503eb
add setting TEXLIVE_OPENOUT_ANY
2020-06-04 11:47:22 +01:00
Brian Gough
2211ebcefb
fix eslint errors
2020-06-02 09:51:34 +01:00
Brian Gough
17c14b1192
fix formatting with make format_fix
2020-06-02 09:18:38 +01:00
Brian Gough
8c60406bb5
Merge pull request #170 from overleaf/jpa-import-141
...
[DockerRunner] destroyOldContainers: fix a race confition
2020-06-02 09:04:59 +01:00
Brian Gough
9db18c95a5
Merge pull request #169 from overleaf/bg-record-latexmk-output
...
record latexmk output
2020-06-02 09:03:43 +01:00
Jakob Ackermann
f8cb5e36af
[DockerRunner] destroyOldContainers: normalize the container name
...
The docker api returns each name with a `/` prefix.
In order to not interfere with pending compiles, the deletion process
has to acquire an internal lock on the container. The LockManager uses
the plain container name without the slash: `project-xxx`.
Signed-off-by: Jakob Ackermann <das7pad@outlook.com >
2020-05-29 11:28:26 +01:00
Brian Gough
1bcb370ca1
clean up log file deletion and add unit test
2020-05-20 14:12:08 +01:00
Brian Gough
54896fb157
clean up the stdout/stderr recording
2020-05-20 11:45:29 +01:00
Henry Oswald
fec359afac
Merge pull request #162 from overleaf/ta-jpa-epipe-retry
...
[DockerRunner] retry container inspect on EPIPE
2020-05-19 11:15:25 +01:00
Henry Oswald
73afa1a8d7
Merge pull request #164 from overleaf/bg-fix-buffer-deprecations
...
fix deprecated usage of Buffer constructor
2020-05-19 10:26:56 +01:00
Henry Oswald
942678de38
Merge pull request #163 from overleaf/bg-use-encoding-on-process-output
...
set encoding when reading from streams
2020-05-19 10:26:26 +01:00
Henry Oswald
3834c37013
Merge pull request #165 from overleaf/ho-retry-url-downloads
...
add pipeUrlToFileWithRetry for file downloads
2020-05-19 10:25:19 +01:00
Henry Oswald
c004d299c1
add refreshExpiryTimeout function
...
on clsi all data lives inside of / dir
dynamically reduce size of EXPIRY_TIMEOUT if disk starts to get full
2020-05-18 15:17:19 +01:00
Brian Gough
5ab45c1031
record latexmk output
2020-05-15 16:08:10 +01:00
Henry Oswald
0bd99a3edc
add pipeUrlToFileWithRetry function to retry file downloads 3 times
2020-05-14 13:24:58 +01:00
Brian Gough
3592ffda52
fix deprecated usage of Buffer constructor
2020-05-07 10:42:05 +01:00
Brian Gough
5b5fd2f5df
set encoding when reading from streams
...
using .toString() works most of the time but can lead to utf8 characters being
broken across chunk boundaries.
https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding
2020-05-07 10:30:14 +01:00
Henry Oswald
4bd567b78d
Merge branch 'master' into bg-support-other-runtimes
...
port coffee changes to js
2020-04-23 13:59:05 +01:00
Jakob Ackermann
2b2fcca39c
[DockerRunner] fix metric incrementing and error logging
...
- do not log on first EPIPE
- inc 'container-inspect-epipe-error' on permanent error only
Co-Authored-By: Tim Alby <timothee.alby@gmail.com >
2020-04-10 14:44:57 +02:00
Tim Alby
9e82ab0890
add metrics for EPIPE errors
...
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com >
2020-04-10 12:28:48 +02:00
Tim Alby
e3da458b37
retry once on EPIPE errors
...
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com >
2020-04-10 12:28:11 +02:00
Jakob Ackermann
44f30d6c2e
Merge pull request #159 from overleaf/jpa-fix-docker-modem-error-scheme
...
[misc] keep up with the error signature of dockerode/docker-modem
2020-04-03 14:04:06 +02:00
Jakob Ackermann
638d2f30d3
[misc] add a metric for failing downloads
2020-04-03 12:35:40 +02:00
Jakob Ackermann
4a26ec975f
[misc] keep up with the error signature of dockerode/docker-modem
...
https://github.com/apocas/docker-modem/blob/v2.1.1/lib/modem.js#L296
2020-03-27 10:39:45 +01:00
mserranom
6f837f1a74
updated sequelize
2020-03-16 16:31:02 +01:00
mserranom
ffb33ddb40
removed mkdirp dependency and replaced with fs.mkdir
2020-03-12 10:22:08 +01:00
mserranom
ee12573b06
added container monitor cleanup to fix hanging tests
2020-02-20 17:24:28 +01:00
mserranom
cffbd4e9ef
prettier: convert app/js decaffeinated files to Prettier format
2020-02-19 12:14:37 +01:00
mserranom
4576ef54fb
decaffeinate: rename app/coffee dir to app/js
2020-02-19 12:14:34 +01:00