3 Commits

Author SHA1 Message Date
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
Brad Stein
a7f7e2deaa ci: give pip a writable HOME on the agent 2026-08-05 19:22:26 -03:00
Brad Stein
ca1ac6bfd4 feat: pricing helper with regression tests 2026-08-05 19:03:04 -03:00