-
Notifications
You must be signed in to change notification settings - Fork 65
fix(CM): long validation error #2836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76b8c00
to
e59ffd4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 files reviewed, 4 comments
e59ffd4
to
6376a5c
Compare
6376a5c
to
5f15fc6
Compare
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changes
Summary
tidy3d/web/api/webapi.py
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you running in dev? In dev, it has the new field that contains the error detail per task as shown above |
yuanshen-flexcompute
approved these changes
Sep 26, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Greptile Overview
Updated On: 2025-09-24 14:40:31 UTC
Summary
This PR improves error handling for ComponentModeler validation failures by adding detailed error reporting and extracting hardcoded constants to module level.
terminal_errors
andrun_statuses
constants to module level to eliminate code duplicationvalidateErrors
field toBatchDetail
class to capture validation error detailsestimate_cost
function to provide detailed logging for validation failures, parsing JSON error responses and showing specific subtask failuresThe changes focus on better user experience when validation fails, providing more actionable error messages instead of generic failure notifications.
Confidence Score: 3/5
Important Files Changed
File Analysis
Sequence Diagram