Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ux enhancements for error classification #1283

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

GnsP
Copy link
Collaborator

@GnsP GnsP commented Jan 24, 2025

Ux enhancements for error classification

Description

The following updates are included.

  1. Support error classification in preview
  2. The outline on errored stages now has a button to open the error classification panel
  3. Better messages on which stages of the pipeline failed.
  4. Code refactors

PR Type

  • Bug Fix
  • Feature
  • Build Fix
  • Testing
  • General Improvement
  • Cherry Pick

Links

Jira: CDAP-21100

Test Plan

e2e tests to be added, when support for error classification in hydrator plugins is added.
currently it's infeasible to add e2e tests for this feature that can run in the gh-runner envirinment.

Screenshots

image

image

@GnsP GnsP added the build triggers github action label Jan 24, 2025
@GnsP GnsP force-pushed the error-classification-ui branch from 426e602 to 9ddbe58 Compare January 24, 2025 06:54
RESET: `${ACTION_PREFIX}/RESET`,
};

function errorDetailsBannerUiReducer(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move to a separate file? It's going to be hard to follow the code if some reducers/stores are in their own files, but others are embedded with UI components.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

);
}

export default function PipelineRunErrorDetails() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is getting pretty big. Please move each component to its own file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@GnsP GnsP force-pushed the error-classification-ui branch from 9ddbe58 to e42c17f Compare January 25, 2025 03:34
@GnsP GnsP merged commit 1123ad4 into develop Jan 28, 2025
5 checks passed
@GnsP GnsP deleted the error-classification-ui branch January 28, 2025 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build triggers github action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants