Repository navigation
fix: prefer app spans for message trace lookup - #20
Conversation
Local Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Thanks for the focused fix. I found two coverage gaps in the changed behavior that should be addressed before merge.
Addressed Noa review
Local Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Thanks for the follow-up. The store-level tests cover the query-building path now, but the public trace summary response still lacks coverage for the new category keys.
Addressed latest Noa review
Local Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review complete. The requested message lookup and trace summary category response coverage is now present; previous threads have been resolved. I was able to run CGO_ENABLED=0 go test ./internal/store successfully locally, but internal/server still cannot run in this checkout because generated .gen API packages are absent. Approving based on code review.
Summary
ListSpans(filter: { message_id })focused on agent application spans when no more-specific filter is supplied, so message-based trace discovery does not select low-level transport traces first.message,llm,tool) derived from canonical span names or application attributes so UI/E2E summaries can still report non-zero run counts when producers use provider-specific span names.Closes #19
Test & Lint Summary
~/go/bin/buf generate buf.build/agynio/api --path agynio/api/tracing/v1 --path agynio/api/notifications/v1 --path agynio/api/identity/v1 --path agynio/api/ziti_management/v1 --path agynio/api/agents/v1 --path agynio/api/authorization/v1 --path agynio/api/threads/v1go test ./...: 4 packages passed, 0 failed, 0 skipped; remaining packages had no test filesgo build ./...: passed with no errorsgo test ./test/e2e -tags e2e -run TestListSpansOrganizationAndMessageFilters: not part of final pass because it requires a live tracing E2E environment; local attempt reached the service but failed existing fixture auth withPermissionDenied: thread access denied