Skip to content

feat(workflow): business failure outcome, stats refresh, node panel UX#128

Merged
duguwanglong merged 1 commit intomainfrom
feat/workflow-business-failure-and-stats-refresh
Apr 15, 2026
Merged

feat(workflow): business failure outcome, stats refresh, node panel UX#128
duguwanglong merged 1 commit intomainfrom
feat/workflow-business-failure-and-stats-refresh

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

Summary

  • API: When the runner reports success but outputs include workflow_success: false, persist the run as error and surface a user-facing message from outputs (reason, error_message, etc.).
  • Tests: Route tests for business failure vs success stats; isolate fs_store workflow root resolution in tests.
  • Web UI: Expanded code editor with line numbers and scroll sync; runtime section order for code nodes; after a workflow run finishes, silently reload workflow to refresh stats without clearing the current execution view.

Testing

  • Python: uv run pytest tests/server/routes/test_remaining_routes.py -q (recommended)
  • Web: existing Vitest for NodeInfoPanel

Made with Cursor

- Map runner success with workflow_success=false to error and surface output reason
- Test business failure, success stats, and isolate fs_store workflow roots in routes tests
- Add line numbers to expanded code editor; move runtime section for code nodes
- Reload workflow silently after run settles to refresh stats without dropping execution view

Made-with: Cursor
@duguwanglong duguwanglong merged commit 149c9f1 into main Apr 15, 2026
2 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.

2 participants