Skip to content

VSCode RustOwl Always checking #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
G-M0N3Y-2503 opened this issue Apr 13, 2025 · 5 comments
Open

VSCode RustOwl Always checking #75

G-M0N3Y-2503 opened this issue Apr 13, 2025 · 5 comments
Labels
bug Something isn't working tier-1 Top priority tasks

Comments

@G-M0N3Y-2503
Copy link

G-M0N3Y-2503 commented Apr 13, 2025

Bug Description

This may be a couple of bugs in one, but the core of the issue is triggered by the following steps:

  1. Open a Rust project
  2. Wait for rust-analyzer and rustowl to finish their checks
  3. Add a space to the end of a comment.
  4. Repeat step 3 periodically

This results in the following symptoms:

  1. The rustowl status will always be stuck checking.
    Many rustowl "checking" notifications
  2. rustowlc is effectively always running when typing/making changes, using a lot of CPU.

A holistic fix would be to:

  1. Debounce triggers, especially since the result takes some time to show anyway.
  2. Only run when the cursor is placed on reasonable Rust syntax, i.e the middle of a variable.

Environment

  • rustowl v0.2.0
  • rustup 1.28.1
  • rustc 1.86.0
  • VSCode 1.99.2
  • OS: Manjaro Linux
@G-M0N3Y-2503 G-M0N3Y-2503 added the bug Something isn't working label Apr 13, 2025
@cordx56
Copy link
Owner

cordx56 commented Apr 15, 2025

Thank you for using RustOwl.

Currently, in the Unix-like systems, VS Code shows multiple loading progress but the analyzing process is only one and old one is killed when the source code is changed.
The analysis runs on saving any source code in the workspace.

We released v0.2.1 and it contain improvement for showing progress.
So please try new version.

@cordx56 cordx56 added the tier-1 Top priority tasks label Apr 17, 2025
@G-M0N3Y-2503
Copy link
Author

The rustowlc process is behaving as you say, but the notifications in VS Code are not being cleaned up, so this looks like just a UI issue.

@cordx56
Copy link
Owner

cordx56 commented May 1, 2025

I confirmed that the problem is fixed before v0.3.0. Did you try v0.3.0?

@G-M0N3Y-2503
Copy link
Author

Hmm it's still happening for me with https://github.com/G-M0N3Y-2503/current_dir

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tier-1 Top priority tasks
Projects
None yet
Development

No branches or pull requests

2 participants