module

Cjules::Commands::Troubleshoot

Constants

MAX_FINDINGS = 5

ponytail: findings are capped so the suggested note stays readable; the full log is still available via cjules logs <ID> --bash.

Instance methods

diagnose(activities : Array(Models::Activity)) : Array(Finding)

Collects findings from the latest run of each failing bash command, falling back to the session's failure reason.

Source
parse_output(output : String, command : String = "") : Array(Finding)

Recognizes Crystal compiler errors, missing shards, shards resolver errors and failing crystal spec examples.

Source
run(args : Array(String)) : Int32
Source
suggest_note(findings : Array(Finding)) : String
Source

Nested types