Skip to content

workflows: fix TOCTOU in write_json and make writes atomic for good measure#139

Open
msullivan wants to merge 1 commit into
mainfrom
write-json-atomic
Open

workflows: fix TOCTOU in write_json and make writes atomic for good measure#139
msullivan wants to merge 1 commit into
mainfrom
write-json-atomic

Conversation

@msullivan

Copy link
Copy Markdown
Contributor

We were doing an exists() check but then doing the write afteward,
but this meant there was a race condition window.

Possibly we should be using sqlite?

…easure

We were doing an `exists()` check but then doing the write afteward,
but this meant there was a race condition window.

Possibly we should be using sqlite?
@msullivan msullivan requested a review from fantix June 23, 2026 16:31
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vercel-py Ready Ready Preview Jun 23, 2026 4:31pm

Request Review

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