Skip to content

[2.x] Adapt structure visitors to Codama v2 #2456

[2.x] Adapt structure visitors to Codama v2

[2.x] Adapt structure visitors to Codama v2 #2456

Triggered via pull request September 30, 2026 14:13
Status Failure
Total duration 31s
Artifacts –

main.yml

on: pull_request
Dependabot
0s
Dependabot
Release  /  Release
Release / Release
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 notices
Test
Module '"@codama/spec/api"' has no exported member 'nestedUnion'.
Test
Module '"@codama/spec/api"' has no exported member 'tuple'.
Test
Module '"@codama/spec/api"' has no exported member 'nestedUnion'.
Test
Object literal may only specify known properties, and 'nestedUnions' does not exist in type 'DefineCategoryOptions'.
Test
Object literal may only specify known properties, and 'nestedUnions' does not exist in type 'CategorySpec'.
Test
Object literal may only specify known properties, and 'nestedUnions' does not exist in type 'DefineCategoryOptions'.
Test
Module '"@codama/spec/api"' has no exported member 'defineNestedUnion'.
Test
Module '"@codama/spec/api"' has no exported member 'nestedUnion'.
Test
Cannot find module '../../../src/nodeTypes/fragments/nestedUnion' or its corresponding type declarations.
Test
Module '"@codama/spec/api"' has no exported member 'defineNestedUnion'.
Check styling
Property 'item' does not exist on type 'GetNodeFromKind<any>'.
Check styling
Property 'number' does not exist on type 'GetNodeFromKind<any>'.
Check styling
Argument of type 'readonly [...Node[], AccountNode<string | TextNode<PluginNode<SelfPluginNode[] | undefined>[] | undefined> | undefined, TypeNode, PdaLinkNode<...> | undefined, RegisteredDiscriminatorNode[] | undefined, PluginNode<...>[] | undefined>] | ... 4 more ... | readonly [......[]]' is not assignable to parameter of type 'readonly [...Node[], AccountNode<string | TextNode<PluginNode<SelfPluginNode[] | undefined>[] | undefined> | undefined, TypeNode, PdaLinkNode<...> | undefined, RegisteredDiscriminatorNode[] | undefined, PluginNode<...>[] | undefined>]'.
Check styling
Argument of type 'NodePath<GetNodeFromKind<"accountBumpValueNode" | "accountDataValueNode" | "accountLinkNode" | "accountNode" | "accountValueNode" | "amountNumberDisplayNode" | "arrayTypeNode" | "arrayValueNode" | ... 84 more ... | "zeroableOptionTypeNode">>' is not assignable to parameter of type 'readonly [...Node[], AccountLinkNode<ProgramLinkNode<PluginNode<SelfPluginNode[] | undefined>[] | undefined> | undefined, PluginNode<SelfPluginNode[] | undefined>[] | undefined>] | ... 4 more ... | readonly [......[]]'.
Check styling
Property 'data' does not exist on type 'GetNodeFromKind<any>'.
Check styling
Module '"@codama/nodes"' has no exported member 'structTypeNodeFromInstructionArgumentNodes'.
Check styling
Module '"@codama/nodes"' has no exported member 'structFieldTypeNodeFromInstructionArgumentNode'.
Check styling
Module '"@codama/nodes"' has no exported member 'NumberFormat'.
Check styling
'"@codama/nodes"' has no exported member named 'InstructionArgumentNode'. Did you mean 'InstructionAccountNode'?
Check styling
'"@codama/nodes"' has no exported member named 'InstructionArgumentLinkNode'. Did you mean 'InstructionAccountLinkNode'?
Test
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Check styling
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"