Skip to content

[Automated] Add regression tests for reported defect#3

Open
sdkv2-dri-agent[bot] wants to merge 2 commits into
mainfrom
defect-tests-1784718063
Open

[Automated] Add regression tests for reported defect#3
sdkv2-dri-agent[bot] wants to merge 2 commits into
mainfrom
defect-tests-1784718063

Conversation

@sdkv2-dri-agent

Copy link
Copy Markdown

Summary

This PR adds automated regression tests for a reported code defect.

Root Cause

Incident: TEST-12345 – MLClient.jobs.create_or_update fails with ValidationError when compute is None

  1. What the bug is: Submitting a CommandJob with compute=None results in an unexpected AttributeError: 'NoneType' object has no attribute 'lower' during serialization, instead of a clear, early validation error that compute is required for non-local runs.
  2. Why it happens: In the affected SDK versi...

    Files Changed

    New Files

    • sdk/ml/azure-ai-ml/tests/unittests/test_defect_icm_TEST-12345.py
    • sdk/ml/azure-ai-ml/tests/unittests/test_similar_defect_spark_TEST-12345.py

    Testing

    These tests are designed to catch the regression if the defect is reintroduced.


    This PR was automatically generated by the SDKV2-DRI-Agent.

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.

0 participants