Back to home page

EIC code displayed by LXR

 
 

    


Warning, /swf-testbed/workflows/README.md is written in an unsupported language. File is not indexed.

0001 # Workflows
0002 
0003 ## Starting Workflows
0004 
0005 ```bash
0006 testbed run                     # Uses testbed.toml
0007 testbed run fast_processing     # Uses fast_processing_default.toml
0008 ```
0009 
0010 **NEVER** run agents directly with `python` or `nohup`. Use `testbed run`.
0011 
0012 ## Debugging
0013 
0014 Use MCP tools, not log files:
0015 ```
0016 list_logs(instance_name='daq_simulator-agent-user-123')
0017 list_logs(level='ERROR')                                   # Find failures
0018 list_messages(execution_id='stf_datataking-user-0044')
0019 ```
0020 
0021 ## Files
0022 
0023 - `testbed.toml` - Main testbed configuration
0024 - `*_default.toml` - Workflow-specific configs
0025 - `workflow_runner.py` - Persistent agent (started by supervisord)
0026 - `stf_datataking.py` - SimPy workflow definition
0027 - `orchestrator.py` - Starts agents via supervisord, triggers workflows
0028 
0029 ## ActiveMQ Destinations
0030 
0031 Always use explicit prefix:
0032 - `/queue/name` - anycast (one consumer)
0033 - `/topic/name` - multicast (all consumers)
0034 
0035 **NEVER** use bare names like `'epictopic'`.