Skip to content

feat(extension-system): introduce configuration resolvers #1825

feat(extension-system): introduce configuration resolvers

feat(extension-system): introduce configuration resolvers #1825

Triggered via pull request January 16, 2025 03:21
Status Failure
Total duration 43s
Artifacts

pr.yml

on: pull_request
Matrix: test-e2e
Matrix: test-examples
Matrix: test-unit
Fit to window
Zoom out
Zoom in

Annotations

39 errors and 9 warnings
test examples Node 20 @env jsdom: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test examples Node 20 @env jsdom
Process completed with exit code 2.
test unit Node 22 @env jsdom: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test unit Node 22 @env jsdom
Process completed with exit code 2.
test unit Node 22 @env node: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test unit Node 22 @env node
Process completed with exit code 2.
website: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
website
Process completed with exit code 2.
test examples Node 22 @env node
The job was canceled because "_20_jsdom" failed.
test examples Node 22 @env node: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test examples Node 22 @env node
Process completed with exit code 2.
test unit Node 20 @env node
The job was canceled because "_22_jsdom" failed.
test unit Node 20 @env node: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test unit Node 20 @env node
Process completed with exit code 2.
publint: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
publint
Process completed with exit code 2.
test examples Node 20 @env node
The job was canceled because "_20_jsdom" failed.
test examples Node 20 @env node: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test examples Node 20 @env node
The operation was canceled.
test unit Node 20 @env jsdom
The job was canceled because "_22_jsdom" failed.
test unit Node 20 @env jsdom: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test unit Node 20 @env jsdom
The operation was canceled.
test e2e usingNode 22: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test e2e usingNode 22
Process completed with exit code 2.
test examples Node 22 @env jsdom
The job was canceled because "_20_jsdom" failed.
test examples Node 22 @env jsdom: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
test examples Node 22 @env jsdom
The operation was canceled.
lint: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
lint
Process completed with exit code 2.
types: src/client/properties/gql/gql.test-d.ts#L29
Argument of type 'gqlOverload<{ name: "default"; scalars: RegistryEmpty; extensions: [TransportHttp<ConfigurationResolver<{ methodMode: "post"; }, ConfigurationInitEmpty>>, Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>, Extension<"DocumentBuilder", object, BuilderExtension<BuilderExtension>, TypeHooksEmpty, undefined>]; transports: { registry: { http: { name: "http"; configAfterCreate: ConfigurationResolver<{ methodMode: "post"; }, ConfigurationInitEmpty>; configDefaults: PartialOrUndefined<Configuration>; requestPipelineOverload: RequestPipelineOverload; configurationResolver: ConfigurationResolver<object, object>; config: Configuration; configurationInit: ConfigurationInit; configurationResolverTF: ConfigurationResolverF; }; } | ({ http: { name: "http"; configAfterCreate: ConfigurationResolver<{ methodMode: "post"; }, ConfigurationInitEmpty>; configDefaults: PartialOrUndefined<Configuration>; requestPipelineOverload: RequestPipelineOverload; configurationResolver: ConfigurationResolver<object, object>; config: Configuration; configurationInit: ConfigurationInit; configurationResolverTF: ConfigurationResolverF; }; } & { [x: string]: Transport; }); current: "http"; configurations: { http: ConfigurationResolver<object | ConfigurationResolver<{ methodMode: "post"; }, ConfigurationInitEmpty>, PartialOrUndefined<ConfigurationInit>>; }; }; checkPreflight: true; schemaMap: null; input: {}; requestPipelineDefinition: AddOverload<RequestPipelineBaseDefinition, RequestPipelineOverload>; output: OutputConfigDefault; typeHookOnRequestDocumentRootType: OnRequestDocumentRootType[]; typeHookOnRequestResult: OnRequestResult[]; typeHookRequestResultDataTypes: never; }>' is not assignable to parameter of type '"Error: You cannot send requests yet. The selected transport \"memory\" is not sufficiently configured."'.
types: src/client/properties/gql/gql.test-d.ts#L29
No overload matches this call.
types: src/entrypoints/presets/_basic.ts#L11
Argument of type 'TransportMemory<ConfigurationInitEmpty>' is not assignable to parameter of type 'Extension<string, object | undefined, BuilderExtension | undefined, TypeHooks, Transport | undefined>'.
types: src/extension/extension.test.ts#L28
Expected 0 arguments, but got 1.
types: src/extension/extension.test.ts#L29
Expected 0 arguments, but got 1.
types: src/extension/extension.test.ts#L41
Unused '@ts-expect-error' directive.
types: src/extension/extension.test.ts#L43
Expected 0 arguments, but got 1.
types: src/extension/extension.test.ts#L44
Expected 0 arguments, but got 1.
types: src/extension/extension.test.ts#L49
Type '(_: { a: 1; b?: 2; }) => { a: number; b: number; }' is not assignable to type '(current: object) => { a: number; b: number; }'.
types: src/extension/extension.test.ts#L56
Unused '@ts-expect-error' directive.
test examples Node 20 @env jsdom
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test unit Node 22 @env jsdom
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test unit Node 22 @env node
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
website
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
publint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test e2e usingNode 22
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
types
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636