`rad job show` only shows the first job COB associated with a specific OID
$ rad job show 0ebf99a6e32eff60e36841a18fa3ee0757155d04 --pretty
job 14954fef33264d516530f07a9be0c28fbd197d01 (commit 0ebf99a6e32eff60e36841a18fa3ee0757155d04)
node z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8
run c9abeb4d-80ab-4dfb-b914-99296bcd6f27 Finished(Failed)
log https://ci0.liw.fi//ambient-log/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/7826a717-c5bf-460d-81f8-04a926317728.html
$ rad job show 0ebf99a6e32eff60e36841a18fa3ee0757155d04
{
"job_id": "14954fef33264d516530f07a9be0c28fbd197d01",
"oid": "0ebf99a6e32eff60e36841a18fa3ee0757155d04",
"runs": [
{
"node_id": "z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
"runs": [
{
"run_id": "c9abeb4d-80ab-4dfb-b914-99296bcd6f27",
"status": {
"Finished": "Failed"
},
"log": "https://ci0.liw.fi//ambient-log/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/7826a717-c5bf-460d-81f8-04a926317728.html"
}
]
}
]
}
Whereas:
$ rad job list | grep -B2 -A16 0ebf99a
{
"job_id": "14954fef33264d516530f07a9be0c28fbd197d01",
"oid": "0ebf99a6e32eff60e36841a18fa3ee0757155d04",
"runs": [
{
"node_id": "z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
"runs": [
{
"run_id": "c9abeb4d-80ab-4dfb-b914-99296bcd6f27",
"status": {
"Finished": "Failed"
},
"log": "https://ci0.liw.fi//ambient-log/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/7826a717-c5bf-460d-81f8-04a926317728.html"
}
]
}
]
},
{
--
{
"job_id": "4857dfc7b9da4e601a9f735056b060869aaa243c",
"oid": "0ebf99a6e32eff60e36841a18fa3ee0757155d04",
"runs": [
{
"node_id": "z6MkfXa53s1ZSFy8rktvyXt5ADCojnxvjAoQpzajaXyLqG5n",
"runs": [
{
"run_id": "7b475384-2bfd-456e-ac9e-33fa0460c939",
"status": "Started",
"log": "http://callisto.liw.fi/ambient-log/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/a0b0b031-9781-4491-b388-80a16b7dc496.html"
}
]
}
]
},
{
"job_id": "487ab8e13d9b73a7ebf91eff8f7f05873cf98bf7",
"oid": "88dd863f2e4bedf9e75921180c2001f8ed7ef14c",
--
{
"job_id": "cf4b7faf60c19fca1b5dbe077529902ce446c85b",
"oid": "0ebf99a6e32eff60e36841a18fa3ee0757155d04",
"runs": [
{
"node_id": "z6MksU9RybqKLYRnrae3muoLgQTXUbsS8JmFDWWdxyJ5ceN3",
"runs": [
{
"run_id": "3acb868e-eabc-4c9a-8c98-e822379bc9f0",
"status": "Started",
"log": "https://cci.rad.levitte.org//e188383c-c73b-4716-998a-e51225e17ea5.html"
}
]
}
]
},
{
"job_id": "cf63a15d40c810a1945d20968b2a9e96a0d13e5b",
"oid": "c672a06988b8d04df47e068a98847a59b02d88ee",
[superfluous comment deleted]
Side note: https://cci.rad.levitte.org//e188383c-c73b-4716-998a-e51225e17ea5.html shows that the run did finish (with failure). Why wasn’t that recorded? Perhaps that belongs with radicle-ci-broker, and @liw can tell.
I got sufficiently irritated with this today that I might have a go at making the change so
rad job showshows all job COBs for the specified commit.I know that’s not “right” visavi the theory that one commit should only have one associated job COB, but until that’s a reality, it is better if the command can display the current reality.