You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Digging slightly in this issue, the problem seems to be related to loading the packages and its loading mode.
Indeed, extracting packages.Load in a dedicated module, we can reproduce the problem, when running towards this repository.
However removing both flags packages.NeedSyntax | packages.NeedDeps, the extracted command succeeds
What happened?
Following the official guidelines to create a custom provider, all the steps can be run until
go generate
.then,
go generate
panics with a backtraceHow can we reproduce it?
The problem can be easily reproduced on github action workers.
Here is a workflow reproducing the problem:
As we can see in this run, the build works well for go 1.20 and 1.21.
It though fails on go 1.22 regardless the way the
angryjet
command is called (make generate
,go run
or locally build command)What environment did it happen in?
Crossplane version: Not required
I could reproduce the error locally as well as in github actions using
ubuntu-latest
The text was updated successfully, but these errors were encountered: