fix(agent99): reconcile live cold-start dispatches
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m8s
CD Pipeline / build-and-deploy (push) Successful in 13m33s
CD Pipeline / post-deploy-checks (push) Has been cancelled

This commit is contained in:
ogt
2026-07-15 03:18:09 +08:00
parent 66aeb34bf6
commit 29072e4004
11 changed files with 300 additions and 73 deletions

View File

@@ -613,7 +613,7 @@ async def reconcile_agent99_controlled_dispatches_once(
else {}
)
}
if is_cold_start_same_run_identity(identity):
if is_cold_start_same_run_identity(identity, receipt):
source_receipt = await asyncio.to_thread(
read_cold_start_source_resolution,
)
@@ -637,6 +637,7 @@ async def reconcile_agent99_controlled_dispatches_once(
request_agent99_same_run_status_reconcile,
identity,
source_receipt,
receipt,
)
if request_receipt.get("accepted") is True:
counters["status_reconcile_requested"] += 1