Skip to main content

Module connection

Module connection 

Source
Expand description

Connections (archive/PROJECT.md, Connections; decisions 53 and 174): what the parser records of a @connection function, so the agent can render it for a task by name.

A connection’s values may name secrets; the record holds the names (as in DAG JSON), never a value. Its name is unique in a DAG root.

Structs§

ConnectionDef
A connection as the runner reports it when parsing (file_parsed).
Registry
A root’s connections (decision 174), from its current parse: what the agent renders by name for the root’s tasks.

Enums§

ConnectionType
The built-in connection types (decision 174): each a fixed shape, given to a command as variables and files of its own (M4.7b2).

Constants§

MAX_CONNECTION_SIZE
The most a connection’s recorded values may take, as JSON: they travel with each assignment of a task that opens it, within the worker’s 4 MiB message. A file defining a bigger one fails to import.

Functions§

check_prefix
A connection’s prefix in a command’s connections={"DB": ...} (decision 184): the start of an environment variable’s name, not schedr’s own.