aglinxinyuan opened a new pull request, #9239:
URL: https://github.com/apache/texera/pull/9239
### What changes were proposed in this PR?
Removes obsolete validation state management and unused helper methods in
\gent-service\:
- **\WorkflowState\**:
- Drops internal validation state tracking (\alidationErrors\,
\workflowEmpty\, \alidationChangedSubject\) and associated methods
(\getValidationChangedStream\, \getValidationOutput\, \setValidationError\,
\clearValidationError\, \setAllValidationErrors\, \updateWorkflowEmptyState\,
\emitValidationChanged\). Property validation is handled directly by
\WorkflowSystemMetadata.validateOperatorProperties\ during tool execution.
- Drops unused \updateOperatorInputPorts\, \getLink\, and
\getFrontierOperators\.
- **\TexeraAgent\**:
- Drops unused helper \getStepsById()\.
- **\WorkflowSystemMetadata\**:
- Drops unused helper methods \getAllSchemasAsJson()\ and
\operatorTypeExists()\, along with private interface \OperatorSchemaInfo\.
- **\ ypes/workflow.ts\**:
- Drops unused \OperatorDetail\ interface.
- **\WorkflowResultState\**:
- Drops unused helper method \getOperatorInfo()\.
### Any related issues, documentation, discussions?
Closes #9238
### How was this PR tested?
Tested with Bun test runner in \gent-service\:
\\\ash
cd agent-service
bun test
\\\
Output:
\\\
313 pass
0 fail
765 expect() calls
Ran 313 tests across 19 files. [2.10s]
\\\
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Antigravity 2.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]