Skip to content

Fix. Code. Optimizing the parsing of approved hashes https://app.doboard.com/1/task/57727 - #742

Merged
AntonV1211 merged 10 commits into
devfrom
mod_hashes_reader_av
Oct 12, 2026
Merged

AntonV1211 merged 10 commits into
devfrom
mod_hashes_reader_av

Conversation

@AntonV1211

Copy link
Copy Markdown
Contributor

@AntonV1211 AntonV1211 changed the title Mod hashes reader av Fix. Code. Optimizing the parsing of approved hashes https://app.doboard.com/1/task/57727 Sep 23, 2026
@AntonV1211
AntonV1211 changed the base branch from fix to dev October 7, 2026 04:58
@AntonV1211
AntonV1211 requested review from Glomberg and a lite review from Copilot October 7, 2026 04:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

One or more issues must be addressed before approval.

Review effort: Lite
Findings: 2 High severity

Open (2)
What changed in this PR

Optimizes scanner file filtering and remote approved/denied hash processing by streaming decompression and batching database queries.

Changes:

  • Adds chunked remote hash reading and batched status updates.
  • Optimizes binary signature checks and path handling.
  • Replaces per-file full-hash queries with batch lookup.
File Description
lib/​CleantalkSP/​SpbctWP/​Scanner/​Surface.php Updated as part of this pull request.
lib/​CleantalkSP/​SpbctWP/​Scanner/​ScannerQueue.php Updated as part of this pull request.
lib/​CleantalkSP/​SpbctWP/​Scanner/​RemoteHashesReader.php Updated as part of this pull request.
lib/​CleantalkSP/​SpbctWP/​Scanner/​Helper.php Updated as part of this pull request.
lib/​CleantalkSP/​SpbctWP/​Scanner/​BinaryCheckModule/​BinaryCheckModule.php Updated as part of this pull request.
lib/​CleantalkSP/​Common/​Helpers/​CSV.php Updated as part of this pull request.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/CleantalkSP/SpbctWP/Scanner/RemoteHashesReader.php Outdated
Comment thread lib/CleantalkSP/SpbctWP/Scanner/ScannerQueue.php
@AntonV1211
AntonV1211 removed the request for review from Glomberg October 7, 2026 05:27
@AntonV1211
AntonV1211 requested a review from Glomberg October 7, 2026 09:36
@AntonV1211
AntonV1211 merged commit 00d705d into dev Oct 12, 2026
6 checks passed
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.

3 participants