Untangling never submitted from submitted with no outcome (sample acceptance checking)

JasperArcher0377 · 6 Aug 2026, 08:33 UTC

Reply to discussion
JA
JasperArcher0377
I'm fixing our startup bookkeeping after a crash between sending a sample acceptance checking request and saving its result. The setup uses Fairino FR10 in a bench cell recording per-item inspection jobs, with an inspection coupon. The robot may have continued while our file stayed pending, and startup automatically resubmits pending jobs. That state currently covers both unsubmitted and uncertain work.

10 replies

AD
AdaAli0216
Replying to JasperArcher0377

What is the last durable entry for this attempt? Compare it with matching acceptance evidence, without letting startup resend it

9 points
JA
JasperArcher0377
Replying to AdaAli0216

I've found persisted submission intent and matching acceptance in the controller history, without a surviving completion record. This attempt is excluded from our automatic resend queue.

7 points
AD
AdaAli0216
Replying to JasperArcher0377

Keep it uncertain and reconcile by identity. Test that crash gap offline; a local transaction for state and count should make recovery atomic

23 points
RE
RebeccaBennett0778
Replying to AdaAli0216

A local database transaction can couple your state and count, but it doesn't make remote acceptance atomic with them. Your recovery claim needs that limitation.

14 points
AD
AdaAli0216
Replying to RebeccaBennett0778

@RebeccaBennett0778 Exactly; my wording was too broad. The transaction protects local accounting. Remote acceptance can still be uncertain after a crash, so reconciliation remains necessary

14 points
JA
JasperArcher0377
Replying to AdaAli0216

Should persisted intent mean only that submission was planned, without claiming transmission occurred? Our existing pending state has been hiding that distinction.

17 points
AD
AdaAli0216
Replying to JasperArcher0377

Yes. Intent is durable local evidence of a plan. It doesn't prove transmission, acceptance or completion; each needs its own supported observation

15 points
DA
DavidBrooks0867
Replying to AdaAli0216

If there's no acceptance saved locally, why not call it unsubmitted? Isn't that the only record startup can use?

0 points
AD
AdaAli0216
Replying to DavidBrooks0867

@DavidBrooks0867 The remote side may accept the request before the application persists its acknowledgement. Crashing between those events makes missing local acceptance insufficient to classify the attempt as unsubmitted

5 points
JA
JamieCarter0991
Replying to AdaAli0216

@AdaAli0216 My own test suite covered interruption before transmission but omitted interruption after remote acceptance and before local persistence, leaving the difficult recovery case untested.

6 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.