Edits autosave to flow.draft.json and nodes.draft/ instead of the files the engine reads, so the pipeline keeps running the published version until someone publishes. Every save carries the version it was based on: a second client editing the same flow is refused with 409 and offered the choice between their version and its own, rather than silently overwriting. Draft saves no longer rebuild the pipeline; validation and node status for a draft come from a throwaway build that never touches live state. Also fixes a latent bug where an empty state backend is falsy, so Pipeline quietly built itself a second, private state and left message history empty. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
5.3 KiB
This file captures tasks which derive from roadmap tasks (unfinished, deferred), bugs encountered during usage and feature requests/improvements which are not fitting directly in the roadmap. Always sort by priority and put tasks blocked by other tasks/features at the dedicated section. When working on a task, check for other, similar tasks that could be resolved on the way. Use following pattern to classify tasks: TYPE/SCOPE Where TYPE could be BUG, FEAT, PERF, CHORE and SCOPE could be UX, UI, FLOW, NODE, API, INFRA, DOCS appended by MOBILE if only for mobile use case. Don't write temporary reasons for deferring a task in the task description (only strategical reasons should be noted). Deferring because out of scope is fine, but don't mention deferring than.
Open
- BUG/UI: enlarge the icon in the sidebar slightly
- BUG/UI: clicking outside the panel does not discard the flow edit panel
- BUG/UI: the graph showed in the node edit panel should also be shown for a specific edge inside the pop-up panel when clicking the edge
- BUG/UI: the "run" button in the toolbar should be stateful; i.e. when a flow is running (i.e. with nodes that automatically emit data such as triggers), it should be possible to pause the flow and resume it. Also for flows without a trigger, the button should change state to allow interrupting a running node
- BUG/UI: the enlarged panel (for code editing) should still maintain its floating style
- BUG/UI:
SidePanel's mobile branch does not setdata-testidon theSheetContent, so[data-testid=node-panel]does not exist on a phone. Mobile specs cannot address the panel. - CHORE/API: node source saves carry no version precondition, so two clients editing the same node's code are last-writer-wins. The flow document is what the optimistic lock protects; code files would need their own, and an exact-match one produces false conflicts against a single client's own interleaved flow and source saves.
- FEAT/UI: publishing and discarding are only reachable while no side panel is open, since the floating chrome hides for the panel. Editing a node's code and publishing it is therefore close-panel-then-publish.
- FEAT/UI: no way to point a node parameter at a stored secret. The store and the
{"$secret": "name"}reference both work, but the params form only produces literals, so a webhook secret typed there lands inflow.json. - FEAT/UI: flow-level edits (title, inputs) go through
FlowPanel.onChangeand stay outside the undo stack. - CHORE/UI:
make test-backendcannot reach Postgres while the integrated stack is up —compose.local.ymldoesdb: ports: !reset []. Run it against the container's address, or move the suite inside the compose network. - BUG/FLOW: deleting a flow leaves its state in Redis — the value, timestamp, version and
history keys under
pipeline:{flow}.*all survive. Clear the namespace on delete. - CHORE/UI: the Playwright specs run against the development stack and leave their users and
flows behind, which is why the flowbar filled with
test_flow_*. Give them their own data or clean up after themselves, aspytestnow does. - CHORE/UI: the standalone Vite origin (
make dev-frontendon :5173) is still not inBACKEND_CORS_ORIGINS.scripts/setup.shregenerates the list on everymake initandcompose.local.ymlre-declares it as a container variable that wins, so the origin has to be added in both places to work. - CHORE/INFRA:
test-backend.ymlruns pytest on the runner host, so it keeps the fixed container name and port 5432 thatcompose.ci.ymlresets everywhere else. Two concurrent runs of that one job collide. - PERF/UI: (deferred for now) the Monaco chunk is 2.6 MB. It only loads when a node panel opens, but the editor could be trimmed further or swapped for CodeMirror if that becomes a problem.
- CHORE/FLOW:
app/flow/nodes.pyis excluded from strict mypy ([[tool.mypy.overrides]]inpyproject.toml). The node classes still carry prototype typing,croniterships no stubs andinfluxdb_clientdoes not re-export its names. Shrink it as each integration is revisited. - PERF/FLOW: every save rebuilds the whole pipeline. Fine at the current flow count; rebuild only the touched flow when it starts to show.
- FEAT/UI: reintroduce
--chart-*tokens as one designed sequential scale when the first chart lands. The node sparkline draws one series in--primaryand needs none. - PERF/UI: the app's entry chunk is 680 kB (210 kB gzipped) and exceeds the warning threshold. React Flow and Monaco are already lazy; a manualChunks split measured no better, so this needs route-level work on the shell rather than chunking config.
Blocked
- FEAT/UI: a "Bug" icon on the node error bubble opening the console at the full error. The bubble now shows one line and the traceback only reaches the server log; there is no console in the roadmap yet for it to open.
- FEAT/INFRA: MQTT broker and InfluxDB compose services for local development. The node types exist; a local broker would make them testable without external hardware.
- CHORE/INFRA:
bun installinside the frontend Docker build intermittently fails with "Fail extracting tarball" for several packages at once, and succeeds on a plain rebuild. It looks like concurrent extraction under memory pressure. Pin down or retry in the Dockerfile if it starts costing CI time.