Commit Graph

2 Commits

  • Python: Tracing for workflows (#480)
    * workflow tracing design doc
    
    * add tracing implementation for workflow
    
    * fix bug caused by double wrapping of sub workflow request
    
    * add unit tests for tracing
    
    * add documentation for workflow tracing
    
    * remove unnecessary file
    
    * update aspire command
    
    * fix tests
    
    * proper serialization of subworkflows and add workflow.definition
    
    * add serialization test
    
    * fix subworkflow serialization
    
    * workflow_id --> id
    
    * update workflow sample to address comments
    
    * update naming; use costant
    
    * use NoOpTracer instead of nullcontext
    
    * use span event instead of attribtutes for status
    
    * fix typing
    
    * add workflow.build span
    
    * rename methods for clarity
    
    * ensure all source trace contexts are propagated in fan in
  • Python: Move Workflow, Edge, EdgeGroup and Executor to AFBaseModel (#472)
    * Refactor workflow to introduce EdgeRunner for edge execution.
    
    * Fix edge cases
    
    * Convert Workflow, Edge, EdgeGroup, and Executor into AFBaseModel to support object model serialization
    
    * format
    
    * remove accidental file
    
    * fix typing
    
    * Add type information to EdgeGroup and Executor subclasses
    
    * fix format
    
    * Add condition_name field to Edge
    
    * Add new fields
    
    * remove Optional
    
    * Update