GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — run: the findings summary drops findings when several tests run (only the last failing file per test is listed) · Issue #113 · feuersteiner/agentests

run: the findings summary drops findings when several tests run (only the last failing file per test is listed) #113

New issue
Copy link
New issue
Copy link
Open
Open
run: the findings summary drops findings when several tests run (only the last failing file per test is listed)#113
Copy link

Description

@mlgxiii
mlgxiii
opened on Nov 20, 2026
Issue body actions

What happens

When agentests run runs several tests, the findings summary at the end drops findings: it lists only the last failing file per test. The progress log reports every failure, and the exit code is correct, so CI fails for the right reason, but anyone reading the summary (or parsing it) misses files.

With a single test (agentests run <id>), every failing file is listed.

Reproduction (agentests 1.0.1)

mkdir repro && cd repro && git init -q
npx agentests init   # or copy any working agentests.config.yaml
mkdir -p src && printf 'one\ntwo\n' > src/x.ts && printf 'one\n' > src/y.ts
for t in a b c; do mkdir -p .agents/tests/$t; cat > .agents/tests/$t/test.yaml <<YAML
version: 1
id: $t
title: Test $t
description: Test $t.
select:
  glob: "src/*.ts"
assert:
  - id: no-one
    description: No "one".
    error: Remove one ($t).
    grep: 'one'
YAML
done
npx agentests run

The log shows 6 failures (src/x.ts has failed no-one and src/y.ts has failed no-one, once per test). The summary shows 3:

src/y.ts  a/no-one  Remove one (a).
src/y.ts  b/no-one  Remove one (b).
src/y.ts  c/no-one  Remove one (c).

src/x.ts is missing for every test. Same result on 3 consecutive runs.

With only test a present, the summary is complete:

src/x.ts  a/no-one  Remove one (a).
src/y.ts  a/no-one  Remove one (a).

Expected

One summary line per (file, test, assertion) that failed: 6 lines here.

Also seen

On a real repository with 4 tests (one of which selected 0 files), the log reported 4 failures and the summary listed 2. One of the missing findings was the only failure of its test, so the rule may be more than "last file per test". The minimal repro above is the deterministic case.

Why it matters

The summary is what people read in CI logs and what tools parse (until JSON output exists). A finding that is logged but not summarized is easy to miss, especially when one rule fails in several files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.