chore: add structured span elements for AI observability - #1208
Draft
nboyse wants to merge 8 commits into
Draft
Conversation
Contributor
Dependency ReviewThe following issues were found:
OpenSSF Scorecard
Scanned Files
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #1208 +/- ##
==========================================
- Coverage 85.01% 83.76% -1.26%
==========================================
Files 226 179 -47
Lines 10059 4878 -5181
==========================================
- Hits 8552 4086 -4466
+ Misses 1507 792 -715 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Signed-off-by: DBT pre-commit check
Signed-off-by: DBT pre-commit check
nboyse
force-pushed
the
chore/add-proper-span-for-ai-observability
branch
from
July 21, 2026 08:04
b5cbfea to
a6423b1
Compare
Signed-off-by: DBT pre-commit check
Signed-off-by: DBT pre-commit check
Comment on lines
+155
to
+156
| if isinstance(message, dict): | ||
| return _extract_text_from_content_blocks(message.get("content")) |
There was a problem hiding this comment.
🔴 High: Code Quality Violation
too many nesting levels (...read more)
Avoid to nest too many loops together. Having too many loops make your code harder to understand.
Prefer to organize your code in functions and unit of code you can clearly understand.
Learn More
Helpful? 👍/👎
🚩 Report as false positive. Flags the rule for review to improve detection accuracy.
Signed-off-by: DBT pre-commit check
Signed-off-by: DBT pre-commit check
Signed-off-by: DBT pre-commit check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: DBT pre-commit check
Context
What
Have you written unit tests?
Are there any specific instructions on how to test this change?
Relevant links