{"version":"2.1.277","anchor":"turn-duration-now-accounts-for-detachedbackground-tool-call","canonical_anchor":"turn-duration-now-accounts-for-detachedbackground-tool-call","heading":"Turn duration now accounts for detached\/background tool calls separately","tier":"internal","area":"Turn Handling","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/turn-duration-now-accounts-for-detachedbackground-tool-call","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Turn duration now accounts for detached\/background tool calls separately\n\nTurn-duration tracking now holds off recording while a detached background tool call is still pending\n\n**What**\n\nClaude Code records how long each conversation turn takes. Now, when a turn ends but a detached tool call (a task or agent running in the background) is still queued or in progress, Claude Code holds off on recording the turn's duration instead of recording it right away. Once the background work finishes, it recomputes the duration and related background-wait counts, then writes the updated duration into the transcript.\n\n**Why**\n\nThis keeps recorded turn durations from being cut short by background tasks that are still running, so the timing shown reflects when the work actually finished rather than when the main turn technically ended.\n\n- Area: Turn Handling\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}