Skip to content

feat(validator): add a one-line installer for sendspin-validate - #171

Merged
chrisuthe merged 2 commits into
mainfrom
chrisuthe/task/land-the-sendspin-validate-installer-supersede
Nov 20, 2026
Merged

chrisuthe merged 2 commits into
mainfrom
chrisuthe/task/land-the-sendspin-validate-installer-supersede

Conversation

@chrisuthe

Copy link
Copy Markdown
Member

Supersedes #168, rebuilt on today's main after #170 slimmed the README.

Installing sendspin-validate now takes one command on Linux or macOS:

curl -LsSf https://raw.githubusercontent.com/Sendspin/conformance/main/scripts/install-sendspin-validate.sh | sh
  • scripts/install-sendspin-validate.sh installs uv if it is missing, then runs uv tool install for the validator, which puts sendspin-validate on PATH. uv fetches Python. The source comes from GitHub's tarball rather than git+https, so a Mac without the Xcode command-line tools can install it. Running it again updates; SENDSPIN_VALIDATE_REF installs a branch, tag or commit.
  • uvx and uv tool install ignore uv.lock, so dependencies used to float. scripts/sendspin-validate-constraints.txt is a uv export of the lock, passed as --constraints, and a test fails when it drifts from uv.lock. It still matches the current lock.
  • publish.yml ignores both new files, as it does the other validator-only paths.
  • The README's "Validate your client app" leads with the one-liner, then gives uvx for anyone who already has uv. The detail lives in AGENTS.md: "Client validator" covers pinning, updating, SENDSPIN_VALIDATE_REF and the tarball source, and the publish.yml paragraph, "Scripts" and the uv lock note pick up the new files.

The installer was tested end to end on #168, in a clean fedora:latest container with no uv, git or suitable Python, and on a host that already had uv. Not run on macOS.

#168's one failing check was publish.yml's "Detect test regressions", caused by a sendspin-rs-client build failure in the matrix. That job only ran because the PR touches publish.yml, and the installer did not cause the failure.

@chrisuthe
chrisuthe marked this pull request as ready for review November 20, 2026 19:23
@chrisuthe
chrisuthe merged commit e8cb0ed into main Nov 20, 2026
2 checks passed
@chrisuthe
chrisuthe deleted the chrisuthe/task/land-the-sendspin-validate-installer-supersede branch November 20, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant