Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(timeline): update test fixtures to use realistic agent names

Steven Enamakel757564cdc62f
diff --git a/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx b/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx
index 5160884a81..b99b53ad05 100644
--- a/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx
+++ b/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx
@@ -257,15 +257,15 @@ describe('ToolTimelineAdapter — subagent rendering', () => {
describe('ToolTimelineAdapter — worker thread ref status propagation', () => {
const WORKER_REF_DETAIL = `summary text\n[worker_thread_ref]\n${JSON.stringify({
thread_id: 't-worker-1',
- label: 'researcher',
- agent_id: 'researcher',
+ label: 'code_executor',
+ agent_id: 'code_executor',
task_id: 'task-42',
})}\n[/worker_thread_ref]`;
function entryWithStatus(status: ToolTimelineEntry['status']): ToolTimelineEntry {
return {
- id: `tid:subagent:task-42:researcher:${status}`,
- name: 'subagent:researcher',
+ id: `tid:subagent:task-42:code_executor:${status}`,
+ name: 'subagent:code_executor',
round: 1,
seq: 0,
status,
diff --git a/app/src/features/conversations/components/__tests__/AgentProcessSourcePanel.test.tsx b/app/src/features/conversations/components/__tests__/AgentProcessSourcePanel.test.tsx
index 677628dde3..60ad08f345 100644
--- a/app/src/features/conversations/components/__tests__/AgentProcessSourcePanel.test.tsx
+++ b/app/src/features/conversations/components/__tests__/AgentProcessSourcePanel.test.tsx
@@ -201,13 +201,13 @@ describe('AgentProcessSourcePanel', () => {
it('scopes to a single step when scopedEntry is set (only that step, with its name as title)', () => {
const scoped: ToolTimelineEntry = {
id: 'sa-scope',
- name: 'subagent:researcher',
+ name: 'subagent:planner',
round: 1,
seq: 0,
status: 'success',
subagent: {
taskId: 'task-9',
- agentId: 'researcher',
+ agentId: 'planner',
toolCalls: [],
transcript: [{ kind: 'thinking', iteration: 1, text: 'scoped thought' }],
},
@@ -226,7 +226,7 @@ describe('AgentProcessSourcePanel', () => {
/>
);
// Header shows the step's label, not the generic title.
- expect(screen.getByText('Researched')).toBeInTheDocument();
+ expect(screen.getByText('Planned next steps')).toBeInTheDocument();
// Only the scoped step's activity renders…
openFirstSubagent();
expect(screen.getByTestId('subagent-activity').textContent).toContain('scoped thought');