Skip to content

FR-26617: harden the venv AI agent suite - #119

Open
yaronblum-frontegg wants to merge 1 commit into
masterfrom
FR-26617-suite-hardening
Open

FR-26617: harden the venv AI agent suite#119
yaronblum-frontegg wants to merge 1 commit into
masterfrom
FR-26617-suite-hardening

Conversation

@yaronblum-frontegg

Copy link
Copy Markdown
Contributor

Follow-up to #118 (merged), applying the adversarial-review findings to the suite:

  • --reporter=list pinned on the size guard. The Total: N tests line it greps is only printed by the list-mode reporter; today it appears because the config's CI reporter set happens to include dot. Reorder those reporters and the guard would go permanently red. Also adds set -o pipefail.
  • Secrets contract trimmed to GH_REPOSITORY_ADMIN_TOKEN — the only secret this workflow references itself (venv removal). All callers use secrets: inherit, and the 11 other declarations would hard-fail any caller missing one while documenting names that don't even match the downstream workflow.
  • Two shards for six specs instead of three container cold-starts for two tests each.

Not changed, deliberately: continue_on_test_failure stays as a command-level || warning because GitHub does not allow continue-on-error on a job with uses:; and remove-venv still keeps the venv on failure for debugging (note the lease reaper house-cleaner.yaml in frontegg/venv is currently commented out, so leaked venvs persist until someone runs remove-all-venvs — worth re-enabling).

🤖 Generated with Claude Code

Pins --reporter=list so the Total line the size guard greps is not an
accident of reporter order, fails on pipe errors, trims the secrets contract
to the one secret this workflow references (callers inherit the rest), and
runs six specs in two shards instead of three.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant