Skip to content

fix(channels): atomically persist Feishu session mappings - #514

Merged
huichen merged 1 commit into
mainfrom
claude/audit-f11
Sep 7, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/audit-f11

Conversation

@huichen

@huichen huichen commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Addresses F11. Serialize saves, write a unique owner-only temporary file on the same volume, sync then atomically replace the JSON. Report persistence errors; preserve unreadable/corrupt source files instead of overwriting them with an empty mapping. Regression checks concurrent readers/writers, complete JSON snapshots, all mappings surviving restart and corrupt source preservation. Full future-channel suite passed (345 unit +10 integration; 2 pre-existing ignored), pinned fmt and all-target clippy passed.

@huichen
huichen enabled auto-merge (squash) September 7, 2026 06:24
@huichen
huichen merged commit 5fc6c6b into main Sep 7, 2026
12 checks passed
@huichen
huichen deleted the claude/audit-f11 branch September 7, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant