JSON output is not JSON
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Reproduce the issue with sush job output <job> -j and trace the command's JSON output path. The fix is done when the output is valid JSON for multiple targets, with the target and stdout represented in one parseable document.
Written by the indexing model from the issue text.
Description
alan@castle:~$ /staff/alex/sush job output off-because-about-tide-detail-fruit-empty-forward
» 913-0000019:BRM23230010 «
✅ Job stdout:
21:53:11 up 3 day(s), 22:17, 0 users, load average: 1.45, 1.54, 1.72
» 913-0000019:BRM23230018 «
✅ Job stdout:
21:53:11 up 3 day(s), 22:16, 0 users, load average: 2.75, 3.05, 3.22
» 913-0000019:BRM27230037 «
✅ Job stdout:
21:53:11 up 3 day(s), 22:15, 0 users, load average: 1.13, 1.36, 1.63
» 913-0000023:2F8JEXDK «
✅ Job stdout:
21:53:10 up 2 day(s), 46 min(s), 0 users, load average: 1.76, 2.10, 2.35
alan@castle:~$ /staff/alex/sush job output off-because-about-tide-detail-fruit-empty-forward -j
{"target":"913-0000019:BRM23230010"}
"21:53:11 up 3 day(s), 22:17, 0 users, load average: 1.45, 1.54, 1.72\n"
{"target":"913-0000019:BRM23230018"}
"21:53:11 up 3 day(s), 22:16, 0 users, load average: 2.75, 3.05, 3.22\n"
{"target":"913-0000019:BRM27230037"}
"21:53:11 up 3 day(s), 22:15, 0 users, load average: 1.13, 1.36, 1.63\n"
{"target":"913-0000023:2F8JEXDK"}
"21:53:10 up 2 day(s), 46 min(s), 0 users, load average: 1.76, 2.10, 2.35\n"
- Dominant language
- Rust
- Stars
- 3
- Forks
- 0
- Avg merge
- 9d 12h
- Merged PRs (30d)
- 11
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oxidecomputer/sush
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxidecomputer/sush#74 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
oxidecomputer/sush#87 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
oxidecomputer/sush#82 ·
-
`tail -f` equivalent Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
oxidecomputer/sush#81 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
oxidecomputer/sush#80 · 1 comment ·
All issues in oxidecomputer/sush
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·