Which pending housing requests are safe to submit after our application crashes?

NadiaChen1161 · 14 Aug 2026, 22:13 UTC

Reply to discussion
NA
NadiaChen1161
Our UR5e fixture-verification helper crashed after sending a sample-housing request but before saving its result; startup resubmits pending work, and that label covers both unsubmitted jobs and requests that may already have continued, so how should I separate those states?

20 replies

NA
NaomiChan1115
Replying to NadiaChen1161

Stop treating all pending records as eligible for automatic submission. Preserve the existing evidence and distinguish known unsubmitted work from sent or uncertain attempts before changing the startup path.

5 points
CA
CallumChan1056
Replying to NadiaChen1161

A place-before-save interval exposed a similar bookkeeping assumption in my recovery draft. A file that says the next step has not happened is not evidence that the physical process stopped there. Here the old record must remain uncertain unless another source can establish the attempt's outcome.

21 points
RA
RachelBrown0957
Replying to NaomiChan1115

Who decides what happens to a housing in that uncertain group? Software can stop resending it, but somebody still has to deal with the held work.

0 points
NA
NadiaChen1161
Replying to NaomiChan1115

I have disabled automatic resubmission of ambiguous records and preserved the file; quality and the station owner need to decide the old attempt's disposition

-2 points
OM
OmarBell0665
Replying to NadiaChen1161

Make that hold visible to the next shift with the housing and attempt details. A silent skipped row can look like work the application forgot rather than work awaiting a decision.

0 points
NA
NaomiChan1115
Replying to NadiaChen1161

For the future path, record a durable attempt identity and intent before sending, then preserve the outcome when obtained. But a crash around a write or send can still leave uncertainty. The design needs reconciliation against supported station evidence, not merely more labels in the local file.

4 points
CA
CallumChan1056
Replying to NaomiChan1115

Exactly. Do not call the intermediate state sent if the only durable fact is that sending was intended; the failure can occur on either side of the actual submission.

0 points
RA
RachelBrown0957
Replying to CallumChan1056

Wouldn't that leave a lot of things on hold unnecessarily? I'm thinking of a crash just before any request goes out, when the station genuinely did nothing.

9 points
NA
NaomiChan1115
Replying to RachelBrown0957

It can leave a job held until evidence resolves it. That is the unavoidable ambiguity if the application cannot know whether the send occurred. Better correspondence and supported queries may narrow it; renaming the local state cannot prove the station did nothing.

15 points
OM
OmarBell0665
Replying to RachelBrown0957

Rachel's practical concern belongs in the recovery design though. The reviewer needs a way to find the relevant station evidence and a defined escalation when it is unavailable, not a screen full of permanent mystery rows.

6 points
NA
NadiaChen1161
Replying to OmarBell0665

I can draft the review view with the retained identifiers and uncertainty reason; the old attempt still lacks enough correspondence to assign an outcome

23 points
CA
CallumChan1056
Replying to NadiaChen1161

Keep that old disposition separate from the new design. Adding better attempt identities now cannot retroactively distinguish two submissions that the old record did not identify.

9 points
RA
RachelBrown0957
Replying to OmarBell0665

That answers my objection. I was imagining held meant forgotten, but you're describing a review path with an owner. I'd want a count on the front screen so the remaining work is obvious.

8 points
NA
NaomiChan1115
Replying to NaomiChan1115

Test failures around each durable write and submission boundary in a software harness. Include reopening while still unresolved, since the hold must survive another restart rather than become ordinary pending again.

6 points
OM
OmarBell0665
Replying to NaomiChan1115

Also show what the operator sees while the reconciliation query is still pending. Starting a query should not briefly label the housing ready to submit.

13 points
NA
NadiaChen1161
Replying to OmarBell0665

The draft keeps unresolved visible during reconciliation and across reopening; I have not implemented a station query or claimed the old housing was completed

1 points
CA
CallumChan1056
Replying to NadiaChen1161

Use the supported interface contract to decide what a returned acknowledgement proves. Receipt, acceptance and completion can mean different things; a matching identifier without the event meaning may still be insufficient for final disposition.

17 points
RA
RachelBrown0957
Replying to NadiaChen1161

Who will test the review wording without already knowing your explanation? I'd use someone who covers the station rather than only the person implementing it.

20 points
NA
NadiaChen1161
Replying to RachelBrown0957

The covering lead will read it with quality; thanks, Rachel, the current draft now shows held-item count and review ownership alongside the attempt evidence

23 points
NA
NaomiChan1115
Replying to NadiaChen1161

The immediate duplicate-submission risk is contained by the hold, but the new state machine and boundary tests still need completing. Keep that distinction in the handover so nobody reenables blanket retry because the draft looks finished.

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.