Compare two commits
Hayaku reads the code before and after your change. Deleted files and renamed code stay part of the picture.
Hayaku compares Git commits, identifies tests that may be affected, and explains its recommendations. It runs locally and works with your existing test tools.
One command-line tool. No account or background service needed.
Example workflow · Recommendations help you understand the change.
How it works
See what changed, which tests may be affected, and why Hayaku recommends a particular run.
Hayaku reads the code before and after your change. Deleted files and renamed code stay part of the picture.
See which tests may be affected, the commands to run, and anything Hayaku could not establish. Missing information keeps the full suite or stops planning.
Use shadow mode to check experimental recommendations against a separate full test run. Your original test suite remains required.
Handling uncertainty
Code can read files, call services, or share state that dependency lists do not show. Hayaku makes those gaps visible and keeps your full test run in place.
How Hayaku decides what to runResult reuse · WASI suites and restricted Go/Vitest
A WASI suite runs as WebAssembly with controlled inputs and restricted access to your computer. Hayaku can reuse its verified passing result when the code, inputs, and execution settings match.
A WASI suite is a separate test suite. It does not replace your normal Go, JavaScript, Python, browser, or service tests.
From v0.6.2, hayaku native applies the same rule to Go packages and Vitest files on macOS and Linux ARM64. The supported profile is narrow: plain functions over basic values, with no standard-library imports beyond testing in Go, and number-only functions with three matchers in TypeScript. Most existing projects fall outside it and run in full.
Current support
Here is what Hayaku can inspect today, and what still needs to run.
| Test tool | What Hayaku supports | What runs today |
|---|---|---|
| WASI suites | Controlled execution and verified passing results | Reuse when unchanged |
| Go | Package dependencies and comparisons with a full test run; result reuse for packages inside a narrow pure-code profile | Full suite · narrow reuse |
| Cargo / nextest | Package dependencies, test lists, and result reports | Full test suite |
| Vitest 3 / 4 | Dependencies, test results, full-run comparisons, and observed file reads for supported versions; result reuse for files inside a narrow profile on one fixed toolchain | Full suite · narrow reuse |
| Node / Python | Test lists and results from node:test, unittest, and pytest | Full test suite |
| Jest / Playwright | Test file and project lists, plus completed test results | Full test suite |
| SwiftPM / Xcode | Swift test-target dependencies and completed XCTest package, app, and UI results | Full test suite |
| Other frameworks | Your configured full test command and supported result reports | Full test suite |
Your test tools must already be installed; Hayaku does not download them. v0.6.2 provides macOS and Linux builds; Windows is deferred. Go and Vitest reuse is qualified on ARM64 only. See supported versions and limitations.
Get started
Download Hayaku for your platform and check the file against the release checksum. Then create a configuration, review the test commands, and compare two commits.
Follow the setup guide# Generate and review hayaku.json
hayaku init
hayaku doctor
# Compare two commits already on your computer
hayaku plan --base BASE --candidate HEAD \
--output .git/hayaku-plan.json
hayaku explain --plan .git/hayaku-plan.jsonReplace BASE with the commit to compare against. Planning reads committed code. Inspecting tests can execute project code, so use a repository you trust.