xuang7 opened a new issue, #7525:
URL: https://github.com/apache/texera/issues/7525

   ### Feature Summary
   
   Step 7 of the operator-demo video generator: add the layer that holds each 
operator's sample values and validates them in CI.
   
   When an operator is introduced or changed, its author maintains the sample 
values used to generate that operator's video, and generates the video once to 
confirm it looks right. So the values need a defined place to live, plus a 
check that catches a stale entry at build time rather than at record time.
   
   ### Proposed Solution or Design
   
   Add the configuration and validation needed for operator demo videos.
   
   - `TestDataConfig`
     Stores the shared test setup used when generating videos, such as the 
Texera URL, demo account, sample datasets and files, workflow templates, and 
where generated videos should be saved.
   
   - `OperatorFieldValues`
     Loads the sample values used to fill each operator's form. It also keeps 
demo-specific settings, such as which dataset or file an operator should use, 
separate from the operator's actual form fields.
   
   - `OperatorFieldValuesValidator`
     Checks that the sample values are still valid for the current operator 
definition. For example, it catches:
   
     * fields that were renamed or removed,
     * values in the wrong format,
     * required fields that are missing,
     * dataset columns that do not exist,
     * columns with incompatible data types.
   
   CI: Run this validation in CI. If an operator change makes its demo 
configuration invalid, the PR should fail with a clear message showing which 
operator and field need to be updated.
   
   ### Affected Area
   
   _No response_


-- 
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]

Reply via email to