Title: Handle conflict with ScheduledScan status updates with retry logic by Ilyesbdlala · Pull Request #2910 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: Handle conflict with ScheduledScan status updates with retry logic by Ilyesbdlala · Pull Request #2910 · secureCodeBox/secureCodeBox
X Title: Handle conflict with ScheduledScan status updates with retry logic by Ilyesbdlala · Pull Request #2910 · secureCodeBox/secureCodeBox
Description: Description Went through Status updates and added conflict error handling. #2901 does not require adding a retry, since it is already done in secureCodeBox/operator/controllers/execution/scans/scan_controller.go Lines 127 to 137 in 05124a7 if scan.Spec.TTLSecondsAfterFinished != nil && (scan.Status.State == executionv1.ScanStateDone || scan.Status.State == executionv1.ScanStateErrored) { return ctrl.Result{ Requeue: true, RequeueAfter: time.Duration(*scan.Spec.TTLSecondsAfterFinished) * time.Second, }, err } if err != nil { return ctrl.Result{}, err } return ctrl.Result{}, nil closes #825 Checklist Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests. Make sure that all your commits are signed-off and that you are added to the Contributors file. Make sure that all CI finish successfully. Optional (but appreciated): Make sure that all commits are Verified.
Open Graph Description: Description Went through Status updates and added conflict error handling. #2901 does not require adding a retry, since it is already done in secureCodeBox/operator/controllers/exec...
X Description: Description Went through Status updates and added conflict error handling. #2901 does not require adding a retry, since it is already done in secureCodeBox/operator/controllers/exec...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/pull/2910
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:321eb61e-8c73-c197-34f1-2eb98b0ffd23 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B140:3D126:133C8DE:18B318F:6990D6C7 |
| html-safe-nonce | e176dd704ca3ff401d7d60c9300193f103618913b59534d8f5f599ab787502e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTQwOjNEMTI2OjEzM0M4REU6MThCMzE4Rjo2OTkwRDZDNyIsInZpc2l0b3JfaWQiOiIyMzgxODEyNzUzMjkzNjk0NjYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5c9e4c75cdc6ecefa74ecedfcb20748805347dc6c1aa63088f4b6e306117ee2f |
| hovercard-subject-tag | pull_request:2341772183 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/secureCodeBox/secureCodeBox/pull/2910/files |
| twitter:image | https://avatars.githubusercontent.com/u/62256235?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/62256235?s=400&v=4 |
| og:image:alt | Description Went through Status updates and added conflict error handling. #2901 does not require adding a retry, since it is already done in secureCodeBox/operator/controllers/exec... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width