Skip to content

add support for redacted headers #6320

add support for redacted headers

add support for redacted headers #6320

Triggered via pull request October 2, 2024 15:33
Status Cancelled
Total duration 2m 26s
Artifacts

check.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Types: packages/platform/src/Headers.ts#L75
Type 'transform<Record$<typeof String$, Union<[typeof String$, Array$<typeof String$>]>>, Schema<Headers, Headers, never>>' is not assignable to type 'Schema<Headers, ReadonlyRecord<string, string | Redacted<string> | readonly (string | Redacted<string>)[]>, never>'.
Types: packages/platform/src/Headers.ts#L85
Argument of type '{ strict: true; decode: (record: { readonly [x: string]: string | readonly string[]; }) => Headers; encode: <A>(a: A) => A; }' is not assignable to parameter of type '{ readonly decode: (fromA: { readonly [x: string]: string | readonly string[]; }, fromI: { readonly [x: string]: string | readonly string[]; }) => Headers; readonly encode: (toI: Headers, toA: Headers) => { ...; }; readonly strict?: true | undefined; } | { ...; }'.
Types: packages/platform/src/HttpApiBuilder.ts#L691
Property 'slice' does not exist on type 'string | Redacted<string>'.
Types: packages/platform/src/HttpApiBuilder.ts#L716
Argument of type 'string | Redacted<string>' is not assignable to parameter of type 'string'.
Types: packages/platform/src/HttpIncomingMessage.ts#L112
Property 'includes' does not exist on type 'string | Redacted<string>'.
Types: packages/platform/src/HttpIncomingMessage.ts#L118
Property 'includes' does not exist on type 'string | Redacted<string>'.
Types: packages/platform/src/HttpIncomingMessage.ts#L118
Property 'includes' does not exist on type 'string | Redacted<string>'.
Types: packages/platform/src/HttpTraceContext.ts#L52
Property 'split' does not exist on type 'string | Redacted<string>'.
Types: packages/platform/src/HttpTraceContext.ts#L72
Type 'string | Redacted<string>' is not assignable to type 'string'.
Types: packages/platform/src/HttpTraceContext.ts#L73
Type 'string | Redacted<string>' is not assignable to type 'string'.
Test (Node 2/3)
Canceling since a higher priority waiting request for 'Check-refs/pull/3721/merge' exists
Test (Node 2/3)
The operation was canceled.
Test (Node 3/3)
Canceling since a higher priority waiting request for 'Check-refs/pull/3721/merge' exists
Test (Node 3/3)
The operation was canceled.
Test (Node 1/3)
Canceling since a higher priority waiting request for 'Check-refs/pull/3721/merge' exists
Test (Node 1/3)
The operation was canceled.