Skip to content

Fix schema sidecar atomic write#9

Open
jiangpengcheng wants to merge 1 commit into
mainfrom
codex/fix-schema-sidecar-atomic-write
Open

Fix schema sidecar atomic write#9
jiangpengcheng wants to merge 1 commit into
mainfrom
codex/fix-schema-sidecar-atomic-write

Conversation

@jiangpengcheng

Copy link
Copy Markdown
Member

Summary

  • write sink.schema.json through a same-directory temp file and atomic rename
  • clean up temp files on write failures
  • add a regression test that verifies the final sidecar path is atomically replaced instead of written through directly

Testing

  • go test ./...

@jiangpengcheng jiangpengcheng requested a review from a team as a code owner July 8, 2026 09:04
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