feat(coordinator): persist fenced execution authority and atomic results

This commit is contained in:
2026-10-09 07:15:24 +08:00
parent 38738122b3
commit f838008c71
22 changed files with 2152 additions and 50 deletions
+2 -1
View File
@@ -24,7 +24,8 @@
],
"cancelling": [
"cancelled",
"failed"
"failed",
"queued"
],
"finished": [],
"cancelled": [],
@@ -0,0 +1,11 @@
{
"schema_version": 1,
"kind": "judge.stopped",
"binding": {
"evaluation_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000001",
"attempt_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000007",
"worker_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000008",
"fencing_version": 1
},
"cleanup_complete": "true"
}
@@ -0,0 +1,12 @@
{
"schema_version": 1,
"kind": "judge.stopped",
"binding": {
"evaluation_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000001",
"attempt_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000007",
"worker_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000008",
"fencing_version": 1
},
"cleanup_complete": true,
"command": "/bin/sh"
}
@@ -0,0 +1,11 @@
{
"schema_version": 2,
"kind": "judge.stopped",
"binding": {
"evaluation_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000001",
"attempt_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000007",
"worker_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000008",
"fencing_version": 1
},
"cleanup_complete": true
}
@@ -0,0 +1,11 @@
{
"schema_version": 1,
"kind": "judge.stopped",
"binding": {
"evaluation_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000001",
"attempt_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000007",
"worker_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000008",
"fencing_version": 1
},
"cleanup_complete": false
}
+11
View File
@@ -0,0 +1,11 @@
{
"schema_version": 1,
"kind": "judge.stopped",
"binding": {
"evaluation_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000001",
"attempt_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000007",
"worker_id": "aaaaaaaa-aaaa-4aaa-8aaa-000000000008",
"fencing_version": 1
},
"cleanup_complete": true
}