fix: show Resume button for features stuck in pipeline steps

Enable the Resume button to appear for features with pipeline status
(e.g., 'pipeline_step_xyz') in addition to 'in_progress' status.

Previously, features that crashed during pipeline execution would show
a 'testing' status badge but no Resume button, making it impossible to
resume them from the UI.

Changes:
- Update card-actions.tsx condition to include pipeline_ status check
- Resume button now shows for both in_progress and pipeline_step_* statuses
- Maintains all existing behavior for other feature states

This fixes the UX issue where users could see a feature was stuck in a
pipeline step but had no way to resume it.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Stephan Rieche
2026-01-02 13:22:11 +01:00
parent 2d309f6833
commit 2a87d55519

View File

@@ -109,7 +109,9 @@ export function CardActions({
)} )}
</> </>
)} )}
{!isCurrentAutoTask && feature.status === 'in_progress' && ( {!isCurrentAutoTask &&
(feature.status === 'in_progress' ||
(typeof feature.status === 'string' && feature.status.startsWith('pipeline_'))) && (
<> <>
{/* Approve Plan button - shows when plan is generated and waiting for approval */} {/* Approve Plan button - shows when plan is generated and waiting for approval */}
{feature.planSpec?.status === 'generated' && onApprovePlan && ( {feature.planSpec?.status === 'generated' && onApprovePlan && (