huskies: merge 964
This commit is contained in:
@@ -203,7 +203,7 @@ mod tests {
|
||||
fn status_to_stored_stage_transition() {
|
||||
let ev = StatusEvent::StageTransition {
|
||||
story_id: "42".into(),
|
||||
story_name: None,
|
||||
story_name: String::new(),
|
||||
from_stage: "1_backlog".into(),
|
||||
to_stage: "2_current".into(),
|
||||
};
|
||||
@@ -217,7 +217,7 @@ mod tests {
|
||||
fn status_to_stored_merge_failure() {
|
||||
let ev = StatusEvent::MergeFailure {
|
||||
story_id: "7".into(),
|
||||
story_name: None,
|
||||
story_name: String::new(),
|
||||
reason: "conflict".into(),
|
||||
};
|
||||
let stored = status_to_stored(ev).unwrap();
|
||||
@@ -228,7 +228,7 @@ mod tests {
|
||||
fn status_to_stored_story_blocked() {
|
||||
let ev = StatusEvent::StoryBlocked {
|
||||
story_id: "3".into(),
|
||||
story_name: None,
|
||||
story_name: String::new(),
|
||||
reason: "retry limit".into(),
|
||||
};
|
||||
let stored = status_to_stored(ev).unwrap();
|
||||
@@ -239,7 +239,7 @@ mod tests {
|
||||
fn status_to_stored_rate_limit_warning_is_none() {
|
||||
let ev = StatusEvent::RateLimitWarning {
|
||||
story_id: "1".into(),
|
||||
story_name: None,
|
||||
story_name: String::new(),
|
||||
agent_name: "coder".into(),
|
||||
};
|
||||
assert!(status_to_stored(ev).is_none());
|
||||
@@ -249,7 +249,7 @@ mod tests {
|
||||
fn status_to_stored_rate_limit_hard_block_is_none() {
|
||||
let ev = StatusEvent::RateLimitHardBlock {
|
||||
story_id: "2".into(),
|
||||
story_name: None,
|
||||
story_name: String::new(),
|
||||
agent_name: "coder".into(),
|
||||
reset_at: chrono::Utc::now(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user