Skip to content

Replace busy-wait with Atomics#77

Open
tembo[bot] wants to merge 1 commit intomainfrom
tembo/scanbot-fix-todo-security-issue
Open

Replace busy-wait with Atomics#77
tembo[bot] wants to merge 1 commit intomainfrom
tembo/scanbot-fix-todo-security-issue

Conversation

@tembo
Copy link
Copy Markdown
Contributor

@tembo tembo bot commented Mar 14, 2026

Summary

Replaced CPU-spinning busy-wait loop with Atomics.wait() in file locking mechanism. Added sleepSync() helper function that uses SharedArrayBuffer to properly yield CPU instead of continuously spinning. Also created two new tasks in .beads/issues.jsonl documenting additional code quality findings.


Want tembo to make any changes? Add a review or comment with @tembo and i'll get back to work!

View on Tembo View Agent Settings

@tembo tembo bot added the tembo Pull request created by Tembo label Mar 14, 2026
@blocksorg
Copy link
Copy Markdown

blocksorg bot commented Mar 14, 2026

Mention Blocks like a regular teammate with your question or request:

@blocks review this pull request
@blocks make the following changes ...
@blocks create an issue from what was mentioned in the following comment ...
@blocks explain the following code ...
@blocks are there any security or performance concerns?

Run @blocks /help for more information.

Workspace settings | Disable this message

@tembo tembo bot requested a review from ryw March 14, 2026 09:18
@tembo
Copy link
Copy Markdown
Contributor Author

tembo bot commented Mar 14, 2026

Requesting review from @ryw who has experience with the following files modified in this PR:

  • .beads/issues.jsonl
  • src/services/file-system.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tembo Pull request created by Tembo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants