Skip to content

Architectural Hardening: Adopt Non-blocking Async I/O#220

Open
Cylae wants to merge 1 commit intomainfrom
refactor-async-io-8885758308323153347
Open

Architectural Hardening: Adopt Non-blocking Async I/O#220
Cylae wants to merge 1 commit intomainfrom
refactor-async-io-8885758308323153347

Conversation

@Cylae
Copy link
Owner

@Cylae Cylae commented Mar 13, 2026

Refactored architecture to use asynchronous non-blocking file system operations across the codebase. Replaced blocking calls to std::fs within tokio async scopes in favor of tokio::fs for both configurations and user data loading to improve event-loop stability and eliminate synchronization bottlenecks.


PR created automatically by Jules for task 8885758308323153347 started by @Cylae

…ecution.

Removed blocking `std::fs` operations in async contexts such as `web.rs` by utilizing `tokio::fs` alternatives, including `metadata`, `try_exists`, and the respective async load and save methods (`load_async`/`save_async`). This ensures there is no reactor starvation on the event loop, meeting strict deterministic and high-performance system architectural requirements.
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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