From b3783ad3e6896a7e04e848ede66dbb0a936806d8 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 16 Sep 2026 23:57:37 -0700 Subject: [PATCH] test(relay): put the authConfig SAFETY: directive on the line oxlint flags The diagnostic points at the property that opens the object literal, not at the `} as OrcaCloudAuthConfig` that closes it. --- src/main/runtime/relay/relay-origin-pool-teardown.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/runtime/relay/relay-origin-pool-teardown.test.ts b/src/main/runtime/relay/relay-origin-pool-teardown.test.ts index a537604e1b9..f868604ce8f 100644 --- a/src/main/runtime/relay/relay-origin-pool-teardown.test.ts +++ b/src/main/runtime/relay/relay-origin-pool-teardown.test.ts @@ -58,10 +58,10 @@ function brokerOptions( ): Parameters[0] { const keypair = nacl.box.keyPair() return { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: RelaySessionBroker.connect reads only these two endpoints off authConfig; the rest of the profile config is never reached. authConfig: { relayTokenEndpoint: 'https://auth.example.test/v1/relay-token', relayDirectorUrl: 'https://relay.example.test' - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: RelaySessionBroker.connect reads only these two endpoints off authConfig; the rest of the profile config is never reached. } as OrcaCloudAuthConfig, accessToken: 'access-token', identity: { userId: 'user-1', profileId: 'profile-1', organizationId: 'org-1' },