Expand description
Cell spec path reading (O_NOFOLLOW on Unix) and NATS subject template resolution.
Constants§
- TENANT_
ID_ DEFAULT_ TOKEN - Token substituted for
{tenantId}when a spec has nocorrelation.tenantId.
Functions§
- read_
cell_ spec - Read the cell spec. If
pathis-, reads the entire document from stdin (noO_NOFOLLOW; caller supplies bytes from a sealed pipe or CI artifact). Otherwise reads from a file: on Unix, opens withO_NOFOLLOWon the final path component so a swapped-in symlink cannot be followed. - resolve_
event_ subject - Resolve the NATS event subject for this supervisor run.
- spec_
sha256 - Compute the SHA-256 of raw spec bytes and return the lowercase hex digest.