Python client: make Session.close() concurrency-safe and cache the real reply (R21-O26 / CLI-27) #202
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Session.close()has no lock around_closed, and a repeat close returns a synthesized reply.Source:
archreview/2026-10-21/remediation/00-tracking.mdrow R21-O26 (cycle-1 CLI-27)Next step (from the tracker): Guard with an
asyncio.Lockand cache the real reply, as .NET and Go do.Current-state evidence: the row is still
Open/Deferredin the latest (2026-10-21) tracker, and a code check on localmain@8c0a51d(2026-11-06) found it still present unless noted below.