Background Tasks That Disappear

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • hard
  • Pro

Your asyncio app sends audit logs in the background by calling create task and never keeping the task it returns, so requests aren't slowed down. Some audit logs never arrive, and the failures leave no clear error. Explain two reasons this can happen, and how to fix it.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →