Files
openswarm/backend
SirKentut 9fee353fda [pierre] swarm: de-lazy WorkflowExportable now that the workflow store is on this branch
The module was written when the workflow store lived only on eric/workflow, so
every store touch went through p_store()/p_model() try/except-returning-None.
Both resolve on this branch (the round-trip test already asserts as much), so
those guards had become dead code that would swallow a genuine ImportError in
storage.py and surface it to the user as "this build doesn't support workflows
yet; please update OpenSwarm".

Imports storage/Workflow at module level, drops the None branches, and rewrites
the stale docstring. The safety contract is unchanged and still covered by
test_workflow_sanitize_disables_schedule_and_strips_pii: an imported workflow
never auto-runs, and the sharer's phone number never rides along.
2026-07-13 14:21:12 -07:00
..
2026-03-13 12:09:25 -07:00
2026-03-13 12:09:25 -07:00