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

Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction #918

Merged
merged 7 commits into from
Oct 22, 2024

Conversation

saimedhi
Copy link
Contributor

Description

This PR fixes the template update location in ReprovisionWorkflowTransportAction.java and enhances logger statements for better clarity and debugging.

Related Issues

closes #870

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@github-actions github-actions bot added the backport 2.x backport PRs to 2.x branch label Oct 17, 2024
@saimedhi saimedhi changed the title Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction.java Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction Oct 17, 2024
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

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

Project coverage is 78.07%. Comparing base (6a4bed8) to head (2ff4f2f).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../transport/ReprovisionWorkflowTransportAction.java 0.00% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #918      +/-   ##
============================================
- Coverage     78.09%   78.07%   -0.02%     
- Complexity      995      996       +1     
============================================
  Files            99       99              
  Lines          4624     4625       +1     
  Branches        431      431              
============================================
  Hits           3611     3611              
- Misses          833      834       +1     
  Partials        180      180              

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

…ovisionWorkflowTransportAction

Signed-off-by: saimedhi <[email protected]>
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see it's in draft, offering an initial review.

saimedhi and others added 2 commits October 20, 2024 20:13
Signed-off-by: Sai Medhini Reddy Maryada <[email protected]>
…ovisionWorkflowTransportAction

Signed-off-by: saimedhi <[email protected]>
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM so far!

@amitgalitz
Copy link
Member

Overall LGTM, just a quick question, in the case the reprovisioning itself fails, will have an issue that the template is updated and we need to roll that back?

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending changelog fix and resolving @joshpalis comment.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@dbwiddis dbwiddis merged commit 8b387c9 into opensearch-project:main Oct 22, 2024
19 of 20 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 22, 2024
…ovisionWorkflowTransportAction (#918)

* Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction

Signed-off-by: saimedhi <[email protected]>

* Update ReprovisionWorkflowTransportAction.java

Signed-off-by: Sai Medhini Reddy Maryada <[email protected]>

* Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction

Signed-off-by: saimedhi <[email protected]>

* Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction

Signed-off-by: saimedhi <[email protected]>

* Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction

Signed-off-by: saimedhi <[email protected]>

* fixed changelog

Signed-off-by: saimedhi <[email protected]>

---------

Signed-off-by: saimedhi <[email protected]>
Signed-off-by: Sai Medhini Reddy Maryada <[email protected]>
(cherry picked from commit 8b387c9)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dbwiddis pushed a commit that referenced this pull request Oct 22, 2024
…tements in ReprovisionWorkflowTransportAction (#925)

Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction (#918)

* Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction



* Update ReprovisionWorkflowTransportAction.java



* Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction



* Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction



* Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction



* fixed changelog



---------



(cherry picked from commit 8b387c9)

Signed-off-by: saimedhi <[email protected]>
Signed-off-by: Sai Medhini Reddy Maryada <[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
backport 2.x backport PRs to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Reprovision Workflow IT is flaky
4 participants