feat(search): log guild.search unchanged at debug on setSearch no-op

Helps diagnose redundant search IPC and cache hits during light view
polling without spamming info-level guild.search spans.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-23 08:26:30 -04:00
co-authored by Cursor
parent 5188f6ea28
commit 2f88791593
+6
View File
@@ -1186,6 +1186,12 @@ class PearcordPlatform extends EventEmitter {
}
}
}
this.log.debug('guild.search unchanged', {
query: this._searchQuery,
scope: this._searchScope,
includeMesh: this._searchIncludeMesh,
cached: !!this._lastSearchFromCache
})
return {
query: this._searchQuery,
scope: this._searchScope,