Expand description
Instance output handling for workflow binaries.
Workflows communicate their exit state via output.json file. Environment reads this file to determine the next action (scheduling wake, marking completed, etc.).
The instance run directory is mounted at /data by the OCI runner.
Output path: /data/output.json
Structs§
- Instance
Output - Instance output written to output.json on exit.
Enums§
- Instance
Output Status - Instance output status.
Functions§
- get_
output_ file_ path - Get the output file path for the current instance.
- write_
cancelled - Convenience function to write cancelled output.
- write_
completed - Convenience function to write completed output.
- write_
failed - Convenience function to write failed output.
- write_
sleeping - Convenience function to write sleeping output.
- write_
suspended - Convenience function to write suspended output.