Skip to content

Block downstream after partial rollback#3441

Open
owenshuo wants to merge 1 commit into
orchestration-agent:mainfrom
owenshuo:block-downstream-after-rollback
Open

Block downstream after partial rollback#3441
owenshuo wants to merge 1 commit into
orchestration-agent:mainfrom
owenshuo:block-downstream-after-rollback

Conversation

@owenshuo
Copy link
Copy Markdown

Summary\n- add optional workflow step compensation callbacks\n- run compensations in reverse order when a step fails\n- mark workflows with partial rollback as rollback_failed and block pending downstream steps\n- persist bounded audit records for compensation and downstream block decisions without result payload data\n- export AgentStatus from src.agent so the normal orchestrator import chain works in tests\n\nFixes #3438\n\n## Validation\n- python3 -m pytest tests/test_workflow_compensation.py tests/test_scheduler.py tests/test_agent_registry.py\n- python3 -m flake8 src/orchestrator/workflow.py src/agent/init.py tests/test_workflow_compensation.py\n- git diff --check

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