Test selection

What testing only the packages a change can reach would save, and what made a pull request reach them all.

Test and sanitizer shard minutes, and the share selection would skip

reachedsavedwhy every package ran
#75285/85—dub.sdl flake.lock nix/
#75334/85164(packages only)
#75585/85—nix/
#7510/85252(packages only)
#74485/85—ci/ nix/
#74385/85—.circleci/ .github/ .gitignore ci/ nix/ package.json
#73785/85—.github/ nix/
#73485/85—nix/
#73576/854(packages only)
#73085/85—nix/
#72976/857(packages only)
#72876/856(packages only)
#72785/85—nix/
#7269/85594(packages only)
#72285/85—.github/ ci/ lychee.toml nix/
#72085/85—.github/ flake.lock flake.nix nix/
#71876/856(packages only)
#71985/85—.github/ nix/
#71785/85—dub.sdl
#69085/85—.github/ nix/
#71285/85—lychee.ci.exclude
#71185/85—.github/ nix/
#71085/85—.github/
#70985/85—.editorconfig .github/ ci/ flake.lock flake.nix nix/
#70885/85—.github/ .gitignore dub.sdl flake.nix nix/ package.json yarn.lock
#70785/85—.github/ ci/ flake.lock flake.nix nix/
#70285/85—dub.sdl flake.lock nix/
#70385/85—nix/
#70685/85—flake.lock nix/
#69685/85—flake.lock flake.nix nix/

What made a pull request test everything

PathPull requests
nix/20
.github/11
flake.lock7
ci/5
flake.nix5
dub.sdl4
.gitignore2
package.json2
.circleci/1
.editorconfig1
lychee.ci.exclude1
lychee.toml1
yarn.lock1

Any file outside a package and the docs reaches every package. Many cannot change a test's result (.gitignore, lychee.toml, ci/placements.json): telling them apart is what would make selection pay.

Cost against the size of the change

one point per pull request
runner minutes
#696#706#703#702#707#708#709#710#711#712#690#717#719#718#720#722#726#727#728#729#730#735#734#737#743#744#751#755#753#752
files changed (square-root scale)

Reach follows package ownership and the sparkles: dependencies of the dub.sdl files; each package's share of a run is its share of the latest landing's recorded test time.