Skip to content

fix(suites): show correct type and name for conversation entries - #7

Merged
zvonimirfras merged 2 commits into
IBM:mainfrom
zvonimirfras:fix/suite-entries-conversation-id-display
Aug 13, 2026
Merged

fix(suites): show correct type and name for conversation entries#7
zvonimirfras merged 2 commits into
IBM:mainfrom
zvonimirfras:fix/suite-entries-conversation-id-display

Conversation

@zvonimirfras

Copy link
Copy Markdown
Member

Fixes #6

Problem

Suite entries linked via conversation_id showed as type Suite and name Unknown Entry in the test suite detail page because the frontend only handled test_id and child_suite_id entries.

Changes

useTestSuiteDetailData.ts

  • Fetch all conversations in the Promise.all alongside agents/tests/entries
  • Expose allConversations from the hook

page.tsx

  • getEntryName: add conversation_id branch that looks up the conversation name in allConversations
  • Type cell: conversation_id entries now render as Conversation instead of falling through to Suite

Notes

  • The fix is purely cosmetic — suite execution already worked correctly
  • Both files changed independently, hence two atomic commits

Add allConversations state and fetch it in the Promise.all alongside
agents, tests, and suite entries. Expose allConversations from the hook
so the suite detail page can resolve conversation names for entries.

Fixes IBM#6

Signed-off-by: Zvonimir Fras <zvonimir@zvonimirfras.com>
@zvonimirfras
zvonimirfras force-pushed the fix/suite-entries-conversation-id-display branch from a8598b1 to 7bbf025 Compare August 13, 2026 11:50
Suite entries linked via conversation_id were displayed as type 'Suite'
and name 'Unknown Entry' because getEntryName and the Type cell only
handled test_id and child_suite_id.

- Add conversation_id branch to getEntryName that looks up the
  conversation in allConversations
- Fix Type cell: conversation entries now render as 'Conversation'
  instead of falling through to 'Suite'

Fixes IBM#6

Signed-off-by: Zvonimir Fras <zvonimir@zvonimirfras.com>
@zvonimirfras
zvonimirfras force-pushed the fix/suite-entries-conversation-id-display branch from 7bbf025 to 1ab902c Compare August 13, 2026 14:45
@zvonimirfras
zvonimirfras merged commit bf4273e into IBM:main Aug 13, 2026
4 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.

Suite entries with conversation_id show as 'Unknown Entry' / type 'Suite' in UI

1 participant