criyle
|
9fe356feb5
|
shell: decouple terminal with grpc via stream interface
|
2024-02-05 11:55:58 +00:00 |
|
criyle
|
8dd368a655
|
stream: rename types to avoid stutters
|
2024-02-05 08:57:12 +00:00 |
|
criyle
|
c29d0adce2
|
rest: no copy file download
|
2024-02-03 15:49:32 +00:00 |
|
criyle
|
8025bd36b6
|
docs: fix typos
|
2024-02-03 15:19:49 +00:00 |
|
criyle
|
cb1256f4bf
|
shell: support cancel with double ctrl-c
|
2024-02-03 12:39:29 +00:00 |
|
criyle
|
010c30f85e
|
stream: decoupled stream execution with grpc stream
|
2024-02-03 11:56:57 +00:00 |
|
criyle
|
f25d768f65
|
doc: update naming convention
|
2023-11-10 01:52:59 +00:00 |
|
criyle
|
4220c29481
|
*: rename executorserver to go-judge
|
2023-11-10 01:20:28 +00:00 |
|
criyle
|
4de8c98bc2
|
linuxc: create transient unit cgroup on systemd enabled distribution via dbus
fixes #89
|
2023-11-09 10:57:42 +00:00 |
|
criyle
|
2f2478539c
|
model: deprecate strict_memory_limit to percise definition
|
2023-10-30 04:04:42 +00:00 |
|
criyle
|
eded6e02f6
|
linuxc: add addressSpaceLimit to enable rlimit_as
|
2023-10-30 03:10:28 +00:00 |
|
criyle
|
90de4c544c
|
main: allow -srf-prefix to pass list of path split by comma
|
2023-04-14 03:46:30 -07:00 |
|
criyle
|
afb21cc2f7
|
main: listen on both ipv4 and ipv6 localhost when exists
|
2023-04-14 02:51:04 -07:00 |
|
criyle
|
495ad3f4ba
|
config: use localhost when not in container
|
2023-04-13 18:22:24 -07:00 |
|
criyle
|
dd8c6ec2d0
|
*: bump dependencies & fix multiple cmd pipe proxy copy out
|
2023-04-13 02:47:58 -07:00 |
|
criyle
|
348abdaf53
|
api: add /config endpoint for configuration and update go1.20
|
2023-02-19 02:02:02 -08:00 |
|
criyle
|
c7d4babb64
|
config: set default value for copyOutMax to 256m
|
2022-12-02 21:56:39 -08:00 |
|
criyle
|
a06fc0b259
|
env: support symlink creation
|
2022-11-13 15:23:29 -08:00 |
|
yzy-1
|
561c0a6955
|
ffi: refactor cinterface (#43)
* ffi: refactor cinterface
* ffi: change Init parameters to JSON
|
2022-10-25 02:16:57 -04:00 |
|
criyle
|
a10fd6892e
|
main: log error when listening failed
|
2022-10-20 20:35:47 -07:00 |
|
criyle
|
8bd65f1e9c
|
model: fix file leak for gRPC and websocket handler
fix #40
|
2022-10-18 20:55:16 -07:00 |
|
criyle
|
5b5924608c
|
linuxcontainer: build on go1.19
log info for ws error
fix #38
fix #39
|
2022-10-01 19:08:08 -07:00 |
|
criyle
|
1cd461b1c5
|
linuxc: look up executable inside container using PATH environment variable
|
2022-08-13 01:24:18 -07:00 |
|
criyle
|
b248dd1747
|
grpc: wrap error with status code
resolves #37
|
2022-07-30 00:56:59 -07:00 |
|
criyle
|
ce07b7079a
|
build: use goreleaser
|
2022-05-23 14:47:50 -07:00 |
|
criyle
|
aeafe49334
|
mac: ignore memory limit
|
2022-04-03 03:09:20 -07:00 |
|
criyle
|
105980bb73
|
*: bump to go1.18
|
2022-03-20 23:40:21 -07:00 |
|
criyle
|
a461f88d64
|
main: move metrics / debug to another endpoint
|
2022-02-21 23:28:55 -08:00 |
|
criyle
|
d00db1c7f7
|
metrics: adjust some metrics names
|
2022-02-20 01:34:43 -08:00 |
|
criyle
|
00fba25769
|
version: fix git action and docker version generation
|
2022-02-12 09:29:55 +00:00 |
|
criyle
|
414efbf597
|
envexec: performance improvements for content copyIn
|
2022-02-12 09:05:10 +00:00 |
|
criyle
|
5fd53e07ca
|
filestore: use math/rand & reduce fileId to 40bit
|
2022-01-08 19:25:23 -08:00 |
|
criyle
|
dbcfc79614
|
worker: add ability to cancel task when queue is full
|
2021-11-19 14:34:00 -08:00 |
|
criyle
|
1c3681ba39
|
ws: add ability to cancel running task
- client is able to cancel task via close connection and cancel request
close #24
|
2021-11-14 19:17:07 -08:00 |
|
criyle
|
049d26a179
|
linuxc: limit open file count & add stdio devices
|
2021-11-12 01:35:47 -08:00 |
|
criyle
|
d8581a0c0c
|
linuxcontainer: allow restrict usage of CPU and CPU set
- change cpuRate to int and 1000 means 1 CPU 100%
|
2021-10-30 23:25:30 -07:00 |
|
criyle
|
7f0b066258
|
linuxcontainer: do not change uid/gid by default
|
2021-09-27 23:57:46 -07:00 |
|
criyle
|
34e87660d8
|
fix build
|
2021-09-20 19:09:04 -07:00 |
|
criyle
|
1326a38b25
|
model: fix gRPC segv caused by mmap before encoding
- fix mount proc argument
|
2021-09-20 19:00:03 -07:00 |
|
criyle
|
915cbaccbb
|
envexec: add detailed file error message
|
2021-09-20 00:43:05 -07:00 |
|
criyle
|
b54becc32d
|
envexec: collect output through a file in container
- add `pipe` boolean to collector to indicate whether to use pipe or file as collector
close #21
|
2021-09-19 22:05:24 -07:00 |
|
criyle
|
78bb4d85de
|
filestore: use /dev/shm instead of memory as file storage
- increase default tmpfs size to 128M
- add /config to get file store path
- remove memory only file store
close #20
|
2021-09-19 15:47:24 -07:00 |
|
criyle
|
55ffb52086
|
main: reduce memory allocation & force GC regularly
|
2021-06-24 20:27:43 -07:00 |
|
criyle
|
e99bcce3db
|
version: add pipeProxy feature flag & udpate dependencies
|
2021-06-12 17:45:01 -07:00 |
|
criyle
|
0d09e88184
|
envexec: Add pipe proxy support
|
2021-06-12 17:33:53 -07:00 |
|
criyle
|
6195204dcc
|
envexec: add optional flag for copyOut files
fix #14
|
2021-06-05 20:24:08 -07:00 |
|
criyle
|
64ba821390
|
metrics: add metrics for environment counts
|
2021-05-01 21:01:47 -07:00 |
|
leafor
|
1bc2df59ea
|
feat(*): converting form string to model.Status
|
2021-04-25 19:28:46 +08:00 |
|
criyle
|
6a9a2c6a3b
|
metrics: fix size map
|
2021-04-17 18:17:41 -07:00 |
|
criyle
|
ba8d3924d8
|
feat: add timeout support to filestore
resolve #11
|
2021-04-17 18:13:18 -07:00 |
|