Skip to content

Conversation

@Mbeaulne
Copy link
Collaborator

@Mbeaulne Mbeaulne commented Dec 12, 2025

Description

Refactored task status handling to use the new ContainerExecutionStatus type consistently throughout the UI. Added utility functions to derive execution status from stats and to generate user-friendly status labels.

Key changes:

  • Created new executionStatus.ts utility with functions for status handling
  • Replaced hardcoded status text with centralized label generation
  • Updated TaskNode to derive status from execution stats rather than using the deprecated getRunStatus
  • Added proper status icon for skipped tasks
  • Added tests for the new status utility functions

Type of Change

  • Improvement
  • Cleanup/Refactor

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Test Instructions

  1. Run a pipeline with tasks in various states (succeeded, failed, running, etc.)
  2. Verify that task status indicators display correctly in the UI
  3. Check that status labels are consistent across the application

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants