lifecycle: thread on_step callback through rebuild for accurate queue step labels
This commit is contained in:
parent
4df65deb20
commit
d14df8b9a0
4 changed files with 20 additions and 3 deletions
|
|
@ -559,14 +559,17 @@ async fn run_apply_commit(
|
|||
);
|
||||
}
|
||||
|
||||
coord.set_queue_step(queue_entry_id, "nixos-container update");
|
||||
// Container-level rebuild (or first-time create) against meta#<name>.
|
||||
// Step labels are emitted inside rebuild_no_meta via the callback so
|
||||
// the dashboard reflects actual phase progress rather than a static
|
||||
// "nixos-container update" label for the whole multi-minute window.
|
||||
let build_result = lifecycle::rebuild_no_meta(
|
||||
&approval.agent,
|
||||
agent_dir,
|
||||
applied_dir,
|
||||
claude_dir,
|
||||
notes_dir,
|
||||
&|step| coord.set_queue_step(queue_entry_id, step),
|
||||
)
|
||||
.await;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue