Five log lines from week one of a connection pilot
Week one of a connection pilot ends with a decision: continue, fix, or stop. In most pilots that decision is made from memory, because nobody wrote down what actually ran. Here are the five log lines we keep, and what ea
Week one of a connection pilot ends with a decision: continue, fix, or stop. In most pilots that decision is made from memory, because nobody wrote down what actually ran. Here are the five log lines we keep, and what each one is for. Copy the format; the content is yours.
The five lines
- Scenario start โ which scenario began, against which environment, at what time.
- Attempt โ the request id, the endpoint, the HTTP status the receiver actually returned.
- Retry โ when it ran, what it returned, how many attempts remained.
- Queue โ what went to the failure queue, and whether the original payload was kept.
- Close โ the outcome for that record: created, duplicate-skipped, recovered, or lost.
A run with these five lines is checkable by someone who was not in the room. A run without them is a memory.
What the lines look like
{"ts":"2026-11-21T11:22:31+09:00","scenario":"OBS-002","env":"mock-crm","event":"start"}
{"ts":"2026-11-21T11:22:31+09:00","scenario":"OBS-002","event":"attempt","attempt":1,"endpoint":"POST /crm/leads","status":503}
{"ts":"2026-11-21T11:22:38+09:00","scenario":"OBS-002","event":"retry","attempt":2,"status":201,"record_id":"REC-0002","remaining":4}
{"ts":"2026-11-21T11:22:38+09:00","scenario":"OBS-002","event":"queue","queued":1,"payload_kept":true}
{"ts":"2026-11-21T11:22:38+09:00","scenario":"OBS-002","event":"close","outcome":"recovered"}
Five events, one scenario. The queue line is the one teams drop, and it is the line that answers "did we lose the lead?" six weeks later.
What week one looked like in our own pilot
| Scenario | Input | Expected | Actual | Verdict |
|---|---|---|---|---|
| Normal |
OBS-001 once |
201, 1 record | 201 ยท REC-0001 ยท 13 ms |
PASS |
| Duplicate | same OBS-001 twice |
200 duplicate_skipped, still 1 record |
200, same record | PASS |
| Receiver down |
OBS-002, CRM returns 503 |
queue 1, retry recovers | 503 โ queue 1 โ 201 REC-0002
|
PASS |
Three scenarios, five log lines each, fifteen lines total. That is the whole evidence base for a go/no-go decision, and it fits on one screen.
The one thing to decide before week one
Decide who owns the failure queue. Not "the team" โ a name. In week one it is usually empty, which is exactly why the owner is agreed before it is needed. When the first 503 arrives and nobody is named, the record sits in the queue until someone notices, and the pilot's pass/fail becomes a question about attention rather than about the integration.
If you are running a pilot now: which of the five lines is missing from your log? One number is enough in the comments, and I will send the field list for that line.
The three-scenario table and the log format are free to copy here: https://proof.intelliliving.kr?utm_source=devto&utm_medium=organic&utm_campaign=b2b_obsidian&utm_content=dv_06
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes โ full credit and traffic to the original publisher.