octokit / source-generator

Generates SDKs from GitHub's OpenAPI specification. Built on Kiota.
6 stars 3 forks source link

Race condition results in failed builds #15

Closed kfcampbell closed 8 months ago

kfcampbell commented 8 months ago

See this build for an example of the failure. The build output results in the same failures each time, which correspond to fixes in post-processing:

Error: users/item_starred_repository.go:48:5: undefined: IAdditionalDataHolder
Error: users/item_starred_request_builder.go:94:44: cannot use m.GetItemStarredRepository() (value of type ItemStarredRepositoryable) as serialization.Parsable value in argument to writer.WriteObjectValue: ItemStarredRepositoryable does not implement serialization.Parsable (missing method GetFieldDeserializers)
Error: users/item_starred_request_builder.go:99:44: cannot use m.GetStarredGetResponseItemStarredRepository() (value of type ItemStarredRepositoryable) as serialization.Parsable value in argument to writer.WriteObjectValue: ItemStarredRepositoryable does not implement serialization.Parsable (missing method GetFieldDeserializers)
Error: users/item_starred_request_builder.go:168:44: cannot use m.GetItemStarredRepository() (value of type ItemStarredRepositoryable) as serialization.Parsable value in argument to writer.WriteObjectValue: ItemStarredRepositoryable does not implement serialization.Parsable (missing method GetFieldDeserializers)
Error: users/item_starred_request_builder.go:173:44: cannot use m.GetStarredResponseItemStarredRepository() (value of type ItemStarredRepositoryable) as serialization.Parsable value in argument to writer.WriteObjectValue: ItemStarredRepositoryable does not implement serialization.Parsable (missing method GetFieldDeserializers)

This happens locally as well as in Actions.