Nightlies
This repository runs nightly integration tests for a set of repositories,
and it also publishes a small nightlies CLI for browsing the resulting logs
and reports on nightly.cs.washington.edu.
CLI
The published CLI is meant for one-shot use with uvx:
uvx nightlies setup https://nightly.cs.washington.edu/
uvx nightlies --help
uvx nightlies list
uvx nightlies log main
uvx nightlies status main
uvx nightlies download main
Run these commands from a Git checkout for a nightly-enabled repository; the
CLI infers the repo name from the GitHub remote. If you are somewhere else,
use -C to point the CLI at the checkout:
uvx nightlies -C ~/src/herbie list
uvx nightlies -C ~/src/herbie log main
To install it persistently instead of using uvx:
uv tool install nightlies
Before you can use list, log, status, or download, run
nightlies setup <url>. The setup command prompts for a username and
password, then saves the nightly URL and credentials in an OS-appropriate
data directory so later commands can reuse them.
For non-interactive use, set NIGHTLIES_URL, NIGHTLIES_USERNAME, and
NIGHTLIES_PASSWORD. If any of these variables is set, all three are
required, and they take precedence over the saved client configuration.
Server
The rest of this repository is the nightly test runner and web server. To install the web server, run:
uv tool install 'nightlies[server]'
Usage
Start with a Github project, say $ORG/$PROJ. The nightly runner will:
- Download each branch with new commits
- Run
make nightly
So, to use this nightly runner, you will need to add a make rule
called nightly to your project. It should probably:
- Run your project on all its tests
- Upload the results somewhere
There's also Slack integration, so optionally your nightly run can post its results to your Slack channel.
Features
- Logs: The log directory
log/has per-nightly and per-branch logs - Dedup: A branch's nightly won't be run if no commit has happened since the last run.
- Baselines: The runner can be configured to run a nightly for the
masterbranch if any other branch is being run. - Slack support: The runner can be configured to report each run to a Slack channel, and even to include a custom URL, image, or data.
Installing
Clone the repository somewhere and create a file named
nightlies.conf. It should be formatted like this:
[pavpanchekha/nightly-test]
slack = uw/herbie
master = main
Each heading corresponds to one repository to test. Under each heading are key-value pairs in INI format. The supported configuration options are:
url: the URL of the git repository. This overrides the section name and thegithubkey.github: the Github repository name, inuser/repoformat. This overrides the section name.master: change default branch, for example tomain.slack: post after nightly runs; it's a Slack and channel name. The Slack is defined in the secrets file, the channel must be public.baseline: a branch to always run if any others are being runrun: When to run a branch. One ofbaseline,always, orcommit
Once things are configured, run:
sudo systemctl link nightlies.service
sudo systemctl link nightlies.timer
sudo systemctl enable nightlies.timer
That will run the nightly daemon every night.
Slack secrets are stored separately. For a slack = uw/herbie entry,
ensure the secrets file has a matching section like:
[uw]
token = xoxb-...
Releasing The CLI
The PyPI package is also named nightlies, so users can run it directly with
uvx nightlies.
Build artifacts locally with:
uv build --no-sources
Publishing is handled by GitHub Actions via PyPI Trusted Publishing. Configure
PyPI to trust .github/workflows/publish.yml, then publish a GitHub release to
upload the new version to PyPI.
Release files for nightlies 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nightlies-0.1.2.tar.gz | 65.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nightlies-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.3 kB
Release files / nightlies-0.1.2.tar.gz
| Download URL | nightlies-0.1.2.tar.gz |
|---|---|
| Size | 65.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c25a95c63d02d6f2dd6777adf8eeaded1a5fc6c7c6419b63f58f694c4cedcf32
|
|
BLAKE2b-256 checksum How to use checksums |
5397beee3ba0f0e614ecddeac697847f7bba1f4c959745ab899b36248d9557cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency logRelease files / nightlies-0.1.2-py3-none-any.whl
| Download URL | nightlies-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd33c3db4207ec9f0a5b93c2c223752f214cb421de9ca3160e20a1b6f43fa2f4
|
|
BLAKE2b-256 checksum How to use checksums |
7e255e429946913e343ae92afda347f60f0dad87c7000db3e44e8001163bb9c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency log