Skip to content

Run CLI workflow on cron schedule? #396

@JonJagger

Description

@JonJagger

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions