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\": \"[\\\"afa7bce8-07f7-49ea-a65e-069ebb2baa02\\\"]\"}"
|
|
},
|
|
{
|
|
"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\": \"[\\\"afa7bce8-07f7-49ea-a65e-069ebb2baa02\\\"]\", \"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\": \"[\\\"11c68b0b-78d4-477f-a553-0ea64da583ab\\\", \\\"c70134d2-99cf-4314-8dae-01d86e82e99e\\\"]\", \"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\": \"[\\\"8a11970a-1f3b-4c9e-b9fa-ef5ef9c089e4\\\"]\", \"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": "aa47821695b292f280306d12a8690ad1",
|
|
"attempts": 1,
|
|
"entry_ids": null
|
|
},
|
|
"client_usable": true
|
|
},
|
|
"before_store_close": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"afa7bce8-07f7-49ea-a65e-069ebb2baa02\"]"
|
|
},
|
|
"late_worker_error": null,
|
|
"persisted": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"afa7bce8-07f7-49ea-a65e-069ebb2baa02\"]",
|
|
"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": "[\"11c68b0b-78d4-477f-a553-0ea64da583ab\", \"c70134d2-99cf-4314-8dae-01d86e82e99e\"]",
|
|
"row_done": 2,
|
|
"gateway_posts_resume": 2
|
|
}
|
|
},
|
|
"cancelled_aclose": {
|
|
"after_cancel": {
|
|
"client_usable": true,
|
|
"batch": {
|
|
"state": "pending",
|
|
"reason": null,
|
|
"owner": "1ad7597b3b7bd8df701cb56bfed9ea87",
|
|
"attempts": 1,
|
|
"entry_ids": null
|
|
},
|
|
"closing_cleared": true
|
|
},
|
|
"after_worker": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"c3bbac6e-c569-4880-aa51-774768922365\"]"
|
|
},
|
|
"client_usable_after_real_close": false
|
|
},
|
|
"concurrent_aclose": {
|
|
"batch": {
|
|
"state": "done",
|
|
"reason": null,
|
|
"owner": null,
|
|
"attempts": 1,
|
|
"entry_ids": "[\"8a11970a-1f3b-4c9e-b9fa-ef5ef9c089e4\"]",
|
|
"row_done": 1
|
|
},
|
|
"client_usable_after_close": false
|
|
},
|
|
"failures": []
|
|
} |