huskies: merge 1010
This commit is contained in:
@@ -100,7 +100,9 @@ mod tests {
|
||||
use super::*;
|
||||
use crate::agents::TokenUsage;
|
||||
use crate::agents::token_usage::TokenUsageRecord;
|
||||
use crate::pipeline_state::{BranchName, PipelineEvent, Stage, StoryId, TransitionFired};
|
||||
use crate::pipeline_state::{
|
||||
BranchName, PipelineEvent, PlanState, Stage, StoryId, TransitionFired,
|
||||
};
|
||||
use chrono::Utc;
|
||||
use std::num::NonZeroU32;
|
||||
|
||||
@@ -148,7 +150,10 @@ mod tests {
|
||||
fn fired_abandoned(story_id: &str) -> TransitionFired {
|
||||
TransitionFired {
|
||||
story_id: StoryId(story_id.to_string()),
|
||||
before: Stage::Coding { claim: None },
|
||||
before: Stage::Coding {
|
||||
claim: None,
|
||||
plan: PlanState::Missing,
|
||||
},
|
||||
after: Stage::Abandoned { ts: Utc::now() },
|
||||
event: PipelineEvent::Abandon,
|
||||
at: Utc::now(),
|
||||
@@ -159,7 +164,10 @@ mod tests {
|
||||
TransitionFired {
|
||||
story_id: StoryId(story_id.to_string()),
|
||||
before: Stage::Backlog,
|
||||
after: Stage::Coding { claim: None },
|
||||
after: Stage::Coding {
|
||||
claim: None,
|
||||
plan: PlanState::Missing,
|
||||
},
|
||||
event: PipelineEvent::DepsMet,
|
||||
at: Utc::now(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user