carloea2 opened a new pull request, #8208:
URL: https://github.com/apache/texera/pull/8208

   ### What changes were proposed in this PR?
   
   Replace the removable assert on executor definition count with an explicit 
ValueError.
   
   The regression covers both missing and multiple operator definitions under 
normal and optimized Python.
   
   ### Any related issues, documentation, discussions?
   
   Closes #8207
   
   ### How was this PR tested?
   
   ```text
   python -c "import sys,pytest; 
sys.path[:0]=[r'<worktree>ambersrcmainpython',r'<main-checkout>ambersrcmainpython'];
 raise 
SystemExit(pytest.main([r'amber/src/test/python/core/architecture/managers/test_executor_manager.py','-q','-p','no:cacheprovider']))"
   25 passed
   
   python -O -c "import sys,pytest; 
sys.path[:0]=[r'<worktree>ambersrcmainpython',r'<main-checkout>ambersrcmainpython'];
 raise 
SystemExit(pytest.main([r'amber/src/test/python/core/architecture/managers/test_executor_manager.py','-q','-p','no:cacheprovider','-k','no_operator_class_is_rejected
 or multiple_operator_classes_is_rejected']))"
   2 passed
   
   ruff check amber/src/main/python amber/src/test/python
   All checks passed
   
   ruff format --check amber/src/main/python amber/src/test/python
   213 files already formatted
   ```
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Codex


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