Commit Graph

18 Commits

Author SHA1 Message Date
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
edd297ada2
chore: pool.WaitForTask should return typed error 2024-01-28 22:02:26 +08:00
6965435cb7
feat: compile and new_problem are queued by pool (#7) 2024-01-28 18:16:04 +08:00
dd86ed8b5a
feat: LimitedWriter: write as much as possible 2024-01-07 00:26:18 +08:00
b5d14d5a4b
fix: deadlock in pool 2024-01-06 21:03:30 +08:00
bb105d1451
feat: #6 [7] Rewrite run_judge 2024-01-06 19:21:37 +08:00
7f0f897181
feat: #6 [5] Add must and rename functions in package file 2024-01-06 17:31:00 +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
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
97564af275
chore: pool: do not export MarkTaskComplete 2024-01-06 14:05:52 +08:00
cfeaaacc69
feat: add a simple task pool 2024-01-06 01:50:20 +08:00
7faeafb367
feat: add initial oauth2 support 2024-01-03 00:55:41 +08:00
eca749e2c6 chore: move to git.0x7f.app 2023-07-14 21:47:11 +08:00
3140a60e67 feat: If with generics 2022-10-30 22:40:59 +08:00
26a81652b3 feat: another big update
1. add consumer
2. add createVersion
3. add upload
4. fix runner
5. add rejudge

Co-authored-by: cxy004 <cxy004@qq.com>
Co-authored-by: wzt <w.zhongtao@qq.com>
2022-10-23 17:29:35 +08:00
d42ee0ce54 feat: a big update
1. merge woj-runner scripts into woj-server
2. add woj-runner app
3. refactor submission status problem ...
4. jwt middleware update

Co-authored-by: cxy004 <cxy004@qq.com>
Co-authored-by: wzt <w.zhongtao@qq.com>
2022-10-22 17:38:39 +08:00
2c198e60e7 feat: init project layout 2022-09-07 23:39:51 +08:00