Revert "Update batch web status names" #2759
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #2756
Greptile Summary
This pull request reverts PR #2756, which had attempted to standardize batch web status names from mixed PascalCase/CamelCase format to snake_case format across the RF/component modeler API. The reversion affects three core files in the web API system:
Key Changes Made:
task_core.py
andwebapi.py
to use the original PascalCase/mixed formatThe changes span critical batch processing functionality including validation workflows (
wait_for_validate()
), execution monitoring (wait_for_run()
), error detection, and postprocessing triggers. The reversion restores the original mixed naming convention where some statuses use PascalCase ('Created', 'Running') while others use underscore-separated format ('Validate_Success', 'Run_Failed').This revert indicates that the backend RF/component modeler API was not updated to match the snake_case standardization, creating a mismatch between client expectations and server responses. The batch processing system requires exact string matching for status transitions, making this alignment critical for proper workflow execution.
Important Files Changed
Files Changed
tidy3d/web/core/task_info.py
tidy3d/web/core/task_core.py
tidy3d/web/api/webapi.py
Confidence score: 3/5
tidy3d/web/core/task_info.py
where enum changes could cause runtime errors if backend format differs