Canceled job shown as open
WO-18 at a hospital campus was listed as open an hour after it was canceled.
Impact: A technician was sent to a canceled job, and the hospital escalated.
All problemsData & Systems
Repair a work order connector that mishandles vendor retries.
Your mission · Connector repair
Brightwell Property Services sent a technician to a hospital job that had already been canceled, wasting a $480 call-out, and the hospital escalated. Dispatchers also never hear when the vendor's data disagrees with itself. A review with the hospital network is set for December 4.
WO-18 at a hospital campus was listed as open an hour after it was canceled.
Impact: A technician was sent to a canceled job, and the hospital escalated.
Twice last month the vendor sent two copies of one order version that disagreed.
Impact: Dispatchers were never told the data disagreed.
Edit the components marked “Your work”. The other components show where your changes fit.
| Field | Type | Notes |
|---|---|---|
id | string | Such as WO-18. Unique in the snapshot. |
version | integer >= 1 | The order's own history; higher is newer. |
kind | "opened" | "canceled" |
| Field | Type | Notes |
|---|---|---|
offset | integer >= 1 | Delivery position. Unique in a page; says nothing about which change is newer. |
id, version, kind | As for a saved order. |
| Field | Type | Notes |
|---|---|---|
checkpoint | integer >= 0 | Largest offset applied. |
orders | Saved order[] | Every known order, sorted by id. |
openOrderIds | string[] | Ids of opened rows, same order. |
samples/page-0415.json A later page as a full request: one event the checkpoint covers, a retry of a cancellation at a new offset, and two new orders whose ids sort as strings.{
"checkpoint": 104,
"orders": [
{
"id": "WO-18",
"version": 2,
"kind": "canceled"
},
{
"id": "WO-42",
"version": 1,
"kind": "opened"
},
{
"id": "WO-7",
"version": 3,
"kind": "opened"
}
],
"events": [
{
"offset": 103,
"id": "WO-7",
"version": 4,
"kind": "canceled"
},
{
"offset": 107,
"id": "WO-9",
"version": 1,
"kind": "opened"
},
{
"offset": 105,
"id": "WO-42",
"version": 2,
"kind": "canceled"
},
{
"offset": 108,
"id": "WO-42",
"version": 2,
"kind": "canceled"
},
{
"offset": 106,
"id": "WO-10",
"version": 1,
"kind": "opened"
}
]
}samples/snapshot-after-0415.json The snapshot the connector must publish for that page.{
"checkpoint": 108,
"orders": [
{
"id": "WO-10",
"version": 1,
"kind": "opened"
},
{
"id": "WO-18",
"version": 2,
"kind": "canceled"
},
{
"id": "WO-42",
"version": 2,
"kind": "canceled"
},
{
"id": "WO-7",
"version": 3,
"kind": "opened"
},
{
"id": "WO-9",
"version": 1,
"kind": "opened"
}
],
"openOrderIds": [
"WO-10",
"WO-7",
"WO-9"
]
}samples/conflict-page.json Two copies of WO-9 version 2 that disagree, hidden behind a version 3. The connector must reject it with "conflicting version".{
"checkpoint": 108,
"orders": [
{
"id": "WO-9",
"version": 1,
"kind": "opened"
}
],
"events": [
{
"offset": 109,
"id": "WO-9",
"version": 2,
"kind": "canceled"
},
{
"offset": 110,
"id": "WO-9",
"version": 2,
"kind": "opened"
},
{
"offset": 111,
"id": "WO-9",
"version": 3,
"kind": "canceled"
}
]
}logs/connector-2026-11-18.log The incident morning: the published checkpoint going to 102, the next page rereading 103 and 104, and the call-out to WO-18.2026-11-18T07:00:02Z sync page=p-0411 checkpoint_in=100 events=3 offsets=103,104,102 2026-11-18T07:00:02Z publish checkpoint=102 orders=2 open=WO-18,WO-42 2026-11-18T07:00:32Z sync page=p-0412 checkpoint_in=102 events=3 offsets=103,104,105 2026-11-18T08:04:51Z dispatch tech=T-117 order=WO-18 site=riverside-campus status=en_route 2026-11-18T08:41:10Z dispatch tech=T-117 order=WO-18 result=job_canceled_on_arrival callout_usd=480
metrics/canceled-dispatches-2026.csv Technicians sent to canceled jobs per month, their call-out cost, and conflicting copies the vendor later confirmed.month,dispatches,dispatched_to_canceled,callout_cost_usd,conflicting_copies_seen 2026-08,6840,3,1440,0 2026-09,7112,5,2400,1 2026-10,7305,9,4320,2 2026-11 (to 18th),4410,6,2880,0
BUG-101 A canceled work order shows as open again after the vendor retried an event Reported by Marco (dispatch)
Expected checkpoint 104, orders WO-18 version 2 canceled and WO-42 version 1 opened, openOrderIds ["WO-42"].
Actual checkpoint 102, WO-18 back at version 1 and opened, no canceled rows kept, openOrderIds ["WO-18", "WO-42"].
BUG-102 Work orders disappear from the dashboard after a normal page Reported by Dana (product)
Expected checkpoint 108, five orders, three open.
Actual checkpoint 106, WO-18 and WO-42 missing from orders, openOrderIds ["WO-10", "WO-7", "WO-9"].
BUG-103 A page with conflicting versions wiped the dashboard Reported by Sam (on-call)
Expected The conflict page raises ValueError containing "conflicting version" and publishes nothing. The incident gives checkpoint 104, and an empty page after it keeps 104 and the canceled WO-18.
Actual The conflict page is accepted: checkpoint 111 with no orders at all. An empty page drops every canceled order from the file.
Scores use evidence from your session. A short or incomplete session may not provide enough evidence for every skill. See a sample scorecard
A facilities customer says canceled jobs come back as open on their dispatch dashboard after the vendor retries or reorders events. Reproduce the incident first, then follow one event through the connector and repair what is wrong where it belongs. Use the AI assistant however you like, and show me why a replayed page is now harmless.