-
Notifications
You must be signed in to change notification settings - Fork 6
Description
In a Workflow run for a branch on the CLI I got an unexpected test failure.
See https://github.com/kosli-dev/cli/actions/runs/12690361576/job/35371065255#step:8:534
This appears to be because there is an attempt to cast nil in the get-flow command.
See https://github.com/kosli-dev/cli/blob/main/cmd/kosli/getFlow.go#L92
I was unable to reproduce this error locally.
I've added an if around the case and the tests now all pass.
The branch is called add-more-debug-http-rety-logging
I'm assuming the problem here is change in the server that the CLI tests run against.
This change in the server could have been many many days ago.
Should we run a CLI workflow every day (say) to pick up these kind of errors?
That way when anyone does some work on the CLI they will hopefully only
get errors related to the new work they are doing.