Skip to content

⚙️ FEATURE-#269: Managed DotFlow with name, idempotent start, and CLI cleanup#272

Merged
FernandoCelmer merged 17 commits intodevelopfrom
feature/269
Apr 15, 2026
Merged

⚙️ FEATURE-#269: Managed DotFlow with name, idempotent start, and CLI cleanup#272
FernandoCelmer merged 17 commits intodevelopfrom
feature/269

Conversation

@FernandoCelmer
Copy link
Copy Markdown
Member

Summary

Follow-up to merged PR #271. Tightens the managed/cloud integration pieces around dotflow login.

  • DotFlow gains name (defaults to socket.gethostname()) and an idempotent .start() that swallows duplicate calls when the task queue is unchanged.
  • SerializerWorkflow / SerializerTask now expose id/name as @computed_field mirrors of the internal workflow_id/task_id/workflow_name — API compatibility without duplicating storage.
  • ServerDefault reads from ~/.dotflow/config.json (env wins) and uses the new /cli/workflows/* endpoints.
  • dotflow login dropped --token and --base-url flags (credentials on argv is a security footgun).
  • Stray breakpoint() removed from dotflow start --workflow path.
  • hostname() helper moved into dotflow.utils.
  • New how-to docs for dotflow login / dotflow logout; ServerDefault page updated.
  • Test coverage: test_serializer_workflow.py, idempotent start scenarios, flag-less login assertions.

Test plan

  • poetry run pytest tests/
  • poetry run ruff check + ruff format --check
  • Manual: dotflow login stores config, dotflow start --workflow x:main runs tasks once

@FernandoCelmer FernandoCelmer merged commit e9efa53 into develop Apr 15, 2026
10 checks passed
@FernandoCelmer FernandoCelmer deleted the feature/269 branch April 15, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant