Sierra

Verified interview challenge

Review a customer return-label handler

Find defects that can create the wrong return label or tell a customer that an unfinished journey is complete.

Unlock with Full Access

The challenge

The handler creates a prepaid label and replies to a customer. Its trace includes a timeout and a repeated delivery of the same event. Review the implementation against the ownership, confirmation and retry rules, then connect each defect to the customer's experience and the external state it leaves behind.

What you'll practise

  • Ownership and confirmation

    Check that external actions belong to the authenticated customer and reflect their confirmed details.

  • Retry state

    Follow what happens when an action succeeds but delivery of the reply is uncertain.

Your code-review workspacePreview
Return-label handler and retry traceCode included in the full challenge
Your code review

Explain each defect, its consequence and the proposed correction.

The code, instructions and feedback are included with Full Access.