mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 17:54:32 +00:00
CI: restore main detect-secrets scan (#38438)
* Tests: stabilize detect-secrets fixtures * Tests: fix rebased detect-secrets false positives * Docs: keep snippets valid under detect-secrets * Tests: finalize detect-secrets false-positive fixes * Tests: reduce detect-secrets false positives * Tests: keep detect-secrets pragmas inline * Tests: remediate next detect-secrets batch * Tests: tighten detect-secrets allowlists * Tests: stabilize detect-secrets formatter drift
This commit is contained in:
@@ -54,7 +54,7 @@ describe("compaction toolResult details stripping", () => {
|
||||
messages,
|
||||
// Minimal shape; compaction won't use these fields in our mocked generateSummary.
|
||||
model: { id: "mock", name: "mock", contextWindow: 10000, maxTokens: 1000 } as never,
|
||||
apiKey: "test",
|
||||
apiKey: "test", // pragma: allowlist secret
|
||||
signal: new AbortController().signal,
|
||||
reserveTokens: 100,
|
||||
maxChunkTokens: 5000,
|
||||
|
||||
Reference in New Issue
Block a user