Skip to content

Create Visual Workflow Debugger for Failed Tasks#626

Open
Godfrey-Delight wants to merge 1 commit into
SoroLabs:mainfrom
Godfrey-Delight:feat/visual-workflow-debugger
Open

Create Visual Workflow Debugger for Failed Tasks#626
Godfrey-Delight wants to merge 1 commit into
SoroLabs:mainfrom
Godfrey-Delight:feat/visual-workflow-debugger

Conversation

@Godfrey-Delight

@Godfrey-Delight Godfrey-Delight commented Jun 26, 2026

Copy link
Copy Markdown

Summary

Built a cross-layer debugging interface that instruments every gate and operation in the execution pipeline with step-level tracing. The Soroban contract now emits 15 distinct ExecutionStep events (Passed/Failed/Skipped) during execute_internal(), persists the full trace on-chain via ExecutionTrace storage, and exposes a get_execution_trace() query. The keeper captures trace data after successful execution and propagates it through the result pipeline. The frontend renders a color-coded timeline (ExecutionTraceViewer) that highlights exactly which condition failed, with error detail expansion and a failure summary banner.

Related Issue

Closed #422

Type of Change

  • Feature
  • Bug fix
  • Refactor
  • Documentation

Changes Made

Added 15-step execution trace pipeline with on-chain storage, event emission per gate, and get_execution_trace() query. 140 tests pass.

Keeper captures trace after execution; frontend renders a color-coded ExecutionTraceViewer timeline highlighting the exact failed condition.

Validation

  • cargo fmt --all (if contract changed)
  • npm run lint in frontend (if frontend changed)
  • Manual verification completed

Screenshots (if UI changes)

Checklist

  • Scope is focused and avoids unrelated changes
  • Commit messages are clear
  • Documentation updated when needed
  • ETA was provided when requesting assignment for the linked issue

Built a cross-layer debugging interface that instruments every gate and operation in the execution pipeline with step-level tracing. The Soroban contract now emits 15 distinct ExecutionStep events (Passed/Failed/Skipped) during execute_internal(), persists the full trace on-chain via ExecutionTrace storage, and exposes a get_execution_trace() query. The keeper captures trace data after successful execution and propagates it through the result pipeline. The frontend renders a color-coded timeline (ExecutionTraceViewer) that highlights exactly which condition failed, with error detail expansion and a failure summary banner.
Closed SoroLabs#422
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

@Godfrey-Delight Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[Frontend] Create Visual Workflow Debugger for Failed Tasks

1 participant