Skip to content

feat: enhance error reporting with detailed error locations in checks#36

Merged
constantinius merged 3 commits into
mainfrom
tet-1893-error-context
Feb 10, 2026
Merged

feat: enhance error reporting with detailed error locations in checks#36
constantinius merged 3 commits into
mainfrom
tet-1893-error-context

Conversation

@constantinius

@constantinius constantinius commented Feb 10, 2026

Copy link
Copy Markdown
Collaborator
  • Introduced ErrorLocation interface to capture specific span and attribute details for validation failures.
  • Updated CheckError class to include error locations for better debugging.
  • Enhanced various checks to throw CheckError with detailed location information.
  • Improved output in reporters to display error locations when available, aiding in troubleshooting.
Screenshot 2026-02-10 at 11 08 18

Closes https://linear.app/getsentry/issue/TET-1893/ai-testing-framework-report-context

- Introduced `ErrorLocation` interface to capture specific span and attribute details for validation failures.
- Updated `CheckError` class to include error locations for better debugging.
- Enhanced various checks to throw `CheckError` with detailed location information.
- Improved output in reporters to display error locations when available, aiding in troubleshooting.
@linear

linear Bot commented Feb 10, 2026

Copy link
Copy Markdown

@constantinius constantinius changed the base branch from tet-1662-op-name-description to main February 10, 2026 10:27
@constantinius constantinius merged commit b74dd2a into main Feb 10, 2026
1 check passed
@constantinius constantinius deleted the tet-1893-error-context branch February 10, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants