You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add unit test coverage for WorkflowToPythonService #9662
Add workflow-to-python.service.spec.ts for WorkflowToPythonService. It has no spec. Its only caller, the workspace menu, mocks it in menu.component.spec.ts, so the request it sends is not pinned anywhere.
Behavior to pin
Scenario
Contract
convertToPython(plan)
one POST {api}/workflow-to-python with Content-Type: application/json
request body
the plan's operators and links, with opsToReuseResult: [] and opsToViewResult: []; no other fields of the plan are sent
empty plan
still posts, with empty operators / links
success response
type, pythonCode, helpersModule, renamedSources reach the subscriber as returned
failure response
a { type: "failure", errorMessage } body is passed through, not thrown
HTTP error
reaches the subscriber's error callback
Scope
New spec: frontend/src/app/dashboard/service/user/workflow-to-python/workflow-to-python.service.spec.ts.
It looks like the issue description doesn't quite follow our template yet:
This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
Activity
github-actions commentedon Nov 24, 2026
👋 Thanks for opening this issue, @anishshiva7!
It looks like the issue description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
anishshiva7 commentedon Nov 24, 2026
/take