Skip to content

refactor(frontend): remove unused validation output constant - #9156

Merged
aglinxinyuan merged 1 commit into
apache:mainfrom
aglinxinyuan:refactor/fe-validation-output-message
Oct 27, 2026
Merged

aglinxinyuan merged 1 commit into
apache:mainfrom
aglinxinyuan:refactor/fe-validation-output-message

Conversation

@aglinxinyuan

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Removes the static constant ValidationWorkflowService.VALIDATION_OPERATOR_OUTPUT_MESSAGE. +0/-1 lines. There is no behaviour change. The declaration is its only occurrence in the repo; the INPUT sibling stays because it is still read.

Commit / PR
Introduced by b77b1a1 (2020-06-04) change how validation works (direct commit, no PR)
Usage removed by #2031 (2023-09-18) Support running workflows without a View Result operator

It has been dead for about 3 years.

Any related issues, documentation, discussions?

Closes #9155.

How was this PR tested?

npx prettier --check on the file and npx tsc --noEmit -p src/tsconfig.app.json pass from frontend/.
To re-check: git grep -nw "VALIDATION_OPERATOR_OUTPUT_MESSAGE" -- frontend/src returns no hits.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Antigravity (Claude Opus 5.5)

VALIDATION_OPERATOR_OUTPUT_MESSAGE has had no reader since apache#2031.
Copilot AI balanced review requested due to automatic review settings October 26, 2026 22:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@github-actions github-actions Bot added refactor Refactor the code frontend Changes related to the frontend GUI labels Oct 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • No candidates found from git blame history.

@aglinxinyuan
aglinxinyuan requested a review from kunwp1 October 26, 2026 22:11
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.81%. Comparing base (8fbd4f2) to head (6e98593).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9156   +/-   ##
=========================================
  Coverage     91.81%   91.81%           
  Complexity     5069     5069           
=========================================
  Files          1271     1271           
  Lines         55208    55207    -1     
  Branches       6987     6987           
=========================================
  Hits          50688    50688           
  Misses         2800     2800           
+ Partials       1720     1719    -1     
Flag Coverage Δ *Carryforward flag
access-control-service 77.44% <ø> (ø) Carriedforward from 8fbd4f2
agent-service 99.16% <ø> (ø) Carriedforward from 8fbd4f2
amber 85.96% <ø> (ø) Carriedforward from 8fbd4f2
computing-unit-managing-service 61.84% <ø> (ø) Carriedforward from 8fbd4f2
config-service 87.50% <ø> (ø) Carriedforward from 8fbd4f2
file-service 81.92% <ø> (ø) Carriedforward from 8fbd4f2
frontend 96.50% <ø> (+<0.01%) ⬆️
notebook-migration-service 83.77% <ø> (ø) Carriedforward from 8fbd4f2
pyamber 98.54% <ø> (ø) Carriedforward from 8fbd4f2
workflow-compiling-service 72.61% <ø> (ø) Carriedforward from 8fbd4f2

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain; the change is limited to removing an unused constant while preserving the existing validation behavior.

No open issues 🎉

Review effort: Lite

@aglinxinyuan
aglinxinyuan added this pull request to the merge queue Oct 27, 2026
Merged via the queue into apache:main with commit 0465f92 Oct 27, 2026
27 checks passed
@aglinxinyuan
aglinxinyuan deleted the refactor/fe-validation-output-message branch October 27, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Changes related to the frontend GUI refactor Refactor the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the unused VALIDATION_OPERATOR_OUTPUT_MESSAGE constant

4 participants