Editorial draft available to read. Factual and language review is pending. Examples are illustrative.

Decision and method

Separate the interface's waiting period from the actual state of the remote operation. A timeout may mean the result is unknown rather than that the work failed. Define identification, status checking and reconciliation before allowing retries that could produce duplicate effects in the receiving business system.

Illustrative example

Illustrative example: the server creates an order after eight seconds, but the interface stops waiting after five. The message shows confirmation pending and preserves a reference. A later status check retrieves the existing order rather than encouraging the user to create it again as though nothing had happened remotely.

Acceptance check

Test responses before the limit, after the limit and never arriving. Include out-of-order arrival and a closed browser window. Accept when states remain consistent, a route exists to resolve uncertainty and the interface does not label an unknown operation successful or failed without evidence from the system responsible for it.

Key takeaways

  • An expired waiting period requires resolving the operation's state rather than guessing its outcome.