Commit Graph

123 Commits

Author SHA1 Message Date
e57c51bfa7
chore: update api version [skip ci] 2024-04-29 00:17:18 +08:00
3413b136b1
feat: update api 2024-04-28 23:19:00 +08:00
6cbb1ab4a9
feat: always use sso for user 2024-04-28 22:58:39 +08:00
aaac7f57a0
fix: problem config is not properly parsed 2024-04-28 14:39:43 +08:00
1dfe296820
feat: allow to configure runner concurrency 2024-04-28 01:11:57 +08:00
98578709f8
feat: disallow robots 2024-04-28 01:03:53 +08:00
0f026aa180
feat: support golang 2024-04-28 00:36:41 +08:00
54e83ec63e
feat: sync with latest woj_sandbox, allow to set write file limit (RLIMIT_FSIZE) 2024-04-27 21:25:21 +08:00
a0d2b7b2eb
fix: runner/nsjail: map some /dev/ devices into sandbox 2024-03-18 18:56:33 +08:00
6a28761e73
fix: api/user/profile: logged in users are able to get user profile 2024-03-16 22:00:37 +08:00
3cfa0938e6
fix: compile: return correct JudgeStatus when compile failed 2024-03-16 21:37:55 +08:00
7538737629
chore: update deps 2024-03-16 17:16:02 +08:00
bbe525a774
feat: oauth/login: cookie is returned in response 2024-03-16 00:56:46 +08:00
99aec47c76
chore: drop root in container 2024-03-15 13:22:02 +08:00
fca3fc678c
fix: stop submit flow once compile is failed 2024-03-14 01:19:24 +08:00
9fe69280f9
fix: make rust happy 2024-03-14 01:18:57 +08:00
05b3d948c2
fix: use absolute path to sh 2024-03-13 22:38:52 +08:00
ff98b7b05f
feat: switch to nsjail 2024-03-13 20:05:00 +08:00
267a9994ea
fix: json.Unmarshal will treat int as float64, reflect to float64 then cast to int 2024-02-19 22:00:05 +08:00
283fc39b74
fix: ensure deps should be fatal error 2024-02-19 21:26:56 +08:00
4d21360251
chore: drop undeleted debug print 2024-02-19 21:14:16 +08:00
a193dee410
feat: allow using custom container prefix 2024-02-19 15:42:45 +08:00
7b6f98d67a
feat: adjust sentry logging level 2024-02-19 12:17:52 +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
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
33107bf3ae
chore: cleanup: drop prepare_images 2024-01-28 21:51:16 +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
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
55f76636fd
fix: asynq concurrency set to cpu num 2024-01-07 00:39:33 +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
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
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
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
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