Commit Graph

154 Commits

Author SHA1 Message Date
9d1cf31d89
chore: update deps 2024-02-19 12:17:34 +08:00
f284e452d1
feat: add benchmark for ContainerRun{Pool} 2024-02-15 12:54:29 +08:00
6956fe4ee1
feat: capture runtime status from cgroups
pkg/pool: task is now available to return interface{} as result
pkg/pool: use atomic instead of mutex
service/runner: ContainerRun will return metrics
2024-02-15 12:53:57 +08:00
95e861fe43
chore: do not store config in zap 2024-02-15 12:47:57 +08:00
7dcf8f5b7b
chore: book/ch1 add std 2024-01-31 12:09:17 +08:00
e3cd843249
feat: add support for python3(pypy3) and rust 2024-01-30 20:57:17 +08:00
204b61a867
feat: return CompileMessage even if compile is success 2024-01-29 21:16:51 +08:00
bb53ae280f
feat: unify argument passing and errors in runner 2024-01-29 21:15:39 +08:00
81b42f782e
fix: typo in config.json 2024-01-28 22:35:32 +08:00
edd297ada2
chore: pool.WaitForTask should return typed error 2024-01-28 22:02:26 +08:00
33107bf3ae
chore: cleanup: drop prepare_images 2024-01-28 21:51:16 +08:00
0dc241b63c
chore: bump next version 2024-01-28 21:39:16 +08:00
caaccd6e30
release: 1.3.0 2024-01-28 21:35:03 +08:00
170cdd1898
chore: update deps 2024-01-28 21:34:43 +08:00
6e22df8dda
chore: update Dockerfile: sync with frontend changes 2024-01-28 21:25:08 +08:00
23f6012f8c
fix: add missing volumes in docker-compose.yml 2024-01-28 21:08:13 +08:00
6965435cb7
feat: compile and new_problem are queued by pool (#7) 2024-01-28 18:16:04 +08:00
8429988cb4
fix: Prebuild should be independent of Languages 2024-01-28 18:15:07 +08:00
83d3913ba7
feat: support more detailed problem config (#7) 2024-01-27 23:07:34 +08:00
bda209f794
chore: upgrade problem and ubuntu-full to next version 2024-01-27 21:59:38 +08:00
025c88ca6b
fix: drop openrc in runner images: missing pids in cgroups setup 2024-01-27 20:40:32 +08:00
362b5ea9ba
chore: update docker scripts 2024-01-27 19:11:26 +08:00
b5bedddf94
feat: use containerd as backend 2024-01-27 17:40:10 +08:00
7446ac6d23
feat: let asynq retry submit request if it's internal error 2024-01-07 00:45:16 +08:00
7be0379e30
chore: add exclude directory 2024-01-07 00:39:48 +08:00
55f76636fd
fix: asynq concurrency set to cpu num 2024-01-07 00:39:33 +08:00
802ce46f7f
fix: ch1.3 case4 output is wrong 2024-01-07 00:27:03 +08:00
dd86ed8b5a
feat: LimitedWriter: write as much as possible 2024-01-07 00:26:18 +08:00
c36d68eddd
feat: metrics: do not log oauth callback 2024-01-06 21:55:44 +08:00
84a79c5460
chore: use short commit hash 2024-01-06 21:31:10 +08:00
7d95c88063
fix: query_one might crash if submitStatus is empty 2024-01-06 21:24:14 +08:00
f5e2b0cf8b
fix: adjust sentrygin position 2024-01-06 21:05:54 +08:00
ba7afb5eca
chore: bump version to dev 2024-01-06 21:04:20 +08:00
b5d14d5a4b
fix: deadlock in pool 2024-01-06 21:03:30 +08:00
7f71fb4554
fix: query_one might crash if submitStatus is empty 2024-01-06 21:03:16 +08:00
d1f72b758e
feat: also log user dir in status table 2024-01-06 20:34:16 +08:00
a128fceec0
release: 1.2.2 2024-01-06 20:27:28 +08:00
9286aea36a
chore: more verbose log 2024-01-06 19:47:16 +08:00
5826b98b95
fix: migrate is a separate command 2024-01-06 19:26:18 +08:00
696804452e
feat: use injector shutdown rather than manually call Close() 2024-01-06 19:23:12 +08:00
9f1ad95f4e
feat: #6 [8] Directory cleanup and update 2024-01-06 19:22:32 +08:00
bb105d1451
feat: #6 [7] Rewrite run_judge 2024-01-06 19:21:37 +08:00
8dee13af85
feat: #6 [6] Rewrite compile 2024-01-06 17:39:36 +08:00
7f0f897181
feat: #6 [5] Add must and rename functions in package file 2024-01-06 17:31:00 +08:00
fd85b603dc
feat: #6 [4] Rewrite new_problem 2024-01-06 16:06:53 +08:00
31391f6ce0
feat: #6 [3] Add LimitedWriter and move file related utils out from package utils 2024-01-06 16:06:16 +08:00
8e3222daab
feat: #6 [2] Rewrite EnsureDeps 2024-01-06 15:07:11 +08:00
8d66639cdc
feat: #6 [1] Add pool in runner 2024-01-06 15:06:12 +08:00
e35674dbaa
feat: add TryErr 2024-01-06 15:04:52 +08:00
53899d58a1
feat: add utils.Try 2024-01-06 14:42:35 +08:00