Skip to content

[EAGLE-7291] Update test_mixed_success_predict to handle V3 fail-fast#249

Merged
tiit-clarifai merged 6 commits intomasterfrom
tiit/expect-predict-v3-fail-fast
Apr 6, 2026
Merged

[EAGLE-7291] Update test_mixed_success_predict to handle V3 fail-fast#249
tiit-clarifai merged 6 commits intomasterfrom
tiit/expect-predict-v3-fail-fast

Conversation

@tiit-clarifai
Copy link
Copy Markdown
Contributor

If a V3 predict fails early during API-level validation, then the entire
request is rejected instead of doing partial processing like with V2 predicts.

Update the mixed status test to handle both V2 and V3 cases.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the test_mixed_success_predict integration test to accommodate the different failure semantics between “V2” (partial processing with mixed status) and “V3” (fail-fast request rejection on early validation failures).

Changes:

  • Replaces the second input from a non-existing image URL to an empty Input() to trigger early validation failure deterministically.
  • Relaxes the top-level response status assertion to accept either MIXED_STATUS or FAILURE.
  • Adjusts per-output expected status codes to reflect the new invalid-input scenario.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/client/test_image_predict.py Outdated
Comment thread tests/client/test_image_predict.py
tiit-clarifai and others added 2 commits April 6, 2026 18:01
skypilot-catalog has no vms.csv for these providers, causing all their
instance types to be flagged as missing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tiit-clarifai tiit-clarifai changed the title Update test_mixed_success_predict to handle V3 fail-fast [EAGLE-7291] Update test_mixed_success_predict to handle V3 fail-fast Apr 6, 2026
@tiit-clarifai tiit-clarifai enabled auto-merge (squash) April 6, 2026 15:39
@tiit-clarifai tiit-clarifai merged commit 1206719 into master Apr 6, 2026
11 of 15 checks passed
@tiit-clarifai tiit-clarifai deleted the tiit/expect-predict-v3-fail-fast branch April 6, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants