Could `rad job show` be made to also understand a job COB id?
I have a use cases:
The Radicle inbox gets a short notification for a job COB, like this (this is in heartwood):
$ rad inbox show 2012
{
"Cob": {
"id": "7e688acc3cd75cbbe3f82ff7cd4ddbca1a5a1b0a",
"type_name": "xyz.radworks.job"
}
}
However, it turns out that the id that’s shown isn’t a commit id:
$ rad job show 7e688acc3cd75cbbe3f82ff7cd4ddbca1a5a1b0a
ERROR: no job was found for the commit 7e688acc3cd75cbbe3f82ff7cd4ddbca1a5a1b0a
My suggestion is to have rad job show figure out if the given id is a commit id or a job COB id, and to display the associated job COB in both cases.
Of course there’s a workaround, but I hope you agree that it’s… a tad cumbersome: