PREQ-2947 retry on version not found and gracefully exit after retries#116
PREQ-2947 retry on version not found and gracefully exit after retries#116
Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements retry logic for version retrieval and improves error handling when versions are not found. The changes ensure the workflow gracefully handles cases where version information is temporarily unavailable or missing entirely.
Key Changes:
- Added retry mechanism with configurable attempts and delays when fetching version information
- Enhanced version validation with better error messages and input sanitization
- Modified workflow to continue gracefully when version is not found instead of failing
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/utils/version_helper.py | Enhanced version validation with type checking, whitespace stripping, and improved error messages |
| releasability-status/find_version.sh | Added retry loop for version fetching and changed exit code from 0 to 2 when version not found |
| releasability-status/action.yml | Added conditional checks to skip releasability steps when version is not found |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
b5a0f4b to
1b59f77
Compare
SonarQube reviewer guideSummary: Add graceful handling for missing promoted versions in releasability status checks. Review Focus: The retry logic in Start review at:
|



No description provided.