huskies: merge 1009
This commit is contained in:
@@ -171,7 +171,7 @@ pub fn load_pipeline_state(ctx: &AppContext) -> Result<PipelineState, String> {
|
||||
match &item.stage {
|
||||
Stage::Upcoming => state.backlog.push(story), // upcoming shown with backlog
|
||||
Stage::Backlog => state.backlog.push(story),
|
||||
Stage::Coding => state.current.push(story),
|
||||
Stage::Coding { .. } => state.current.push(story),
|
||||
Stage::Blocked { .. } => state.current.push(story), // blocked shown with current
|
||||
Stage::Qa => state.qa.push(story),
|
||||
Stage::Merge { .. } => state.merge.push(story),
|
||||
@@ -182,7 +182,7 @@ pub fn load_pipeline_state(ctx: &AppContext) -> Result<PipelineState, String> {
|
||||
// Route to the section matching the stage that was active when
|
||||
// the item was frozen, so it appears in-place.
|
||||
match unwrap_frozen(resume_to) {
|
||||
Stage::Coding | Stage::Blocked { .. } => state.current.push(story),
|
||||
Stage::Coding { .. } | Stage::Blocked { .. } => state.current.push(story),
|
||||
Stage::Qa | Stage::ReviewHold { .. } => state.qa.push(story),
|
||||
Stage::Merge { .. }
|
||||
| Stage::MergeFailure { .. }
|
||||
@@ -324,7 +324,7 @@ pub fn validate_story_dirs(_root: &Path) -> Result<Vec<StoryValidationResult>, S
|
||||
let mut results = Vec::new();
|
||||
|
||||
for item in crate::pipeline_state::read_all_typed() {
|
||||
if !matches!(item.stage, Stage::Backlog | Stage::Coding) {
|
||||
if !matches!(item.stage, Stage::Backlog | Stage::Coding { .. }) {
|
||||
continue;
|
||||
}
|
||||
results.push(StoryValidationResult {
|
||||
|
||||
Reference in New Issue
Block a user