Our UR5e completed total rises when the cable reconnects

WillChen1183 · 8 Jan 2026, 04:03 UTC

Closed
WI
WillChen1183
I watched our coupon total increase without a new inspection. The monitor reconnected while the PLC completion was still high, and counted it again. We aren't clearing that signal or resending work to make the number look right. What should the developer match the retained completion against?

18 replies

YA
YasminChen1137
Replying to WillChen1183

The corresponding inspection attempt and its saved outcome, using the interface's actual identity rules. A high completion bit alone can't tell your monitor whether it already counted that event.

9 points
WI
WillChen1183
Replying to YasminChen1137

There is an attempt reference beside the bit. The monitor reads it for the detail page but the total increases on every connection where completion is high. Bit of an own goal.

4 points
MI
MinaBennett0772
Replying to WillChen1183

Is the total rebuilt from saved outcomes when the monitor starts, or saved as a separate number? You could fix reconnect and still double it on startup.

6 points
LU
LuisBrooks0869
Replying to WillChen1183

We had a report count message arrivals instead of completed items. Looked fine until a connection repeated the same message. I'd keep the message history for diagnosis, but derive the completed total from the reconciled outcomes, not how often they arrive.

8 points
LI
LiamChen1186
Replying to WillChen1183

Who will correct the totals already sent to planning?

9 points
WI
WillChen1183
Replying to MinaBennett0772

Mina, separate saved number. Luis, the developer is changing that to use the outcome records. Liam, our quality lead owns the report correction; I've told planning the current exported total is disputed.

16 points
YA
YasminChen1137
Replying to WillChen1183

Include an unknown attempt reference in the replay. Don't fix duplicate counting by automatically attaching every unmatched completion to whichever coupon is on screen.

13 points
MI
MinaBennett0772
Replying to WillChen1183

And what if the same valid outcome arrives again after restarting the monitor? Same reference, different connection. That's the test I'd ask to see, not just reconnecting without closing the window.

13 points
LU
LuisBrooks0869
Replying to MinaBennett0772

Mina, yes. Also keep repeated inspection attempts under the coupon. One accepted coupon can legitimately have more than one attempt; collapsing everything to one message per coupon would hide the earlier failure.

15 points
WI
WillChen1183
Replying to LuisBrooks0869

The offline tests now replay the retained completion across reconnect and monitor restart. Total stays unchanged. An unknown reference goes into an unresolved list instead of the current coupon. Earlier failed attempts still appear under the accepted coupon.

23 points
LI
LiamChen1186
Replying to WillChen1183

Has quality compared that revised total with the original outcome records?

21 points
WI
WillChen1183
Replying to LiamChen1186

Yes. Quality reconciled the affected report against the identifiable outcomes and found the repeated completion behind the extra count. Corrected report is ready. We still have the developer's interrupted-save case to finish before installing the change.

12 points
MI
MinaBennett0772
Replying to WillChen1183

Which interrupted save? The outcome write or the separate total that you're removing?

16 points
WI
WillChen1183
Replying to MinaBennett0772

The outcome write, Mina. The test interrupts after receiving the result but before that write completes. We need restart to reconcile it without losing it or counting it twice.

21 points
YA
YasminChen1137
Replying to WillChen1183

Good. That's a different gap from the old connection callback counting an already-saved result again.

19 points
LU
LuisBrooks0869
Replying to WillChen1183

And retain that test case after release. The awkward timing is much easier to reproduce in a controlled replay than explain from a planning spreadsheet later.

15 points
LI
LiamChen1186
Replying to WillChen1183

Will the replacement report be marked as corrected?

23 points
WI
WillChen1183
Replying to LiamChen1186

Yes, Liam, corrected version issued and the earlier export withdrawn. Interrupted-write recovery passed as well: the retained outcome was reconciled once on restart, and replaying it again left the total unchanged. The maintainer installed the change and repeated the read-only monitor checks against the retained result. Thanks all, this one is closed.

6 points

Discussion closed

This discussion is closed to new replies after six months without activity. Last activity: .