Skip to content

Use literal strings for service tags #1077

Use literal strings for service tags

Use literal strings for service tags #1077

Triggered via pull request January 19, 2024 13:26
Status Failure
Total duration 1m 43s
Artifacts

check.yml

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

Annotations

23 errors
Types: packages/platform-node/src/internal/commandExecutor.ts#L76
Type 'Effect<"Scope", PlatformError, Process>' is not assignable to type 'Effect<Scope, PlatformError, Process>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/platform-node/src/internal/commandExecutor.ts#L180
Argument of type 'Stream<Scope, PlatformError, Uint8Array>' is not assignable to parameter of type 'CommandInput' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/platform-node/src/internal/commandExecutor.ts#L191
Argument of type 'Stream<Scope, PlatformError, Uint8Array>' is not assignable to parameter of type 'CommandInput' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/platform-node/src/internal/commandExecutor.ts#L197
Type 'Layer<"Platform/FileSystem", never, "Platform/CommandExecutor">' is not assignable to type 'Layer<FileSystem, never, CommandExecutor>'.
Types: packages/platform-node/src/internal/commandExecutor.ts#L201
Argument of type '(command: Command.Command) => Effect.Effect<Scope.Scope, Error.PlatformError, CommandExecutor.Process>' is not assignable to parameter of type '(command: Command) => Effect<"Scope", PlatformError, Process>'.
Types: packages/platform-node/src/FileSystem.ts#L84
Type 'Layer<never, never, "Platform/FileSystem">' is not assignable to type 'Layer<never, never, FileSystem>'.
Types: packages/platform-node/src/internal/http/nodeClient.ts#L27
Type 'HttpAgent' does not satisfy the constraint 'string'.
Types: packages/platform-node/src/internal/http/nodeClient.ts#L31
Type 'Effect<"Scope", never, { [NodeClient.HttpAgentTypeId]: unique symbol; http: Agent; https: Agent; }>' is not assignable to type 'Effect<Scope, never, HttpAgent>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/platform-node/src/internal/http/nodeClient.ts#L51
Type 'Layer<Scope, never, any>' is not assignable to type 'Layer<never, never, HttpAgent>'.
Types: packages/platform-node/src/internal/http/nodeClient.ts#L51
Argument of type '<Service>() => Tag<HttpAgent, Service>' is not assignable to parameter of type 'Tag<any, any>'.
Build: packages/platform-node/src/internal/commandExecutor.ts#L76
Type 'Effect<"Scope", PlatformError, Process>' is not assignable to type 'Effect<Scope, PlatformError, Process>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Build: packages/platform-node/src/internal/commandExecutor.ts#L180
Argument of type 'Stream<Scope, PlatformError, Uint8Array>' is not assignable to parameter of type 'CommandInput' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Build: packages/platform-node/src/internal/commandExecutor.ts#L191
Argument of type 'Stream<Scope, PlatformError, Uint8Array>' is not assignable to parameter of type 'CommandInput' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Build: packages/platform-node/src/internal/commandExecutor.ts#L197
Type 'Layer<"Platform/FileSystem", never, "Platform/CommandExecutor">' is not assignable to type 'Layer<FileSystem, never, CommandExecutor>'.
Build: packages/platform-node/src/internal/commandExecutor.ts#L201
Argument of type '(command: Command.Command) => Effect.Effect<Scope.Scope, Error.PlatformError, CommandExecutor.Process>' is not assignable to parameter of type '(command: Command) => Effect<"Scope", PlatformError, Process>'.
Build: packages/platform-node/src/FileSystem.ts#L84
Type 'Layer<never, never, "Platform/FileSystem">' is not assignable to type 'Layer<never, never, FileSystem>'.
Build: packages/platform-node/src/internal/http/nodeClient.ts#L27
Type 'HttpAgent' does not satisfy the constraint 'string'.
Build: packages/platform-node/src/internal/http/nodeClient.ts#L31
Type 'Effect<"Scope", never, { [NodeClient.HttpAgentTypeId]: unique symbol; http: Agent; https: Agent; }>' is not assignable to type 'Effect<Scope, never, HttpAgent>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Build: packages/platform-node/src/internal/http/nodeClient.ts#L51
Type 'Layer<Scope, never, any>' is not assignable to type 'Layer<never, never, HttpAgent>'.
Build: packages/platform-node/src/internal/http/nodeClient.ts#L51
Argument of type '<Service>() => Tag<HttpAgent, Service>' is not assignable to parameter of type 'Tag<any, any>'.
Test (1/3)
Process completed with exit code 1.
Test (3/3)
Process completed with exit code 1.
Test (2/3)
Process completed with exit code 1.