Skip to content

JVNAUTOSCI-1203: persist durable turn-execution structure and add instance filters#107

Merged
witbrock merged 2 commits intomainfrom
JVNAUTOSCI-1203-workflow-instance-telemetry-v2
Feb 19, 2026
Merged

JVNAUTOSCI-1203: persist durable turn-execution structure and add instance filters#107
witbrock merged 2 commits intomainfrom
JVNAUTOSCI-1203-workflow-instance-telemetry-v2

Conversation

@witbrock
Copy link
Member

Summary

  • persist canonical per-turn execution telemetry in durable workflow instances:
    • inputs.turn_execution_contract
    • workflow_data.turn_execution_runtime
    • outputs.turn_execution_outcome
  • include explicit step_instances, check_instances, critic_verdict, and completion_state in terminal outcome payloads
  • persist runtime snapshot before terminal transition so exception paths keep actionable telemetry
  • extend workflow_list_instances filters with session_id, request_id, from_utc, and to_utc
  • wire new filters through MCP catalogue schema and manager query path

Tests

  • pdm run pytest tests/backend/test_orchestrator_durable_instance_telemetry.py tests/backend/test_orchestrator_turn_execution_gate.py tests/backend/test_turn_execution_workflow_definitions.py tests/backend/test_orchestrator_workflow_selector_routing.py
  • pdm run pytest tests/backend/test_internal_mcp_workflow_tools.py tests/backend/test_durable_workflow_system.py -k "list_instances or create_instance_for_event"
  • pdm run pyright $(git diff --name-only -- '*.py')

@witbrock witbrock merged commit 4e60512 into main Feb 19, 2026
1 check passed
@witbrock witbrock deleted the JVNAUTOSCI-1203-workflow-instance-telemetry-v2 branch February 19, 2026 20:23
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

Comments