What do I need before testing a pull request?
A repository owner or administrator with the right permissions must connect the GitHub repository to Cue April. In Settings → Integrations, enable Test every commit and approve a standing test plan for the branch the pull request targets. The project also needs funding, available testing capacity and an agent key with permission to start an assessment.
Jump to a section
Connect the coding agent you use for this repository
Use the Claude Code command if that is where you edit and push the branch. Use the Codex command if you review the pull request in Codex. Run just your chosen command in a terminal with Node.js 20 or later and npm installed.
npx -y cueapril@latest init --agents claudenpx -y cueapril@latest init --agents codexSetup reuses an existing agent key or opens an approval link for your organisation administrator. Keep the key in your secret manager and use the browser for approval. Reload your agent’s connections or restart it. If you use Python 3.10 or later with uv and Node.js 20 or later, the installation guide also gives the PyPI command.
Check the connection and the project’s readiness
The first command checks authentication and the coding agent’s configuration. The second checks whether the project can accept work. Both are read-only. If the key covers several projects, add the project ID with the --project option to the setup command.
npx -y cueapril@latest doctor --json
npx -y cueapril@latest setup --jsonA connected agent can still have a blocked project. For example, a plan approved for main may leave a pull request targeting a release branch uncovered. Follow the named blocker to its owner. An organisation administrator handles plan approval or funding. Once it is resolved, run the readiness check again.
Request the approved tests on one pull request
Give the agent the full GitHub pull request URL and the behaviour the reviewer cares about. Replace the placeholder with your own URL. When Test every commit has already started an assessment for the same head commit, Cue April returns that assessment.
Use Cue April to test <PR URL> under our approved plan.
The reviewer wants to know whether the export respects the selected date range.
Return the tested commit, assessment ID and any checks still incomplete.If the start returns blocked, it gives the reason and no assessment has started. A failed assessment means a check ran and produced a failure. If the agent stops waiting while the work is still running, ask for the status using the same assessment ID.
Read the results against the commit you are reviewing
Open the pull request’s latest commit in GitHub and copy its full SHA, the identifier for that revision. Match it to the tested head in the Cue April check from the cue-april GitHub App or the comment authored by cue-april[bot]. A push changes the head. Look up the assessment for that new commit before using its result to review the change.
Find the existing Cue April assessment for commit <full SHA> on <PR URL>.
Show me the expected and observed values for each failure, its evidence link
and which planned checks were incomplete. Keep this request read-only.Read the coverage alongside the failures. A reviewer can ask which checks ran, open the evidence with project access and decide whether a suggested fix addresses the requirement. Assessment results and outcome definitions.