Documentation
¶
Index ¶
- Constants
- func MultiReviewerResponse() string
- func OrgReposResponse(repoNames ...string) string
- func OrgValidationResponse(org string) string
- func RateLimitResponse() string
- func RepoNotFoundError(org, repo string) string
- func ReviewActivityResponse() string
- func ReviewActivityWithBotResponse() string
Constants ¶
const AnalysisResponse = `` /* 392-byte string literal not displayed */
AnalysisResponse is the canned Claude response for the analysis step.
const PromptResponse = `` /* 390-byte string literal not displayed */
PromptResponse is the canned Claude response for the prompt generation step.
Variables ¶
This section is empty.
Functions ¶
func MultiReviewerResponse ¶
func MultiReviewerResponse() string
MultiReviewerResponse returns a response with 2 PRs, 3 human reviewers (alice: 3 comments, bob: 2, charlie: 1) plus dependabot[bot] in both reviews and comments. Supports testing --top N filtering, bot filtering on reviews, totalComments, and CSV ranking order.
func OrgReposResponse ¶
OrgReposResponse returns a single-page repos response.
func OrgValidationResponse ¶
OrgValidationResponse returns a successful org validation response.
func RateLimitResponse ¶
func RateLimitResponse() string
RateLimitResponse returns a healthy rate limit response.
func RepoNotFoundError ¶
RepoNotFoundError returns a GraphQL error response for a repository that cannot be resolved, used to test graceful error handling.
func ReviewActivityResponse ¶
func ReviewActivityResponse() string
ReviewActivityResponse returns a response with one PR containing review comments.
func ReviewActivityWithBotResponse ¶
func ReviewActivityWithBotResponse() string
ReviewActivityWithBotResponse includes a bot reviewer and bot commenter alongside human reviewers, for testing bot filtering.
Types ¶
This section is empty.