182 lines
5.6 KiB
JSON
182 lines
5.6 KiB
JSON
{
|
|
"head": "HEL-889 shutdown ownership & queued-cancel",
|
|
"real_llm_requests": 0,
|
|
"real_embeddings": 0,
|
|
"boundary": "deterministic 512 vectors, non-loopback forbidden",
|
|
"checks": [
|
|
{
|
|
"name": "Q1 queued snapshot shows phantom-liveness",
|
|
"ok": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"name": "Q1 cancel releases registry and requeues",
|
|
"ok": true,
|
|
"detail": "{\"registered_workers\": 0, \"batch\": {\"state\": \"queued\", \"reason\": \"queued_worker_cancelled\", \"owner\": null, \"attempts\": 0, \"entry_ids\": null}, \"row_done\": 0, \"stored_entries\": 0}"
|
|
},
|
|
{
|
|
"name": "Q1 in-process recovery completes without restart",
|
|
"ok": true,
|
|
"detail": "{\"batch\": {\"state\": \"done\", \"reason\": null, \"owner\": null, \"attempts\": 1, \"entry_ids\": \"[\\\"stub-1\\\"]\"}, \"registered_workers\": 0, \"stored_entries\": 1, \"row_done\": 1}"
|
|
},
|
|
{
|
|
"name": "S1 aclose does NOT return while the worker is alive",
|
|
"ok": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"name": "S1 worker completes and flushes before store close",
|
|
"ok": true,
|
|
"detail": "{\"state\": \"done\", \"reason\": null, \"owner\": null, \"attempts\": 1, \"entry_ids\": \"[\\\"66f72048-0526-4790-8de0-946ee4fe9251\\\"]\"}"
|
|
},
|
|
{
|
|
"name": "S1 no late-worker error after honest drain",
|
|
"ok": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"name": "S1 durable reopen: done + row_done=1 + llm_used=1",
|
|
"ok": true,
|
|
"detail": "{\"state\": \"done\", \"reason\": null, \"owner\": null, \"attempts\": 1, \"entry_ids\": \"[\\\"66f72048-0526-4790-8de0-946ee4fe9251\\\"]\", \"row_done\": 1, \"llm_used\": 1, \"gateway_posts\": 1}"
|
|
},
|
|
{
|
|
"name": "S2 shutdown between rows requeues with first row proven",
|
|
"ok": true,
|
|
"detail": "{\"state\": \"queued\", \"reason\": \"shutdown_between_rows\", \"owner\": null, \"attempts\": 0, \"entry_ids\": null, \"row_done\": 1, \"gateway_posts_during_shutdown\": 1}"
|
|
},
|
|
{
|
|
"name": "S2 resume sends ONLY the missing row and completes",
|
|
"ok": true,
|
|
"detail": "{\"state\": \"done\", \"reason\": null, \"owner\": null, \"attempts\": 1, \"entry_ids\": \"[\\\"ccfcad6e-69f4-41c9-830a-b357290ce82d\\\", \\\"085a5ea8-622e-4f5c-8862-8ea20d4b2b23\\\"]\", \"row_done\": 2, \"gateway_posts_resume\": 2}"
|
|
},
|
|
{
|
|
"name": "S3 cancelled aclose closes nothing and re-arms",
|
|
"ok": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"name": "S3 worker finishes done and a later aclose closes for real",
|
|
"ok": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"name": "S4 concurrent aclose drains once and closes once",
|
|
"ok": true,
|
|
"detail": "{\"batch\": {\"state\": \"done\", \"reason\": null, \"owner\": null, \"attempts\": 1, \"entry_ids\": \"[\\\"bb32ccc4-10c0-4fe5-92a3-248bcc93b2f8\\\"]\", \"row_done\": 1}, \"client_usable_after_close\": false}"
|
|
}
|
|
],
|
|
"queued_cancel": {
|
|
"queued": {
|
|
"registered_workers": 1,
|
|
"product_executor_queue": 1
|
|
},
|
|
"after_cancel": {
|
|
"registered_workers": 0,
|
|
"batch": {
|
|
"state": "queued",
|
|
"reason": "queued_worker_cancelled",
|
|
"owner": null,
|
|
"attempts": 0,
|
|
"entry_ids": null
|
|
},
|
|
"row_done": 0,
|
|
"stored_entries": 0
|
|
},
|
|
"after_recovery": {
|
|
"batch": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"stub-1\"]"
|
|
},
|
|
"registered_workers": 0,
|
|
"stored_entries": 1,
|
|
"row_done": 1
|
|
}
|
|
},
|
|
"shutdown_timeout": {
|
|
"deadline": {
|
|
"aclose_returned_while_worker_alive": false,
|
|
"batch_before_any_close": {
|
|
"state": "pending",
|
|
"reason": null,
|
|
"owner": "8956b9e9abade1c5e34a3ecc6986b6f2",
|
|
"attempts": 1,
|
|
"entry_ids": null
|
|
},
|
|
"client_usable": true
|
|
},
|
|
"before_store_close": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"66f72048-0526-4790-8de0-946ee4fe9251\"]"
|
|
},
|
|
"late_worker_error": null,
|
|
"persisted": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"66f72048-0526-4790-8de0-946ee4fe9251\"]",
|
|
"row_done": 1,
|
|
"llm_used": 1,
|
|
"gateway_posts": 1
|
|
}
|
|
},
|
|
"between_rows": {
|
|
"after_shutdown": {
|
|
"state": "queued",
|
|
"reason": "shutdown_between_rows",
|
|
"owner": null,
|
|
"attempts": 0,
|
|
"entry_ids": null,
|
|
"row_done": 1,
|
|
"gateway_posts_during_shutdown": 1
|
|
},
|
|
"after_resume": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"ccfcad6e-69f4-41c9-830a-b357290ce82d\", \"085a5ea8-622e-4f5c-8862-8ea20d4b2b23\"]",
|
|
"row_done": 2,
|
|
"gateway_posts_resume": 2
|
|
}
|
|
},
|
|
"cancelled_aclose": {
|
|
"after_cancel": {
|
|
"client_usable": true,
|
|
"batch": {
|
|
"state": "pending",
|
|
"reason": null,
|
|
"owner": "19c694186e6d25be43d24f3f0d0e2128",
|
|
"attempts": 1,
|
|
"entry_ids": null
|
|
},
|
|
"closing_cleared": true
|
|
},
|
|
"after_worker": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"4649609e-db3b-4e2d-b473-dc30988a744c\"]"
|
|
},
|
|
"client_usable_after_real_close": false
|
|
},
|
|
"concurrent_aclose": {
|
|
"batch": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"bb32ccc4-10c0-4fe5-92a3-248bcc93b2f8\"]",
|
|
"row_done": 1
|
|
},
|
|
"client_usable_after_close": false
|
|
},
|
|
"failures": []
|
|
} |