Skip to content

fix: show step-level failure details in Addie test output - #1378

Merged
bokelley merged 3 commits into
mainfrom
bokelley/debug-daedalus-tests
Mar 10, 2026
Merged

bokelley merged 3 commits into
mainfrom
bokelley/debug-daedalus-tests

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • When test_adcp_agent runs the full test suite and scenarios fail, Addie was only showing a one-line summary per scenario (via formatSuiteResults). Users couldn't see which step failed or what the error was, forcing blind debugging loops.
  • Now appends formatTestResults for each failing scenario, showing step names, error messages, and response previews.

Prompted by feedback from the Daedalus team who were stuck at 9/14 passing scenarios but couldn't see what the 5 failures actually asserted.

Test plan

  • All 323 existing tests pass
  • Typecheck passes
  • Manually test via Addie: run test_adcp_agent against an agent with known failures and verify step-level details appear in the output

🤖 Generated with Claude Code

When test_adcp_agent runs the full test suite and scenarios fail,
Addie was only showing a one-line summary per scenario (from
formatSuiteResults). Users couldn't see which specific step failed
or what the error message was, forcing them into blind debugging loops.

Now includes formatTestResults output for each failing scenario,
which shows step names, error messages, and response previews.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
bokelley and others added 2 commits March 10, 2026 23:00
Picks up fixes for:
- #306: TaskExecutor now detects plural `errors` array (AdCP schema format)
- #305: formatSuiteResults now includes step-level failure details

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adcp/client 4.6.0 formatSuiteResults now includes step-level failure
details natively, so the Addie-side formatTestResults addition is no
longer needed.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@bokelley
bokelley merged commit abe1949 into main Mar 10, 2026
6 checks passed
@bokelley
bokelley deleted the bokelley/debug-daedalus-tests branch March 10, 2026 23:14
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