Skip to content

workflows: put a Lock around local events_create#140

Merged
msullivan merged 1 commit into
mainfrom
local-world-lock
Jun 24, 2026
Merged

workflows: put a Lock around local events_create#140
msullivan merged 1 commit into
mainfrom
local-world-lock

Conversation

@msullivan

Copy link
Copy Markdown
Contributor

There are some read-modify-writes in it, so slap a per-run lock around
it to protect those.

The JS library does more fine-grained locking here but I don't think
the extra complication of that would really help much.

@msullivan msullivan requested a review from fantix June 23, 2026 17:40
@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 24, 2026 5:03pm

Request Review

@fantix fantix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine; we should probably also fix the vqs-py handler not to use to_thread() arbitrarily upon async functions.

There are some read-modify-writes in it, so slap a per-run lock around
it to protect those.

The JS library does more fine-grained locking here but I don't think
the extra complication of that would really help much.
@msullivan msullivan merged commit 028c487 into main Jun 24, 2026
13 checks passed
@msullivan msullivan deleted the local-world-lock branch June 24, 2026 17:43
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.

2 participants