Skip to content

fix: display any validation issues including warnings in v2#2143

Open
maxy-shpfy wants to merge 1 commit into04-22-fix_track_subgraph_historyfrom
04-22-fix_display_any_validation_issues_including_warnings_in_v2
Open

fix: display any validation issues including warnings in v2#2143
maxy-shpfy wants to merge 1 commit into04-22-fix_track_subgraph_historyfrom
04-22-fix_display_any_validation_issues_including_warnings_in_v2

Conversation

@maxy-shpfy
Copy link
Copy Markdown
Collaborator

@maxy-shpfy maxy-shpfy commented Apr 23, 2026

Description

Adds a hasValidationIssues computed property to ComponentSpec that returns true when any validation issues exist, regardless of severity. This replaces the use of isValid in the PipelineDetailsContent validations section, which was incorrectly showing the "No validation issues" success box when only warnings (non-error severity issues) were present.

Related Issue and Pull requests

Type of Change

  • Bug fix
  • Improvement
  • New feature
  • Cleanup/Refactor
  • Breaking change
  • Documentation update

Checklist

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

Screenshots (if applicable)

Test Instructions

  1. Open a pipeline in the editor that has validation warnings (non-error severity issues).
  2. Navigate to the Pipeline Details panel and check the Validations section.
  3. Confirm that the "No validation issues" success box is no longer shown when warnings are present.
  4. Confirm that the success box still appears when there are truly no validation issues.

Additional Comments

isValid only checks for error severity issues, meaning pipelines with warnings would incorrectly display the "No validation issues" message. The new hasValidationIssues property checks all issues regardless of severity to ensure accurate feedback is shown to the user.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

🎩 Preview

A preview build has been created at: 04-22-fix_display_any_validation_issues_including_warnings_in_v2/7420694

@maxy-shpfy maxy-shpfy marked this pull request as ready for review April 23, 2026 05:13
@maxy-shpfy maxy-shpfy requested a review from a team as a code owner April 23, 2026 05:13
@maxy-shpfy maxy-shpfy force-pushed the 04-22-fix_display_any_validation_issues_including_warnings_in_v2 branch from 1b5f8ce to 2b1ce5e Compare April 23, 2026 05:19
@maxy-shpfy maxy-shpfy force-pushed the 04-22-fix_track_subgraph_history branch from f53b532 to 1c65536 Compare April 23, 2026 05:19
@maxy-shpfy maxy-shpfy force-pushed the 04-22-fix_display_any_validation_issues_including_warnings_in_v2 branch from 2b1ce5e to 7420694 Compare April 23, 2026 05:36
Copy link
Copy Markdown
Collaborator

@camielvs camielvs left a comment

Choose a reason for hiding this comment

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

Just to confirm: are inputs with no value no longer considered as "warnings"?

image.png

Copy link
Copy Markdown
Collaborator

@camielvs camielvs left a comment

Choose a reason for hiding this comment

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

this PR is good. but just curious about the above question ^

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