Skip to content

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

feat(extension-system): introduce configuration resolvers

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

Triggered via pull request January 24, 2025 01:42
Status Failure
Total duration 41s
Artifacts

pr.yml

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

Annotations

135 errors and 9 warnings
lint: src/client/handleOutput.ts#L224
Unused '@ts-expect-error' directive.
lint: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
lint: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
lint: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
lint: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
lint: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
lint: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
lint: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
lint: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
lint: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test examples Node 22 @env jsdom: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test unit Node 20 @env jsdom: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
website: src/client/handleOutput.ts#L224
Unused '@ts-expect-error' directive.
website: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
website: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
website: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
website: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
website: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
website: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
website: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test examples Node 22 @env node
The job was canceled because "_22_jsdom" failed.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
website: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test examples Node 22 @env node: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
website: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test examples Node 22 @env node: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test examples Node 22 @env node: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test unit Node 22 @env jsdom: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test examples Node 22 @env node: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test examples Node 22 @env node: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test examples Node 22 @env node: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test examples Node 22 @env node: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test examples Node 22 @env node: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test examples Node 22 @env node: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test examples Node 20 @env node
The job was canceled because "_22_jsdom" failed.
test examples Node 20 @env node: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
test examples Node 20 @env node: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
test examples Node 20 @env node: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test examples Node 20 @env node: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test examples Node 20 @env node: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test examples Node 20 @env node: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test examples Node 20 @env node: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test examples Node 20 @env node: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test examples Node 20 @env node: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test examples Node 20 @env jsdom
The job was canceled because "_22_jsdom" failed.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test examples Node 20 @env jsdom: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 22 @env node
The job was canceled because "_20_jsdom" failed.
test unit Node 22 @env node: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
test unit Node 22 @env node: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
test unit Node 22 @env node: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test unit Node 22 @env node: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test unit Node 22 @env node: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test unit Node 22 @env node: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test unit Node 22 @env node: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 22 @env node: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test unit Node 22 @env node: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 20 @env node
The job was canceled because "_20_jsdom" failed.
test unit Node 20 @env node: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
test unit Node 20 @env node: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
test unit Node 20 @env node: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test unit Node 20 @env node: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test unit Node 20 @env node: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test unit Node 20 @env node: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test unit Node 20 @env node: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test unit Node 20 @env node: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test unit Node 20 @env node: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test e2e usingNode 22: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
test e2e usingNode 22: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
test e2e usingNode 22: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test e2e usingNode 22: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
test e2e usingNode 22: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
test e2e usingNode 22: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
test e2e usingNode 22: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
test e2e usingNode 22: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
test e2e usingNode 22: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
publint: src/client/handleOutput.ts#L224
Unused '@ts-expect-error' directive.
publint: src/client/properties/transport.ts#L2
Cannot find module '../../types/ConfigurationResolver.js' or its corresponding type declarations.
publint: src/client/properties/transport.ts#L23
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][$Context["transports"]["current"]]'.
publint: src/client/properties/transport.ts#L39
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
publint: src/client/properties/transport.ts#L41
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][transportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][transportName]; }'.
publint: src/client/properties/transport.ts#L41
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][transportName]'.
publint: src/client/properties/transport.ts#L62
Type '"configurationInit"' cannot be used to index type '$Context["transports"]["registry"][name]'.
publint: src/client/properties/transport.ts#L78
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
publint: src/client/properties/transport.ts#L80
Type '"return"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]["configurationResolverTF"] & { init: configInit; partial: $Context["transports"]["configurations"][configKeyTransportName]; }'.
publint: src/client/properties/transport.ts#L80
Type '"configurationResolverTF"' cannot be used to index type '$Context["transports"]["registry"][configKeyTransportName]'.
types: src/client/Configuration/client.create.config.output.test-d.ts#L130
Type '"extensions" | "data"' does not satisfy the constraint '"Expected: literal string: extensions, Actual: string" | "Expected: literal string: extensions, Actual: number" | "Expected: literal string: extensions, Actual: ..." | "Expected: literal string: data, Actual: string" | "Expected: literal string: data, Actual: number" | "Expected: literal string: data, Actual: ..."'.
types: src/client/handleOutput.ts#L224
Unused '@ts-expect-error' directive.
types: src/client/properties/scalar.test-d.ts#L9
Expected 1 arguments, but got 0.
types: src/client/properties/scalar.test-d.ts#L12
Expected 1 arguments, but got 0.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test examples 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 20 @env jsdom
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
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
format
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
publint
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