Skip to content

Commit 34873d9

Browse files
committed
test(provider-http): register credential-safe parser error exception
Track the intentional preserve-caught-error suppression in the explicit inventory: raw JSON parser causes can quote request credentials. The focused inventory and provider HTTP tests pass; runtime behavior is unchanged.
1 parent 7e9005c commit 34873d9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎test/scripts/lint-suppressions.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ describe("production lint suppressions", () => {
201201
"src/agents/agent-bundle-mcp-runtime.ts|unicorn/prefer-add-event-listener|1",
202202
"src/agents/agent-tools.abort.ts|typescript/prefer-promise-reject-errors|1",
203203
"src/agents/mcp-http-transport.ts|unicorn/prefer-add-event-listener|6",
204+
// JSON parser causes can quote reflected credentials from authenticated provider responses.
205+
"src/agents/provider-http-errors.ts|preserve-caught-error|1",
204206
"src/agents/sessions/session-manager-entries.ts|unicorn/prefer-structured-clone|1",
205207
"src/channels/plugins/channel-runtime-surface.types.ts|typescript/no-unnecessary-type-parameters|1",
206208
"src/channels/plugins/contracts/test-helpers.ts|typescript/no-unnecessary-type-parameters|1",

0 commit comments

Comments
 (0)