Skip to content

Log test errors on spans#10

Merged
vito merged 1 commit into
mainfrom
log-errors
May 15, 2026
Merged

Log test errors on spans#10
vito merged 1 commit into
mainfrom
log-errors

Conversation

@vito
Copy link
Copy Markdown
Contributor

@vito vito commented May 14, 2026

Summary

  • keep failed test and session span status descriptions low-cardinality
  • ensure pytest failure details are covered as stderr OTel logs on the test span

Tests

  • uv run pytest
  • uv run ruff check .

Keep failed test span statuses low-cardinality while emitting assertion details
as stderr logs. This preserves failure details in UIs without stuffing dynamic
output into span status descriptions.

Signed-off-by: Alex Suraci <suraci.alex@gmail.com>
Copy link
Copy Markdown

@sipsma sipsma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved per Vito request in Discord.

@vito vito merged commit dd183e9 into main May 15, 2026
1 of 2 checks passed
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.

2 participants