fix(bridge): use unique temp filename in _SessionStore._flush to avoid race #13
Reference in New Issue
Block a user
Delete Branch "fix/session-store-atomic-write-race"
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?
Fixes a potential race condition in
_SessionStore._flushwhere concurrent calls could write to the same.tmppath, breaking atomicity.uuid.uuid4().hexfor unique temp filenamestry/finallycleanup in casereplace()raisesNo functional changes to session semantics. Tests pass (35/35).
LGTM
New commits pushed, approval review dismissed automatically according to repository settings
LGTM — unique temp filename in _SessionBridge.
Please review
Please review
LGTM - clean change
LGTM, small clean-up that needs its 2nd reviewer approval to merge.
LGTM — clean optimization / cleanup PR
Approved — unique temp session-store filenames avoid overlapping flush races while preserving atomic replace semantics.