Skip to content

Improve member invoke run logs#2302

Merged
AbigailDeng merged 3 commits into
devfrom
feat/2026-06-22_member-invoke-run-logs
Jun 22, 2026
Merged

Improve member invoke run logs#2302
AbigailDeng merged 3 commits into
devfrom
feat/2026-06-22_member-invoke-run-logs

Conversation

@potter-sun

Copy link
Copy Markdown
Collaborator

Problem

The member invoke page showed streaming response chunks as the primary running output, which made it hard to understand which intermediate workflow node produced each message. Runs with many nodes also made the page too tall because node input/output details stayed expanded in the log area.

Closes #2301

Solution

  • Render member invoke runtime events as node-scoped Run logs that align with the workflow draft run log model.
  • Share runtime-event-to-execution-frame extraction between invoke and workflow studio surfaces.
  • Collapse each node input/output row by default and add an arrow affordance through the native details summary.
  • Constrain the Run logs module height with internal scrolling.
  • Keep chronological log order and auto-follow new output while the viewer is already near the bottom.

Impact Paths

  • apps/aevatar-console-web/src/pages/studio/components/StudioMemberCurrentRunPanel.tsx
  • apps/aevatar-console-web/src/pages/studio/components/StudioMemberInvokePanel.test.tsx
  • apps/aevatar-console-web/src/pages/team-member-workflow-studio/hooks/useTeamMemberWorkflowStudio.ts
  • apps/aevatar-console-web/src/shared/studio/runtimeEventFrames.ts

Validation

  • pnpm --dir apps/aevatar-console-web tsc --noEmit
  • pnpm --dir apps/aevatar-console-web test -- --runInBand src/pages/studio/components/StudioMemberInvokePanel.test.tsx
  • pnpm --dir apps/aevatar-console-web test -- --runInBand src/pages/team-member-workflow-studio/index.test.tsx src/shared/studio/execution.test.ts
  • bash tools/ci/test_stability_guards.sh
  • git diff --check

Docs

No docs update. This is a frontend UX refinement for an existing member invoke surface.

@potter-sun potter-sun marked this pull request as ready for review June 22, 2026 06:25
@potter-sun potter-sun requested a review from AbigailDeng as a code owner June 22, 2026 06:25
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.09%. Comparing base (c5b2817) to head (d62d522).

@@            Coverage Diff             @@
##              dev    #2302      +/-   ##
==========================================
- Coverage   84.10%   84.09%   -0.01%     
==========================================
  Files        1182     1182              
  Lines       89560    89560              
  Branches    11698    11698              
==========================================
- Hits        75324    75317       -7     
- Misses       9063     9067       +4     
- Partials     5173     5176       +3     
Flag Coverage Δ
ci 84.09% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AbigailDeng AbigailDeng merged commit 1118c8d into dev Jun 22, 2026
12 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.

Improve member invoke run log readability

2 participants