Brad Stein 92fae0a1c4 ci: reuse the agent and shallow-clone so the gate is not all overhead
The tests run in 0.62 seconds; the build took 191. Agent scheduling and image
pull were ~54s, a full clone of a five-commit repo ~25s, and pip install
pytest ~55s. None of that is the thing being demonstrated.

A fixed label plus idleMinutes keeps the pod alive between builds. The default
inline template mints a random POD_LABEL per build, so a fresh pod was
guaranteed every time and the pip cache in the workspace volume was always
cold. With reuse, a second run skips scheduling, skips the image pull, and
finds pytest already cached.

The first run after an idle period still pays full price, so a throwaway run
before a demo is worth doing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 04:29:04 -03:00

hermes-code-demo

Deterministic source-defect fixture for the Hermes automated triage demo.

src/discount.py holds one small pricing helper covered by tests/test_discount.py. The demo introduces a one-line defect on a branch, Jenkins fails the test gate, Ariadne collects the evidence, and Hermes proposes a minimal patch that Ariadne validates and pushes as a pull request for human review. Nothing merges automatically.

Description
Deterministic code-defect fixture for the Hermes automated triage demo
Readme 41 KiB
Languages
Python 100%