updated_catalog_config_map should wait for the catalog api to become available#987
updated_catalog_config_map should wait for the catalog api to become available#987dbasunag merged 3 commits intoopendatahub-io:mainfrom
Conversation
|
The following are automatically added/executed:
Available user actions:
Supported labels{'/build-push-pr-image', '/hold', '/cherry-pick', '/verified', '/lgtm', '/wip'} |
📝 WalkthroughWalkthroughAn extra call to Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI Agents
In @tests/model_registry/model_catalog/conftest.py:
- Line 125: The post-cleanup API wait is missing in two fixtures; update
update_configmap_data_add_model and updated_catalog_config_map_scope_function to
call wait_for_model_catalog_api(url=model_catalog_rest_url[0],
headers=model_registry_rest_headers) immediately after the ResourceEditor
context exits (just like updated_catalog_config_map does), keeping the existing
is_model_catalog_ready checks intact; this ensures the same synchronization
pattern used inside the context is also applied after configmap patches are
reverted.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
tests/model_registry/model_catalog/conftest.py
🧰 Additional context used
🧬 Code graph analysis (1)
tests/model_registry/model_catalog/conftest.py (2)
tests/model_registry/utils.py (1)
wait_for_model_catalog_api(718-727)tests/model_registry/conftest.py (2)
model_catalog_rest_url(641-650)model_registry_rest_headers(325-326)
|
/cherry-pick 3.2 |
|
Cherry pick action created PR #988 successfully 🎉! |
|
Status of building tag latest: success. |
…
Description
How Has This Been Tested?
Merge criteria:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.