Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ versioning for public release policy decisions.
## [Unreleased]

<!-- core-ops-release:start -->
### Changed

- Unify init'd and stateless apply dispatch behind a single `ApplyTarget` abstraction so `core-ops apply --source-repo PATH` gains the streaming + interactive output that `core-ops apply` (init'd) has had since spec/006. Previously stateless apply printed a single wall-of-text summary at the end regardless of TTY state because `apply_with_report_stateless` was a separate batch-only entry point that never picked up the spec/006 streaming/interactive variants.
<!-- core-ops-release:end -->

## [2.2.3] - 2026-05-07
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "core-ops"
version = "2.2.3"
version = "2.2.4"
edition = "2021"
license = "AGPL-3.0-or-later"

Expand Down
7 changes: 7 additions & 0 deletions changes/refactor-apply-unify-streaming.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
change_id: refactor-apply-unify-streaming
release_intent: patch
summary: Unify init'd and stateless apply dispatch behind a single `ApplyTarget` abstraction so `core-ops apply --source-repo PATH` gains the streaming + interactive output that `core-ops apply` (init'd) has had since spec/006. Previously stateless apply printed a single wall-of-text summary at the end regardless of TTY state because `apply_with_report_stateless` was a separate batch-only entry point that never picked up the spec/006 streaming/interactive variants.
scope: cli
release_preparation: false
---
4 changes: 1 addition & 3 deletions src/cli/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,9 @@ pub fn run_agent(config: &AgentConfig) -> Result<AgentExitReason, CoreError> {
.map_err(|err| CoreError::new(FailureClass::Apply, err.to_string()))?;

let result = apply_cmd::apply_with_report(
&repo,
&rev,
&apply_cmd::ApplyTarget::initd(&repo, &rev, Some(state_path.clone())),
&config.quadlet_dir,
config.reload_systemd,
Some(state_path.clone()),
);

let release_result = lock
Expand Down
Loading
Loading