Skip to content
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

vdk-core: fix bug in error classification #2840

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

DeltaMichael
Copy link
Contributor

Why

Errors coming from libraries imported in user code are getting classified as platform errors in the execution result This is caused by the job_input_error_classifier checking for an incorrect attribute of the error object.

What

Export the _vdk_resolvable_by and _vdk_resolvable_actual attributes to constants and replace wherever they're used in code

How has this been tested

Functional test

What kind of change is this

Bugfix

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fix-error-classification branch 2 times, most recently from 3d1b70b to d08e906 Compare October 26, 2023 14:10
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fix-error-classification branch 4 times, most recently from 1b7cffc to 9438c73 Compare October 27, 2023 10:51
@DeltaMichael DeltaMichael enabled auto-merge (squash) October 27, 2023 10:52
Why

Errors coming from libraries imported in user code are
getting classified as platform errors in the execution result
This is caused by the job_input_error_classifier checking for
an incorrect attribute of the error object.

What

Export the _vdk_resolvable_by and _vdk_resolvable_actual
attributes to constants and replace wherever they're used
in code

How has this been tested

Functional test

What kind of change is this

Bugfix

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fix-error-classification branch from 9438c73 to 5e78612 Compare October 27, 2023 11:03
@DeltaMichael DeltaMichael merged commit 6743881 into main Oct 27, 2023
8 checks passed
@DeltaMichael DeltaMichael deleted the person/mdilyan/fix-error-classification branch October 27, 2023 11:37
DeltaMichael pushed a commit that referenced this pull request Oct 27, 2023
Uncomment tests after #2840

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
DeltaMichael pushed a commit that referenced this pull request Oct 27, 2023
Uncomment tests after #2840

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
DeltaMichael added a commit that referenced this pull request Oct 27, 2023
…2845)

Uncomment tests after
#2840

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
Co-authored-by: Dilyan Marinov <mdilyan@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vdk-core: KeyError in user code coming from pandas classified as PlatformError
5 participants