CI Fix
grok ci-fix is the CLI path for diagnosing and attempting to repair CI failures from a log.
Examples
bash
grok ci-fix --log-file ci.log
cat ci.log | grok ci-fix
grok ci-fix --log-file ci.log --commitWhat It Does
- reads CI output from a file or stdin
- asks Grok Code to diagnose the failure
- can optionally create a commit when you pass
--commit
When To Use It
- a failing CI job is the immediate problem
- you want the CLI to center the task around the log, not around an interactive lane flow