select chooses which unique target URLs to check after source loading and transformation. It reduces requests to the target site. The CLI still loads the source sitemap tree first, and explicit redirect checks always run.
Selection strategies
| Strategy | Behavior | When to use it |
|---|---|---|
all |
Keeps URLs in discovery order. Applies limit if set. |
Use a full pass for small sites, releases, or scheduled sweeps. |
first |
Keeps the first limit URLs in discovery order. |
Use when input order reflects priority, such as a hand-ordered URL file. |
random |
Shuffles with seed and keeps up to limit URLs. |
Use for pull requests where a fixed request budget matters. |
percent |
Shuffles with seed and keeps the specified share, rounded up. Ignores limit. |
Use when the sample should grow as the site grows. |
Properties
strategydefaults to"all".limitis a non-negative integer or"all". Omit it to keep the complete set forall,first, andrandom. A limit above the number discovered uses every available URL.percentis a number from0to100and defaults to100when the strategy ispercent. Fractional values are accepted. For example,10percent of 23 URLs selects three.seeddefaults to"sireg". With identical ordered input and a fixed seed,randomandpercentrepeat the same selection. Changing the seed rotates coverage.
Fixed-size smoke test
{
"select": { "strategy": "random", "limit": 25, "seed": "pull-request" }
}A zero count or percentage skips ordinary page checks. If no redirect expectations are configured and discovery succeeds, the run can pass without probing a page. To guarantee coverage of particular routes, keep them in a separate URL-file suite with full selection.