⚙️ FEATURE-#239: Implement Server provider for remote API communication#240
Merged
FernandoCelmer merged 24 commits intodevelopfrom Apr 11, 2026
Merged
⚙️ FEATURE-#239: Implement Server provider for remote API communication#240FernandoCelmer merged 24 commits intodevelopfrom
FernandoCelmer merged 24 commits intodevelopfrom
Conversation
…t workflow_id in update_task
…ted error field, fix typos)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
dotflow/abc/server.py— NewServerABC withcreate_workflow,update_workflow,create_task,update_taskdotflow/providers/server_default.py—ServerDefaultHTTP client for dotflow-apidotflow/core/config.py— Integratedserverparam, removedapidotflow/core/dotflow.py— Hookserver.create_workflowon initdotflow/core/task.py— Hookserver.create_taskon init,server.update_taskon status change (non-blocking for intermediate, synchronous for final)dotflow/core/engine.py— Setstarted_at/finished_attimestampsdotflow/core/workflow.py— Hookserver.update_workflowon start (In progress) and finish (Completed/Failed)dotflow/core/types/workflow.py— AddedFAILEDstatus toWorkflowStatusdotflow/core/serializers/task.py— Refactored: remove double-parse, addcomputed_fielderror, add datetime fields, fix type hintsdotflow/core/serializers/workflow.py— Simplified (removed custommodel_dump_json)dotflow/core/serializers/transport.py— Fixed typoresourcec→set_resourcedotflow/providers/__init__.py— ExportServerDefaultdotflow/abc/api.py— Removed (deprecated)dotflow/providers/api_default.py— Removed (deprecated)tests/providers/test_server_default.py— Tests for ServerDefaulttests/core/test_config.py— Updated for server providertests/core/test_task.py— Updated for datetime fieldstests/core/test_task_build.py— Updated for datetime fieldsdocs_src/server/— 3 usage examplesREADME.md— Server provider documentationMotivation and Context
The dotflow lib needed a proper provider to send real-time execution data (workflow status, task status, errors, duration, context) to a remote server like dotflow-api. The existing
Api/ApiDefaultwas incomplete (most methods were no-ops).Closes #239
Types of changes
Checklist