crates/common: add branch and scheduling_shares to jobset models

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie19897f5ffdfb44654891511ce669d806a6a6964
This commit is contained in:
raf 2026-02-02 01:23:10 +03:00
commit 4c5a99d554
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 175 additions and 19 deletions

View file

@ -469,6 +469,8 @@ mod tests {
enabled: None,
flake_mode: None,
check_interval: Some(300),
branch: None,
scheduling_shares: None,
};
assert!(j.validate().is_ok());
}
@ -482,6 +484,8 @@ mod tests {
enabled: None,
flake_mode: None,
check_interval: Some(5),
branch: None,
scheduling_shares: None,
};
assert!(j.validate().is_err());
}