Skip to main content

Module github

Module github 

Source
Expand description

GitHub status, review, and pull-request shipping operations. GitHub integration through the user’s authenticated gh CLI.

Read-only status remains cheap and cached for the TUI. Review and ship operations are explicit, bounded subprocess calls used by the command palette, task loop, and private cockpit; no shell is involved.

Structs§

GitHubCheck
One status-check entry associated with a pull request.
GitHubProbeCache
GitHubPullRequest
Pull request summary returned by gh pr view.
GitHubRepository
Parsed GitHub repository owner/name and canonical web URL.
GitHubReview
Bounded GitHub review projection for a repository branch.
GitHubReviewCache
GitHubShipRequest
Explicit caller inputs for creating a pull request.
GitHubShipResult
Result of a successful pull-request creation.
GitHubStatus
Cached repository and gh availability status.

Enums§

GitHubAvailability
Availability of the repository remote and authenticated gh CLI.

Functions§

parse_github_remote
Parse a GitHub HTTPS or SCP-style remote into repository metadata.
review
Fetch authenticated pull-request and check status through bounded gh subprocess calls. Normal workflow states are returned as data rather than transport errors.
ship
Create a pull request from the current branch after explicit caller confirmation. Arguments are passed directly to gh; no shell is used.