What problem does it solve?
Running a CockroachDB roachtest involves error-prone decisions: choosing local vs. remote execution, launching on a GCE worker so the run survives a closed laptop, and getting notified when a long test finishes. This Skill automates that entire workflow correctly.
Core Features & Use Cases
- Local vs. remote decisioning: Inspects the test source for Linux-only mechanics, heavy cluster specs, or local-mode bypasses to pick the right execution target.
- Detached remote execution: Launches
roachstress.sh inside a detached tmux session on the user's GCE worker via roachdev worker ssh, with unique session, log, and signal names to avoid collisions with concurrent runs.
- Long-poll completion notification and live tail: Uses
tmux wait-for semaphores and background tail -F tasks so the user gets one notification at the end and can peek at live progress anytime.
- Use Case: You just modified a roachtest under
pkg/cmd/roachtest/tests/ and want to run it on your GCE worker; the Skill pushes your branch, syncs the worker checkout, launches the test detached, and reports pass/fail with artifact paths when done.
Quick Start
Run the acceptance/build-info roachtest on my GCE worker and notify me when it finishes.