Skip to content

cli: inspect recorded tests by job - #62

Draft
varjoranta wants to merge 6 commits into
mainfrom
cli/test-intelligence
Draft

varjoranta wants to merge 6 commits into
mainfrom
cli/test-intelligence

Conversation

@varjoranta

@varjoranta varjoranta commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Inspect a job's recorded tests with avr tests JOB, without capture IDs or
configuration digests. This replaces the unreleased evidence-navigation draft
with the first job-results CLI slice.

  • Derive the repository from the job, or accept --repo. Show names, outcomes,
    recorded timings and available failure messages. avr tests list JOB is an
    equivalent explicit command.
  • Follow short and empty pages; preserve repeated occurrences. Return at most
    100 rows by default, configurable to 1–1,000, across at most 20 result pages.
    Preserve the continuation cursor when more results remain.
  • Keep reporting state, availability and unknown totals distinct. Missing or
    expired reports do not mean zero tests; complete reports do not prove every
    expected test ran. Changed pages or API refusals fail before partial output.
  • Support --output json, standard --json FIELDS and --jq. JSON retains raw
    values and context; readable output escapes terminal controls.

Only Avrea job IDs are supported here. Provider IDs/URLs, immutable result
links and anchored history follow separately. The old draft's capture/digest
navigation is removed; no released command changes. The full blog launch
milestone remains open.

Keep this PR draft until the required API is available in production.
No release or enablement is included; live-account acceptance remains required.

Validation: 1,578 unit tests, formatting/type checks and generated documentation
checks. The navigation regression failed before the rewrite and passed after.
Coverage includes paging bounds, repeated tests, evidence changes, API refusals
and safe terminal output.

@varjoranta
varjoranta marked this pull request as ready for review October 24, 2026 15:55
@varjoranta
varjoranta marked this pull request as draft October 28, 2026 07:41
@varjoranta varjoranta changed the title cli: add read-only test intelligence commands cli: inspect recorded tests by job Oct 28, 2026
Comment thread avrea_cli/commands/tests.py Fixed
The vulnerability scan fails on certifi 2026.4.22 (GHSA-6q48-6c7w-9gw2,
critical). The 2026.10.19 release was published on 2026-10-20, so it clears
the three-day age gate. Lockfile only; the manifest is unchanged.
@varjoranta
varjoranta force-pushed the cli/test-intelligence branch from d9c2484 to 29424cc Compare October 28, 2026 14:22

This branch has not been deployed

No deployments
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