pin the declared closure once per rebuild and seed the marker from the running closure
This commit is contained in:
parent
47c2acb640
commit
4356f3840c
2 changed files with 456 additions and 95 deletions
|
|
@ -2,8 +2,8 @@
|
|||
//! `agent-archetype` (`swarm_queue_client::agent_archetype`), which this
|
||||
//! daemon alone writes. `POST /api/agents` checks the choice against the
|
||||
//! `agent-archetypes` record and stores it before it queues the creation; a
|
||||
//! destroy deletes it. The hive reads it to build the agent from the
|
||||
//! archetype's module, with no config repo.
|
||||
//! destroy deletes it. The hive reads it to know the agent has no
|
||||
//! config repo; the swarm builds the agent from the archetype's module.
|
||||
|
||||
use problem_details::ProblemDetails;
|
||||
use swarm_queue_client::agent_archetype::{self, ArchetypeRef};
|
||||
|
|
|
|||
|
|
@ -850,7 +850,7 @@ mod tests {
|
|||
);
|
||||
assert!(
|
||||
reads.contains(&("internal/meta".to_owned(), None)),
|
||||
"the meta repo is read on its default branch, as hive-c0re reads it"
|
||||
"the meta repo is read on its default branch"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue