简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

Should startup resubmit a job with no saved result? - part inspection

AmyCarter0989 · 2026年9月2日 17:35 UTC

回复讨论
AM
AmyCarter0989
I'm fixing our startup bookkeeping after a crash between sending a part inspection request and saving its result. The setup uses Universal Robots UR5e in a bench cell recording per-item inspection jobs, with a sample housing. 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.

21 条回复

BE
BenAdams0109

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

21
AM
AmyCarter0989

@BenAdams0109 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.

4
BE
BenAdams0109

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

17
DA
DavidArcher0432

@BenAdams0109 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.

8
BE
BenAdams0109

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

10
AM
AmyCarter0989

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

5
BE
BenAdams0109

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

15
YA
YasminBennett0702

@BenAdams0109 Does missing local acceptance mean startup should put the job back in the unsubmitted queue, or can acceptance have occurred without reaching that record?

20
BE
BenAdams0109

Acceptance can happen before your local save. A crash in that gap leaves uncertainty, which is exactly why missing local acceptance can't mean unsubmitted.

14
RA
RaviChen1172

@BenAdams0109 On my ledger, we simulated crashes before send but forgot the gap after remote acceptance. All the restart tests passed for the easy half.

22
AM
AmyCarter0989

Our offline replay will interrupt between remote acceptance and local acknowledgement persistence, then verify that startup preserves uncertainty without issuing another request.

15
DA
DavidArcher0432

@AmyCarter0989 Which evidence is sufficient to resolve the outcome? Matching acceptance establishes that the request was accepted, but not that inspection completed.

9
AM
AmyCarter0989

@DavidArcher0432 For completion, matching completion evidence. Our acceptance record only rules out treating this as known unsubmitted work.

5
BE
BenAdams0109

@AmyCarter0989 Attach the reconciliation source when you update the result. Preserve the interruption in history so the finished record still explains how you established it.

18
YA
YasminBennett0702

@BenAdams0109 How do you preserve that history without leaving every old state visible as the current result? Can the main record still change?

7
BE
BenAdams0109

@YasminBennett0702 The current view can change. Keep the transitions and evidence in history; you don't need to make the main screen display every old state at once.

14
RA
RaviChen1172

My setup showed uncertain jobs apart from the unsubmitted queue. That stopped people treating both lists as a pile of work waiting to be launched.

14
AM
AmyCarter0989

Our display will distinguish uncertain attempts from unsubmitted work, replacing the broad pending label that has been concealing the difference.

6
DA
DavidArcher0432

The persistent state and startup rules need the same distinction as the display; presentation alone won't change the automatic resubmission behaviour.

5
AM
AmyCarter0989

@DavidArcher0432 The final result and recovery implementation remain unresolved. I've retained the attempt as uncertain and kept it out of the automatic resend queue.

18

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。