-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add retry logic for registermanifests, introduce skip-build override …
…for LRT (#8495) # Description The pull request addresses findings in the failures related to Long Running Test: We see manifests not being registered successfully due to errors "409 Conflict : The target resource is in Accepted state" This was determined due to the fact that every PUT request for a resourceprovider/resource type/location/api within a file will internally make an entry towards a resourceprovidersummary entry which is kept updated with the latest updates for the resourceprovider and is optimized for GET calls which receive summarized data for the resource provider. The system actually corrects itself eventually and the pods are up with the manifests registered and ucp is running but the workflow logic will fail as is designed, the in-built types are not saved in the skip-delete-resources-list.txt and will be deleted in the next subsequent runs and they fail. This error is intermittent (latest fresh build run this evening did not have this error, https://github.com/radius-project/radius/actions/runs/13316073926/job/37190564570) but when it does error, it can lead to 12 subsequent failures. The PR includes addition of retry logic with exponential backoff for handling 409 conflict errors. Introduction of a 'skip-build' override mechism for workflow_dispatch to be able to run Long Running Tests against latest build on demand. ## Type of change - This pull request fixes a bug in Radius and has an approved issue (issue link required). Fixes: #8449 ## Contributor checklist Please verify that the PR meets the following requirements, where applicable: - An overview of proposed schema changes is included in a linked GitHub issue. - [ ] Yes - [ ] Not applicable - A design document PR is created in the [design-notes repository](https://github.com/radius-project/design-notes/), if new APIs are being introduced. - [ ] Yes - [ ] Not applicable - The design document has been reviewed and approved by Radius maintainers/approvers. - [ ] Yes - [ ] Not applicable - A PR for the [samples repository](https://github.com/radius-project/samples) is created, if existing samples are affected by the changes in this PR. - [ ] Yes - [ ] Not applicable - A PR for the [documentation repository](https://github.com/radius-project/docs) is created, if the changes in this PR affect the documentation or any user facing updates are made. - [ ] Yes - [ ] Not applicable - A PR for the [recipes repository](https://github.com/radius-project/recipes) is created, if existing recipes are affected by the changes in this PR. - [ ] Yes - [ ] Not applicable Signed-off-by: lakshmimsft <[email protected]>
- Loading branch information
1 parent
7709a79
commit 83d8a72
Showing
3 changed files
with
357 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.