Test Stale Previews and Concurrent Manual Replay

Rehearse a stale manual preview, an intervening repair and a separately approved replay claimed once despite double-clicks and concurrent operators.

10/24/20264 min read

Stale O44 needs zero manual writes; separately approved O45 needs one verified replay
Stale O44 needs zero manual writes; separately approved O45 needs one verified replay

A manual replay can become obsolete between preview and execution. Another authorized process may complete the missing work while an operator is still looking at the repair screen. Test that interleaving explicitly rather than assuming a fresh-looking preview remains current until its button is clicked.

This article uses two fictional operations and a controlled mock destination. The artifact records preview revision, current revision, eligibility, expected consequential calls and observed-effect criteria. No live records, messages or credentials are involved, and the fixture assumes supported concurrency controls rather than a particular product feature.

Separate preview from permission to write

At invented team Merewood Instruments, operation O44 links existing document D9 to existing internal task T6. The task and document must not be recreated. An authorized operator can inspect a versioned operation record and the authoritative relationship in the mock destination.

Preview P44 records operation revision v7, the intended relationship and the evidence that the link is currently absent. It is a proposed repair based on that inspected state. The replay service must revalidate current state and authorization when execution is requested; a screenshot or enabled button is not a durable claim on the work.

A different operation, O45, will later link D10 to T7. It has its own evidence, approval and replay identity. Approval of O44 cannot be reused for O45 simply because both operations create relationships.

Complete the stale-preview interleaving

  • Step 1: operator Ana previews O44 at v7. The inspected link is absent. Preview disposition: potentially eligible for a narrowly authorized replay, subject to execution-time validation. Expected consequential manual calls so far: zero.

  • Step 2: another authorized process repairs that exact relationship and records O44 at v8. The authoritative destination now shows T6 linked to D9. This is one effect by the other process, not a manual replay effect.

  • Step 3: Ana submits the old P44/v7 request. Current operation revision is v8. Expected disposition: stale preview rejected before a consequential call. Expected manual writes: zero. The service returns the changed-state reason and requires inspection; it must not force the v7 assumption through.

  • Step 4: Ana refreshes the preview against v8 and verifies the existing relationship. Expected disposition: no replay work remains; O44 is reconciled complete. Expected manual writes remain zero. The refreshed screen must not keep offering the old repair merely because the original failure record still exists.

The completed O44 test therefore has one independently authorized repair and no manual write. Counting only the manual endpoint's final success message would miss whether a stale attempt was wrongly sent to the destination.

Approve a genuinely missing operation separately

For O45, the operator establishes that D10 and T7 are the intended existing objects, the relationship is absent and the inspected history establishes non-execution. The operation record is v3. The accountable reviewer grants approval A45 for exactly that missing relationship, with its current payload and destination.

Preview P45 binds those references and v3 to the repair proposal. The fixture's execution service can atomically claim this operation while checking that its revision, authorization and eligibility still match. That supported control is an explicit simulation assumption, not a promise that disabling the button or reading immediately before writing is enough.

Interleave a double-click and a second operator

  • Step 5: Ana submits P45/v3. The service acquires the sole eligible claim and advances the operation to claimed revision v4. Expected consequential call: one link request for D10 and T7 under O45's approved replay identity.

  • Step 6: Ana's second click and operator Ben's concurrent P45/v3 submission arrive after that claim. Both encounter v4 and its existing claimant. Expected disposition: no new claim and zero additional consequential calls. They may inspect progress, but cannot start another attempt under a new identity.

  • Step 7: the mock destination confirms the intended link, and the service verifies it before recording completion at v5. A refreshed preview now reports no work. Expected manual effect for O45: one verified relationship, with no duplicate task, document or link.

If the claimed request instead has an uncertain outcome, the owner must reconcile that attempt before another claim becomes eligible. A lease timeout or impatient operator is not evidence that the destination did nothing. The fixture's successful Step 7 does not remove that separate failure-path requirement.

Read the final call ledger correctly

The two-operation manual ledger contains zero writes for stale O44, zero on its refreshed no-work preview, one claimed O45 request and zero additional calls from the double-click or concurrent operator. The other process's O44 repair is recorded separately. There are two verified relationships in the final mock state, but only one was created through manual replay.

n8n documents retry metadata for retried failed executions. That metadata can support investigation, but it does not by itself establish an atomic claim, a current preview or a verified business effect. The concurrency behavior here must be implemented and tested using the actual destination and operation-store contracts.

Retain the preview and execution revisions, claim outcome, approval reference and verified destination evidence. The useful result is a demonstrated refusal to act on stale work, followed by one controlled repair of genuinely missing work. A replay screen should help operators discover that no action is needed just as reliably as it helps them complete an approved repair.

If you are also choosing research access, ask about Leads Automation’s independent Sales Navigator offer at US$15/month on WhatsApp. Confirm the available plan, eligibility and terms before ordering; Leads Automation is not affiliated with LinkedIn. This is not LinkedIn’s official price or an assurance that any particular integration is included.

Sources and scope

Related guides