Private
Public Access
1
0

feat(jobs): add host_names to job list API and UI (#24)
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 5s
CI Pipeline / Clippy Lints (push) Successful in 51s
CI Pipeline / Rust Unit Tests (push) Successful in 1m7s
CI Pipeline / Security Audit (push) Successful in 5s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 15s
CI Pipeline / Build .deb & Release (push) Has been skipped

* feat(jobs): add host_names to job list API and UI

Closes #23

* fix(jobs): add mut for host_names merge loop
This commit is contained in:
Draco-Lunaris-Echo
2026-06-04 12:49:53 -05:00
committed by GitHub
parent b9fb3427e0
commit fda70ecf9e
5 changed files with 61 additions and 4 deletions

View File

@ -505,6 +505,10 @@ pub struct PatchJobSummary {
pub status: JobStatus,
pub immediate: bool,
pub host_count: i64,
/// Display names of hosts targeted by this job (falls back to fqdn).
#[serde(default)]
#[sqlx(skip)]
pub host_names: Vec<String>,
pub succeeded_count: i64,
pub failed_count: i64,
pub notes: String,