Skip to content

A failing gate with no recognised summary is reported as "NO VERDICT FOUND ... may be unrelated", and its own output is left out of failure_excerpt #3603

Done

Description

@clabonte

Reproduce

Give a gate a feature_oracle script that prints lines such as RED: <file> lacks: <text> and exits 1 when its checks fail, with no summary line in a format the driver recognises. Run a work unit whose changes leave the oracle red.

The attempt is recorded as failed with this failure_excerpt:

NO VERDICT FOUND: the gate command produced no recognisable pass/fail summary anywhere in its output — the lines above are the tail only, and may be unrelated to the failure. Run the command directly.
### feature_oracle: FAIL

while failure_signature carries the oracle's own first RED: line.

What happens

The excerpt suggests the failure may be unrelated to the oracle and tells the operator to run the command by hand. The oracle's own output (which check was red) is missing from the excerpt: the excerpt keeps only lines matching FAIL/Error/Exception/Traceback, and RED: lines match none of them, while the no-verdict note itself does (it contains "pass/fail").

Expected

When the gate command exits non-zero, report that exit code and the last lines of the command's own output as the failure reason. Reserve the "no verdict" wording for a command that exited zero without a recognisable summary. Pass/fail decisions, failure_class and failure_signature stay as they are.

Activity

  1. added
    bug
    on Nov 25, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions