Skip to main content

Crate acts_package_shell

Crate acts_package_shell 

Source

Structs§

ScriptPolicy
The compiled ShellConfig: allow/deny globs, deny first.
ShellConfig
Package-level [shell] configuration: what a workflow’s script may be, and how long it may run.
ShellPackage

Constants§

DEFAULT_MAX_OUTPUT_BYTES
Bytes captured from each stream (stdout and stderr separately) when [shell].max-output-bytes is unset.
DEFAULT_TIMEOUT_MS
Deadline of a shell act when [shell].timeout-ms is unset. A shell act without a deadline holds its scheduler lane for as long as the script runs: a script that waits forever takes an unbounded share of the engine’s job capacity with it.
MAX_OUTPUT_BYTES
Largest [shell].max-output-bytes accepted. The capture is held in memory and becomes the act’s output vars, so it is bounded well below what the machine could hold.
MAX_TIMEOUT_MS
Largest [shell].timeout-ms accepted: the platform’s ceiling on how long one act may hold a lane. A longer wait belongs in a workflow-level timeout or a message act, not in a blocking shell act.