Skip to content

Commit 429c041

Browse files
Copilotdata-douser
andauthored
fix: use actual sarifPath in cache databasePath, stable queryName for sarif_store
Stores the actual SARIF file path (or 'inline') in databasePath and uses a stable 'sarif_store' as queryName, instead of overloading both with the user-provided label. Rebuilt server dist. Agent-Logs-Url: https://github.com/advanced-security/codeql-development-mcp-server/sessions/81b6fb38-6dd7-45f0-ac7f-d8b5e1625eb9 Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
1 parent 0157993 commit 429c041

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

server/dist/codeql-development-mcp-server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200718,10 +200718,10 @@ function registerSarifStoreTool(server) {
200718200718
store.putCacheEntry({
200719200719
cacheKey: cacheKey2,
200720200720
codeqlVersion: sarif.runs[0]?.tool.driver.version ?? "unknown",
200721-
databasePath: label ?? "sarif-store",
200721+
databasePath: sarifPath ?? "inline",
200722200722
language: "sarif",
200723200723
outputFormat: "sarif",
200724-
queryName: label ?? "sarif-store",
200724+
queryName: "sarif_store",
200725200725
queryPath: sarifPath ?? "inline",
200726200726
resultContent: content,
200727200727
resultCount

0 commit comments

Comments
 (0)