move the meta flake render into the hive-meta-flake crate
hive-c0re's render_flake and the pieces it needs (AgentSpec, AgentPin, pinned_git_url, the forwarded-var tables, canonical_inputs_in_lock) move into a new crate with no IO. The forwarded values and the GitHub switch are now arguments; hive-c0re passes what it read from its own unit env, as before. Nothing changes on deploy: the rendered flake is byte-for-byte the same, and hive-c0re's render tests pass unchanged. Refs #4857
This commit is contained in:
parent
de323a72dd
commit
ba97c64dda
13 changed files with 457 additions and 392 deletions
|
|
@ -367,7 +367,7 @@ fn read_active_model(name: &hive_types::Ident) -> Option<String> {
|
|||
/// The agent-side
|
||||
/// `hive-agent::identity::{hive_name, swarm_name}` accessors read the
|
||||
/// same env vars after they're forwarded into each sub-agent's
|
||||
/// harness service environment by `meta::render_flake`; surfacing
|
||||
/// harness service environment by `hive_meta_flake::render_flake`; surfacing
|
||||
/// them here from c0re's own env keeps the manager + agent
|
||||
/// `GetAgentMeta` paths consistent without a round-trip to the
|
||||
/// target container.
|
||||
|
|
|
|||
Loading…
Reference in a new issue