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] Update workflow state without using painless script #897

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport d0879d7 from #894.

* Update resources without using painless script

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

* Remove error field without using painless script

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

* Remove unused script update method

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

* Reorder methods for logical relationships

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

* Add change log, more test coverage

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

* Do 5 retries for resource list updates

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

* Make retries a constant

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

---------

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

codecov bot commented Oct 3, 2024

Codecov Report

Attention: Patch coverage is 87.67123% with 9 lines in your changes missing coverage. Please review.

Project coverage is 78.04%. Comparing base (baa752b) to head (ccd7fdf).
Report is 1 commits behind head on 2.x.

Files with missing lines Patch % Lines
.../transport/ReprovisionWorkflowTransportAction.java 0.00% 7 Missing ⚠️
...framework/indices/FlowFrameworkIndicesHandler.java 96.96% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #897      +/-   ##
============================================
+ Coverage     77.55%   78.04%   +0.48%     
- Complexity      966      977      +11     
============================================
  Files            97       97              
  Lines          4531     4554      +23     
  Branches        422      423       +1     
============================================
+ Hits           3514     3554      +40     
+ Misses          835      823      -12     
+ Partials        182      177       -5     

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

@dbwiddis dbwiddis merged commit debf8f3 into 2.x Oct 3, 2024
31 checks passed
@dbwiddis dbwiddis deleted the backport/backport-894-to-2.x branch October 3, 2024 13:27
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