Skip to content

Commit 850f0ff

Browse files
yeldarbyclaude
andauthored
docs(changelog): note the workflow autowrap bugfix in 1.3.7 entry (#467)
PR #460 merged into main after the 1.3.7 version bump (#463) so the in-tree CHANGELOG was missing it. Adds a "Fixed" subsection under the 1.3.7 entry that mirrors what ships in the GitHub Release notes / on PyPI, plus the migration note for already-broken workflows. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1e4cbc0 commit 850f0ff

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,25 @@ those actions are not exposed on the SDK or CLI — they live only in the
8282
Roboflow app's Trash view, which has an explicit confirmation dialog.
8383
Items left in Trash are cleaned up automatically after 30 days.
8484

85+
### Fixed — Workflows created via SDK/CLI now execute successfully
86+
87+
`Workspace.create_workflow()` and `roboflow workflow create --definition`
88+
auto-wrap bare workflow definitions in `{"specification": ...}` before
89+
POSTing to the backend, matching what the web app does
90+
([#460](https://github.com/roboflow/roboflow-python/pull/460)). Previously,
91+
the user-facing flat shape (`{version, inputs, steps, outputs}`) was sent
92+
verbatim, so `POST /infer/workflows/...` against the resulting workflow
93+
returned `HTTP 502` with `MalformedWorkflowResponseError: Workflow
94+
specification not found in Roboflow API response`.
95+
96+
Workflows already wrapped (top-level `specification` key) are passed
97+
through unchanged. Non-workflow dicts and non-JSON strings are also
98+
passed through verbatim so custom payloads aren't second-guessed.
99+
100+
> **Note:** workflows that were stored with the bare shape *before* this
101+
> fix will still 502 until re-saved. Run `roboflow workflow update
102+
> <url> --definition <file>` once per affected workflow to migrate.
103+
85104
### Changed — Image upload no longer re-encodes images
86105

87106
`upload_image` now uploads original image bytes instead of re-encoding to

0 commit comments

Comments
 (0)