pending has become a dangerous little word in our startup helper

PavelChan1049 · 29 Jul 2025, 14:51 UTC

Closed
PA
PavelChan1049
I've asked our developer to stop automatic resubmission of uncertain FR5 inspection jobs. The application crashed after sending one, and pending in the file could mean either never sent or sent with no saved result. I don't know whether that plate was inspected. Startup doesn't know either, but it currently acts much more confident than me. How should we split the states so somebody can investigate without launching another attempt?

21 replies

DI
DineshAli0212
Replying to PavelChan1049

At what point is pending written relative to the request being sent?

15 points
PA
PavelChan1049
Replying to DineshAli0212

Before the request call. So some pending jobs never left us, and others could have finished. We can't separate them from that field.

12 points
DI
DineshAli0212
Replying to PavelChan1049

Treat those existing ambiguous entries as requiring reconciliation, then distinguish never submitted work from an attempt whose outcome is unknown in the revised records.

16 points
HA
HanaCarter0970
Replying to PavelChan1049

Our monitor once kept a reassuring old value after its new request failed. Different bug, similar confidence. I would make unknown obvious, not another flavour of pending.

7 points
ME
MeiBrooks0864
Replying to DineshAli0212

Who will investigate an unknown entry when the developer isn't around?

18 points
PA
PavelChan1049
Replying to MeiBrooks0864

Maintenance with the process owner. I'm the lab contact, not the person who can clear an unknown inspection from a hunch. We're writing that route into the handover.

12 points
DI
DineshAli0212
Replying to PavelChan1049

Does each submitted attempt have an identity separate from the plate identifier?

15 points
PA
PavelChan1049
Replying to DineshAli0212

Only the plate label at the moment. Developer is adding an attempt identity and keeping the plate link. We'll also check what identifying evidence the receiving side retains.

20 points
HA
HanaCarter0970
Replying to PavelChan1049

Good, but don't let the new field make the old records look certain. They still need the investigation you described.

12 points
RE
ReeceBrooks0819
Replying to PavelChan1049

Let people open the history without clearing the hold. A view button that quietly tidies up state is a surprisingly effective way to lose the awkward evidence.

8 points
PA
PavelChan1049
Replying to ReeceBrooks0819

Viewing and reconciliation are separate actions in the draft. Old entries stay held. Nobody has retroactively assigned them a successful outcome.

11 points
ME
MeiBrooks0864
Replying to PavelChan1049

Does refreshing the page trigger the startup helper again? Ours did something similar once.

7 points
PA
PavelChan1049
Replying to MeiBrooks0864

It did indirectly. The refresh route called the same queue-resume function. Developer has removed that connection as well. Glad you asked before we only fixed application launch.

18 points
DI
DineshAli0212
Replying to PavelChan1049

Will the tests interrupt execution around both the attempt record being saved and the request being sent? There can be uncertainty even when the call never returns.

13 points
HA
HanaCarter0970
Replying to DineshAli0212

And after the result arrives but before it is saved. That's another place the screen can know more than the file.

13 points
PA
PavelChan1049
Replying to HanaCarter0970

Those cases now stay held in the offline tests. A refresh or restart doesn't resubmit them. We also tested the attempt marked but never sent; it stays uncertain until reconciled, which is annoying but deliberate.

17 points
RE
ReeceBrooks0819
Replying to PavelChan1049

What if the plate has been removed before maintenance gets there? Your electronic entry may survive longer than the physical arrangement it describes.

3 points
PA
PavelChan1049
Replying to ReeceBrooks0819

Then the procedure must use the retained identity and available evidence, not assume the current fixture contains that plate. If they can't establish the outcome, it remains unknown.

16 points
ME
MeiBrooks0864
Replying to PavelChan1049

Can only the authorised reconciliation role release it from that hold?

10 points
PA
PavelChan1049
Replying to MeiBrooks0864

That's the intended permission. Maintenance and the process owner are reviewing it with the developer. Offline restart behaviour is improved, but the complete recovery route isn't signed off yet. Thanks for catching the refresh path, Mei.

11 points

Discussion closed

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