Skip to main content

Module entire

Module entire 

Source
Expand description

Entire (entire.io) on top of a PR: its “Entire Gates” check, and the review findings on the PR’s trail.

Entire sits beside the forge, not inside it. The gates are read from the check run’s summary with the forge’s own token; the findings, and how far behind the branch is, come from the entire CLI. That CLI is used only when it is on PATH and logged in (entire auth status); otherwise commands carry on without it and say why only in --json. Every call has a timeout, and a read is made once per process however many PRs or commands ask for it, so one command never asks twice about the same head.

The CLI’s help is the reference for what is called here: entire agent-help trail and entire agent-help trail finding. Credentials never pass through jouet: it runs entire, which reads its own.

Re-exports§

pub use findings::Brief;
pub use findings::Finding;
pub use findings::Trail;
pub use gates::CHECK;
pub use gates::Gate;
pub use gates::Gates;

Modules§

findings
Review findings on an Entire trail, as entire trail finding --json lists them, and the trail itself as entire trail show --json does.
gates
The “Entire Gates” check: one check run that passes only when every blocking gate on the PR’s trail does. Its summary lists each gate on a line of its own, readable with the forge’s token alone:

Structs§

Availability
Whether Entire could be asked, for --json: {available: true}, or {available: false, reason}.
Entire
The entire CLI, found and logged in.
Findings
Findings read from a trail, and whether that is all of them.

Enums§

Change
What to do with a finding.

Functions§

change_args
The arguments of entire trail finding resolve|dismiss|reopen.
configure
Whether jouet may run entire at all, and how long one call may take: jouet’s [entire] enabled and timeout_ms settings (JOUET_ENTIRE, JOUET_ENTIRE_TIMEOUT_MS). Set once, before anything probes.
selector
Entire’s selector for a repository: gh/OWNER/NAME on GitHub, et/OWNER/NAME on Entire’s own forge (which takes no clone URL), else its clone URL, which Entire takes for other forges.