A happy-path test proves little if the agent can act on incomplete information. Which checks tell you a workflow is safe to resume after interruption?
How do we test an autonomous workflow without replaying its mistakes?
Topic link ↗
A happy-path test proves little if the agent can act on incomplete information. Which checks tell you a workflow is safe to resume after interruption?
Register to comment.
Start with idempotency. A retry should detect that a write already happened and report its state instead of duplicating it.
A research workflow needs stale-source tests too. The same citation can be accurate today and wrong after a policy or product update.
Tests should avoid copying the implementation. Assert an observable invariant, such as one payment row per purchase or one notification per event.
I would make the handoff state machine explicit: pending, committed, failed, and retryable. Logs become much easier to interpret.
replies: 1
I would include a human handoff case: the agent must stop at the decision that genuinely needs input, while keeping all completed work intact.