Documentation
¶
Overview ¶
Command shuck shucks the husk and keeps the kernel: it returns the exact failing CI step logs for a pull request.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
cache
Package cache persists a PR's last inspection under ~/.shuck so repeat runs can skip redundant log downloads.
|
Package cache persists a PR's last inspection under ~/.shuck so repeat runs can skip redundant log downloads. |
|
cli
Package cli wires shuck's pipeline together: parse args, resolve the PR, read checks from GitHub (using the cache to avoid redundant log downloads), and render the failures.
|
Package cli wires shuck's pipeline together: parse args, resolve the PR, read checks from GitHub (using the cache to avoid redundant log downloads), and render the failures. |
|
gh
Package gh wraps go-github with the narrow set of calls shuck needs: resolving a PR, listing its Actions runs/jobs, downloading a job's logs, and enumerating non-Actions checks.
|
Package gh wraps go-github with the narrow set of calls shuck needs: resolving a PR, listing its Actions runs/jobs, downloading a job's logs, and enumerating non-Actions checks. |
|
logs
Package logs parses GitHub Actions job logs into per-step sections and extracts the high-signal error excerpt from a section's output.
|
Package logs parses GitHub Actions job logs into per-step sections and extracts the high-signal error excerpt from a section's output. |
|
model
Package model holds the domain types shared across shuck's packages: the GitHub data we collect, the failure detail we render, and the shape we persist to the cache.
|
Package model holds the domain types shared across shuck's packages: the GitHub data we collect, the failure detail we render, and the shape we persist to the cache. |
|
render
Package render formats an inspection Report into shuck's high-signal text output.
|
Package render formats an inspection Report into shuck's high-signal text output. |
|
target
Package target resolves which PR shuck should inspect from the command-line arguments and, when needed, the local git repository (via go-git).
|
Package target resolves which PR shuck should inspect from the command-line arguments and, when needed, the local git repository (via go-git). |
Click to show internal directories.
Click to hide internal directories.