Skip to content

Sensors v5.11.2: Perform asynchronous data reads#8539

Merged
claudiux merged 37 commits intolinuxmint:masterfrom
claudiux:Sensors_v5.11.2_Perform-asynchronous-data-reads
Apr 13, 2026
Merged

Sensors v5.11.2: Perform asynchronous data reads#8539
claudiux merged 37 commits intolinuxmint:masterfrom
claudiux:Sensors_v5.11.2_Perform-asynchronous-data-reads

Conversation

@claudiux
Copy link
Copy Markdown
Member

No description provided.

Copilot AI and others added 30 commits March 8, 2026 23:33
@github-actions
Copy link
Copy Markdown
Contributor

Best-practices scanner

This is a regex-based check for API usage that can pose security, performance or
maintainability issues, or that may already be provided by Cinnamon. Having code flagged
by it doesn't automatically disqualify a pull request.

This check is not perfect will not replace a normal review.


Found 1 potential issue(s):

⚠️ sync_file_query_exists

Sensors@claudiux/files/Sensors@claudiux/lib/readFileAsync.js:12

if (!file.query_exists(null)) reject(new Error('File does not exist.'));

query_exists() is a synchronous call that can block on slow/network filesystems.
Prefer attempting the operation and handling a Gio.IOErrorEnum.NOT_FOUND error instead.


Automated pattern check.

@claudiux claudiux merged commit 65d16ea into linuxmint:master Apr 13, 2026
4 checks passed
@claudiux claudiux deleted the Sensors_v5.11.2_Perform-asynchronous-data-reads branch April 13, 2026 14:23
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