nova-ci

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

nova-ci runs the checks this repository's CI path makes on its own output. Its first verb, slowtests, reads the newline-delimited `go test -json` TestEvents on stdin, sums the package-level elapsed time for each package, and refuses (exit 2) every package whose total is over the budget, one line each. It exists because a slow test must surface the moment it happens: nova-secrets sat at 120 seconds unnoticed until an alarm like this one.

Every path and every budget comes from a flag. There are no guessed paths; a budget of zero or less is refused rather than read as unlimited.

nova-ci version: which build made a CI verdict.

A CI-SLOW line is only worth reading if the binary that printed it is the one that was built from the commit under review, and the release assertion holds every shipped tool to reporting its tag. The identity is read from the build itself -- a release's -ldflags "-X main.version=<tag>", then the installed module version, then the vcs stamp, then the honest floor `devel` -- by internal/buildinfo, so all shipped tools answer in the same one line: `<tool> <version> <goos>/<goarch> <go version>`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL