Just a quick stab in the dark, but is it possible that you're on a Windows machine and this is a newline problem?
I'll keep thinking about this and come back to it, but I wanted to ask the question first 😀
... View more
Thanks for reaching out.
Here's my understanding of the Checks flow from the documentation:
Someone pushes code to the repository
GitHub creates a Check Suite object and pushes a `check_suite` webhook event to your GitHub App
At this point, if your app does nothing you get the "Queued XX YY ago" behavior you're describing
Your GitHub App creates a Check Run object with the resulting status
The Check Suite object aggregates all of the Check Run objects' status into a single result
What it sounds like you're currently doing is that when you receive a `check_suite` webhook event, and your command-line app doesn't get called, no Check Run object is created and you end up at the failure case of 2i above.
No, there isn't a way to delete a Check Run object, so the key to your question is what to do in step 3 above. What I would suggest is to immediately create the Check Run object with the `in_progress` status as described in the Check Run documentation. Then, when you've determined that nothing is supposed to happen, you can update (not delete) that Check Run object with a status of `completed` and whatever output you want.
I hope that helps!
... View more