PtcRunner.Kernel.BundleCompiler (PtcRunner v0.14.0)

Copy Markdown View Source

Internal implementation of PtcRunner.Kernel.compile_bundle/1.

It bounds the closed component set, resolves its component-ID dependency DAG deterministically, composes the validated component preludes in a bounded worker, limits diagnostics and artifact size, and seals the resulting bundle.

Summary

Functions

Compiles and attests a bounded closed component set.

Functions

compile(components)

@spec compile([PtcRunner.Kernel.Component.t()]) ::
  {:ok, PtcRunner.Kernel.FrozenBundle.t()} | {:error, map()}

Compiles and attests a bounded closed component set.