Should startup resubmit a job with no saved result? (inspection-cycle execution)

AmyBennett0728 · 8 May 2026, 05:15 UTC

Reply to discussion
AM
AmyBennett0728
Our application crashed after sending a inspection-cycle execution request but before saving the result. Fairino FR10 may have continued; our local file still says pending. We're in a PLC-coordinated sample inspection station, using an inspection coupon. The startup helper resubmits pending jobs automatically. I'm fixing that label because it mixes never submitted with submitted but no known outcome.

6 replies

TO
TobyAbbott0057
Replying to AmyBennett0728

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

13 points
AM
AmyBennett0728
Replying to TobyAbbott0057

Our last durable entry is submission intent. Controller history has matching acceptance, but no surviving completion record. I've kept it out of the resend queue.

18 points
TO
TobyAbbott0057
Replying to AmyBennett0728

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

8 points
RA
RaviChan1085
Replying to TobyAbbott0057

@TobyAbbott0057 Atomic locally. That transaction can't include the controller accepting a request. The gap that caused this still exists.

9 points
TO
TobyAbbott0057
Replying to RaviChan1085

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
AM
AmyBennett0728
Replying to TobyAbbott0057

So persist intent first, but don't treat intent as proof of sending? That's where our pending label got stretched beyond usefulness.

12 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.