symfonic.services.switching.static_source¶
static_source ¶
DMC-3 — the hermetic in-process static-generation backend (library mode).
This is also the reference implementation of BindingSource (CON-S-4). It
performs no I/O, opens no socket, and reads no environment variable: the only
inputs are the release profile compiled into the package and the override the
adopter passed explicitly to the constructor. That is what "hermetic" has to
mean for a library that gets embedded in someone else's process.
StaticBindingSource ¶
StaticBindingSource(profile: ReleaseProfile, *, overrides: Mapping[str, GenerationVector] | None = None)
Resolve bindings from the release's static vector plus local overrides.
Source code in src/symfonic/services/switching/static_source.py
describe ¶
The startup log line: vector hash and where it came from, never keys.
Source code in src/symfonic/services/switching/static_source.py
resolve_epoch
async
¶
A library release has exactly one epoch: the one it compiled in.