Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Change max retries to retry duration, refactor settings for consistency #390

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport a6fb532 from #381.

…cy (#381)

* Change max retries to retry duration

Signed-off-by: Daniel Widdis <[email protected]>

* Move max workflows setting update consumer to settings class

Signed-off-by: Daniel Widdis <[email protected]>

* Move workflow timeout setting update consumer to settings class

Signed-off-by: Daniel Widdis <[email protected]>

* Use timeout in other search requests

Signed-off-by: Daniel Widdis <[email protected]>

* Improve test coverage

Signed-off-by: Daniel Widdis <[email protected]>

---------

Signed-off-by: Daniel Widdis <[email protected]>
(cherry picked from commit a6fb532)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

Attention: 26 lines in your changes are missing coverage. Please review.

Comparison is base (9616443) 72.36% compared to head (a66f427) 72.63%.

Files Patch % Lines
...ework/transport/CreateWorkflowTransportAction.java 64.51% 19 Missing and 3 partials ⚠️
...mework/workflow/AbstractRetryableWorkflowStep.java 33.33% 1 Missing and 1 partial ⚠️
...owframework/rest/AbstractSearchWorkflowAction.java 66.66% 1 Missing ⚠️
...h/flowframework/rest/RestCreateWorkflowAction.java 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #390      +/-   ##
============================================
+ Coverage     72.36%   72.63%   +0.27%     
- Complexity      600      601       +1     
============================================
  Files            76       75       -1     
  Lines          3018     3008      -10     
  Branches        235      234       -1     
============================================
+ Hits           2184     2185       +1     
+ Misses          731      720      -11     
  Partials        103      103              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dbwiddis dbwiddis merged commit 2de7952 into 2.x Jan 9, 2024
15 checks passed
@dbwiddis dbwiddis deleted the backport/backport-381-to-2.x branch January 9, 2024 18:17
joshpalis pushed a commit to joshpalis/opensearch-ai-flow-framework that referenced this pull request Jan 12, 2024
…s for consistency (opensearch-project#390)

Change max retries to retry duration, refactor settings for consistency (opensearch-project#381)

* Change max retries to retry duration



* Move max workflows setting update consumer to settings class



* Move workflow timeout setting update consumer to settings class



* Use timeout in other search requests



* Improve test coverage



---------


(cherry picked from commit a6fb532)

Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

1 participant